FreeFOAM The Cross-Platform CFD Toolkit
rhoEqn.H
Go to the documentation of this file.
1 {
2  fvScalarMatrix rhoEqn
3  (
5  + fvm::div(phiv, rho)
6  );
7 
8  rhoEqn.solve();
9 
10  phi = rhoEqn.flux();
11 
12  Info<< "max-min rho: " << max(rho).value()
13  << " " << min(rho).value() << endl;
14 
15  rho == max(rho, rhoMin);
16 }