repo.or.cz
/
OpenFOAM-2.0.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
ENH: Time: access to libs
[OpenFOAM-2.0.x.git]
/
applications
/
solvers
/
multiphase
/
cavitatingFoam
/
rhoEqn.H
blob
d0bd6e1dad3e5c5edfd50b4eca846aa467ad85fd
1
{
2
fvScalarMatrix rhoEqn
3
(
4
fvm::ddt(rho)
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
}