alphaEqn.H
Go to the documentation of this file.
1// Update alpha1
2#include "alphaSuSp.H"
3advector.advect(Sp,(Su + divU*min(alpha1(), scalar(1)))());
4
5// Update rhoPhi
6rhoPhi = advector.getRhoPhi(rho1, rho2);
7alphaPhi10 = advector.alphaPhi();
8
9alpha2 = 1.0 - alpha1;
10
11Info<< "Phase-1 volume fraction = "
12 << alpha1.weightedAverage(mesh.Vsc()).value()
13 << " Min(" << alpha1.name() << ") = " << min(alpha1).value()
14 << " Max(" << alpha1.name() << ") - 1 = " << max(alpha1).value() - 1
15 << endl;
Y[inertIndex] max(0.0)
const volScalarField & alpha1
volScalarField & rho2
volScalarField & rho1
alphaPhi10
Definition: alphaEqn.H:7
rhoPhi
Definition: alphaEqn.H:6
alpha2
Definition: alphaEqn.H:9
dynamicFvMesh & mesh
zeroField divU
Definition: alphaSuSp.H:3
zeroField Su
Definition: alphaSuSp.H:1
zeroField Sp
Definition: alphaSuSp.H:2
isoAdvection advector(alpha1, phi, U)