Go to the documentation of this file.
32 IOobject::groupName(
"rAUf",
phase1.name()),
43 IOobject::groupName(
"rAUf",
phase2.name()),
54 tmp<surfaceScalarField>
Ff1;
55 tmp<surfaceScalarField>
Ff2;
74 if (implicitPhasePressure)
112 IOobject::groupName(
"alpharAUf",
phase1.name()),
118 IOobject::groupName(
"alpharAUf",
phase2.name()),
131 IOobject::groupName(
"phig",
phase1.name()),
142 IOobject::groupName(
"phig",
phase2.name()),
154 IOobject::groupName(
"phiHbyA",
phase1.name()),
172 IOobject::groupName(
"phiHbyA",
phase2.name()),
207 p_rgh.boundaryFieldRef(),
214 )/(
mesh.magSf().boundaryField()*
rAUf.boundaryField())
217 tmp<fvScalarMatrix> pEqnComp1;
218 tmp<fvScalarMatrix> pEqnComp2;
224 IOobject::groupName(
"phid",
phase1.name()),
229 IOobject::groupName(
"phid",
phase2.name()),
246 pEqnComp1.ref().relax();
261 pEqnComp2.ref().relax();
283 while (
pimple.correctNonOrthogonal())
293 pEqnComp1() + pEqnComp2() + pEqnIncomp,
297 if (
pimple.finalNonOrthogonalIter())
327 U1.correctBoundaryConditions();
331 U2.correctBoundaryConditions();
357 p_rgh.correctBoundaryConditions();
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> reconstruct(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< surfaceScalarField > Ff2
const surfaceScalarField Kdf("Kdf", fluid.Kdf())
const surfaceScalarField & ghf
const dimensionedScalar & pMin
const volScalarField & alpha2
const surfaceScalarField alphaf2("alphaf2", scalar(1) - alphaf1)
surfaceScalarField & phi1
surfaceScalarField Ff(fluid.Ff())
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
const volScalarField & alpha1
const volScalarField & gh
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
const volScalarField & psi2
const surfaceScalarField & rAUf1
surfaceScalarField & phi2
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
surfaceScalarField Vmf("Vmf", fluid.Vmf())
surfaceScalarField phir(fvc::flux(UdmModel.Udm()))
fvMatrix< scalar > fvScalarMatrix
const surfaceScalarField alphaf1("alphaf1", fvc::interpolate(alpha1))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
label max(const labelHashSet &set, label maxValue=labelMin)
mixture thermo1().correctRho(psi1 *(p_rgh - p_rgh_0))
tmp< surfaceScalarField > Ff1
const uniformDimensionedVectorField & g
const surfaceScalarField & alphaPhi1
const volScalarField & psi1
surfaceScalarField snGradAlpha1(fvc::snGrad(alpha1) *mesh.magSf())
surfaceScalarField alphaRhof10("alphaRhof10", fvc::interpolate(max(alpha1.oldTime(), phase1.residualAlpha()) *rho1.oldTime()))
volScalarField p_rgh_0(p_rgh)
dimensionedSymmTensor sqr(const dimensionedVector &dv)
surfaceScalarField alphaRhof20("alphaRhof20", fvc::interpolate(max(alpha2.oldTime(), phase2.residualAlpha()) *rho2.oldTime()))
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
dimensioned< typename typeOfMag< Type >::type > mag(const dimensioned< Type > &dt)
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
surfaceScalarField ghSnGradRho(ghf *fvc::snGrad(rho) *mesh.magSf())
setSnGrad< fixedFluxPressureFvPatchScalarField >(p_rgh.boundaryFieldRef(),(phiHbyA.boundaryField() - MRF.relative(phib))/(mesh.magSf().boundaryField() *rAUf.boundaryField()))
surfaceScalarField Df1(fvc::interpolate(rAU1 *(D+phase1.turbulence().pPrime())))
const dimensionedScalar & D
mixture thermo2().correctRho(psi2 *(p_rgh - p_rgh_0))
const surfaceScalarField alpharAUf2(fvc::interpolate(max(alpha2, phase2.residualAlpha()) *rAU2))
surfaceScalarField Df2(fvc::interpolate(rAU2 *(D+phase2.turbulence().pPrime())))
const surfaceScalarField & rAUf2
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
tmp< surfaceScalarField > flux(const volVectorField &vvf)
const surfaceScalarField alpharAUf1(fvc::interpolate(max(alpha1, phase1.residualAlpha()) *rAU1))
const surfaceScalarField & alphaPhi2
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))