15 mixture.cAlpha()*
mag(
phi/
mesh.magSf())*mixture.nHatf()
26 mesh.time().timeName(),
66 alphaPhi1 -= alphaPhi1BD;
72 fv::localEulerDdt::localRDeltaT(
mesh);
93 1.0/runTime.deltaT().value(),
129 alphaPhi2 -= alphaPhi2BD;
135 fv::localEulerDdt::localRDeltaT(
mesh);
156 1.0/runTime.deltaT().value(),
193 alphaPhi1*(
rho1 - rho3)
194 + (alphaPhi2 + alpha2Eqn.flux())*(
rho2 - rho3)
200 Info<<
"Air phase volume fraction = " 206 Info<<
"Liquid phase volume fraction = " surfaceScalarField alphaPhi1(alphaPhi1Header, phi *fvc::interpolate(alpha1))
const volScalarField & rho1
fvMatrix< scalar > fvScalarMatrix
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
const word alphaScheme(mesh.schemes().div(divAlphaName)[1].wordToken())
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Ostream & endl(Ostream &os)
Add newline and flush stream.
dimensionedScalar lambda(viscosity->lookup("lambda"))
volScalarField & alpha1(mixture.alpha1())
const dimensionSet dimless
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
GeometricField< scalar, fvPatchField, volMesh > volScalarField
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
void limiter(surfaceScalarField &lambda, const RdeltaTType &rDeltaT, const RhoType &rho, const volScalarField &psi, const surfaceScalarField &phiBD, const surfaceScalarField &phiCorr, const SpType &Sp, const SuType &Su, const PsiMaxType &psiMax, const PsiMinType &psiMin)
dimensionedScalar pos0(const dimensionedScalar &ds)
static tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &tvf, const surfaceScalarField &faceFlux, Istream &schemeData)
Interpolate field onto faces using scheme given by Istream.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const volScalarField & rho2
surfaceScalarField alphaPhi2("alphaPhi2", phi - alphaPhi1)
word alpharScheme("div(phirb,alpha)")
dimensioned< scalar > mag(const dimensioned< Type > &)
const label nAlphaCorr(alphaControls.lookup< label >("nAlphaCorr"))
surfaceScalarField phir(IOobject("phir", runTime.timeName(), mesh, IOobject::NO_READ, IOobject::NO_WRITE), mixture.cAlpha() *mag(phi/mesh.magSf()) *mixture.nHatf())
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)