repo.or.cz
/
foam-extend-3.2.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'master' of ssh://git.code.sf.net/p/foam-extend/foam-extend-3.2
[foam-extend-3.2.git]
/
applications
/
solvers
/
multiphase
/
cavitatingFoam
/
gammaPsi.H
blob
b259ddd3222ff00fe49a83854a1bcae1e84ba240
1
{
2
gamma = max(min((rho - rholSat)/(rhovSat - rholSat), scalar(1)), scalar(0));
3
4
Info<< "max-min gamma: " << max(gamma).value()
5
<< " " << min(gamma).value() << endl;
6
7
psiModel->correct();
8
9
//Info<< "min a: " << 1.0/sqrt(max(psi)).value() << endl;
10
}