mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
twoPhaseEulerFoam: minor update of alphaEqn.H
This commit is contained in:
@ -2,8 +2,8 @@
|
|||||||
word scheme("div(phi,alpha)");
|
word scheme("div(phi,alpha)");
|
||||||
word schemer("div(phir,alpha)");
|
word schemer("div(phir,alpha)");
|
||||||
|
|
||||||
surfaceScalarField phic(phi);
|
surfaceScalarField phic("phic", phi);
|
||||||
surfaceScalarField phir(phia - phib);
|
surfaceScalarField phir("phir", phia - phib);
|
||||||
|
|
||||||
if (g0.value() > 0.0)
|
if (g0.value() > 0.0)
|
||||||
{
|
{
|
||||||
@ -41,7 +41,7 @@
|
|||||||
alphaEqn.relax();
|
alphaEqn.relax();
|
||||||
alphaEqn.solve();
|
alphaEqn.solve();
|
||||||
|
|
||||||
# include "packingLimiter.H"
|
#include "packingLimiter.H"
|
||||||
|
|
||||||
beta = scalar(1) - alpha;
|
beta = scalar(1) - alpha;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user