OpenFOAM
v2512
The open source CFD toolbox
Loading...
Searching...
No Matches
rhoEqn.H
Go to the documentation of this file.
1
{
2
fvScalarMatrix
rhoEqn
3
(
4
fvm::ddt(
rho
)
5
+ fvm::div(
phi
,
rho
)
6
);
7
8
rhoEqn.solve();
9
10
rhoPhi
= rhoEqn.flux();
11
12
Info<<
"max-min rho: "
<< max(
rho
).value()
13
<<
" "
<< min(
rho
).value() << endl;
14
15
rho
== max(
rho
,
rhoMin
);
16
}
rhoPhi
rhoPhi
Definition
rhoEqn.H:10
phi
phi
Definition
correctPhiFaceMask.H:34
rhoMin
const dimensionedScalar rhoMin
Definition
setRegionFluidFields.H:65
Foam::fvScalarMatrix
fvMatrix< scalar > fvScalarMatrix
Definition
fvMatricesFwd.H:39
rho
rho
Definition
readInitialConditions.H:88
applications
solvers
multiphase
cavitatingFoam
rhoEqn.H
Generated by
1.16.1