Reduce storage
This commit is contained in:
parent
54f97e4ed3
commit
571e2a1624
2 changed files with 6 additions and 4 deletions
|
@ -1,11 +1,11 @@
|
|||
// Momentum equation
|
||||
fvVectorMatrix UEqn
|
||||
tmp<fvVectorMatrix> UEqn
|
||||
(
|
||||
fvm::ddt(U)
|
||||
+ fvm::div(phi, U)
|
||||
+ turbulence->divDevReff(U)
|
||||
);
|
||||
|
||||
UEqn.relax();
|
||||
UEqn().relax();
|
||||
|
||||
UpEqn.insertEquation(0, UEqn);
|
||||
UpEqn.insertEquation(0, UEqn());
|
||||
|
|
|
@ -2,9 +2,11 @@
|
|||
surfaceScalarField rUAf
|
||||
(
|
||||
"rUAf",
|
||||
fvc::interpolate(1.0/UEqn.A())
|
||||
fvc::interpolate(1.0/UEqn().A())
|
||||
);
|
||||
|
||||
UEqn.clear();
|
||||
|
||||
surfaceScalarField presSource
|
||||
(
|
||||
"presSource",
|
||||
|
|
Reference in a new issue