mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
7 lines
198 B
C
7 lines
198 B
C
surfaceScalarField alpha1f = fvc::interpolate(alpha1);
|
|
surfaceScalarField UBlendingFactor
|
|
(
|
|
"UBlendingFactor",
|
|
sqrt(max(min(4*alpha1f*(1.0 - alpha1f), 1.0), 0.0))
|
|
);
|