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}
Y[inertIndex] max(0.0)
rhoPhi
Definition: rhoEqn.H:10
surfaceScalarField & phi
const dimensionedScalar rhoMin
fvMatrix< scalar > fvScalarMatrix
Definition: fvMatricesFwd.H:45