repo.or.cz
/
OpenFOAM-1.6.x.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
initial commit for version 1.6.x patch release
[OpenFOAM-1.6.x.git]
/
applications
/
solvers
/
multiphase
/
interFoam
/
UBlendingFactor.H
blob
ade1b8e7f3518e713918601628f7b9b7d7dd98bb
1
surfaceScalarField alpha1f = fvc::interpolate(alpha1);
2
surfaceScalarField UBlendingFactor
3
(
4
"UBlendingFactor",
5
sqrt(max(min(4*alpha1f*(1.0 - alpha1f), 1.0), 0.0))
6
);