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
Definition rhoEqn.H:10
const dimensionedScalar rhoMin
fvMatrix< scalar > fvScalarMatrix