Go to the documentation of this file.
6 IOobject::groupName(
"rAU",
phase1.name()),
16 IOobject::groupName(
"rAU",
phase2.name()),
61 if (implicitPhasePressure)
97 IOobject::groupName(
"HbyA",
phase1.name()),
110 IOobject::groupName(
"HbyA",
phase2.name()),
152 surfaceScalarField::Boundary& phiCorrCoeff1Bf =
153 phiCorrCoeff1.boundaryFieldRef();
155 surfaceScalarField::Boundary& phiCorrCoeff2Bf =
156 phiCorrCoeff2.boundaryFieldRef();
163 !
mesh.boundary()[patchi].coupled()
164 || isA<cyclicAMIFvPatch>(
mesh.boundary()[patchi])
167 phiCorrCoeff1Bf[patchi] = 0;
168 phiCorrCoeff2Bf[patchi] = 0;
176 IOobject::groupName(
"phiHbyA",
phase1.name()),
190 IOobject::groupName(
"phiHbyA",
phase2.name()),
225 p_rgh.boundaryFieldRef(),
232 )/(
mesh.magSf().boundaryField()*
rAUf.boundaryField())
235 tmp<fvScalarMatrix> pEqnComp1;
236 tmp<fvScalarMatrix> pEqnComp2;
243 IOobject::groupName(
"phid",
phase1.name()),
248 IOobject::groupName(
"phid",
phase2.name()),
265 pEqnComp1.ref().relax();
280 pEqnComp2.ref().relax();
303 while (
pimple.correctNonOrthogonal())
314 pEqnComp1() + pEqnComp2() + pEqnIncomp,
319 if (
pimple.finalNonOrthogonalIter())
357 mSfGradp = pEqnIncomp.flux()/
rAUf;
380 U1.correctBoundaryConditions();
384 U2.correctBoundaryConditions();
405 p_rgh.correctBoundaryConditions();
const surfaceScalarField & phiF2
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)
const surfaceScalarField & ghf
const dimensionedScalar & pMin
const volScalarField & alpha2
const surfaceScalarField alphaf2("alphaf2", scalar(1) - alphaf1)
tmp< GeometricField< Type, faPatchField, areaMesh > > average(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
surfaceScalarField & phi1
const volScalarField & rAU1
const volScalarField & rAU2
const surfaceScalarField & phiF1
volVectorField F(fluid.F())
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
dimensionedScalar pos0(const dimensionedScalar &ds)
const volScalarField & alpha1
const volScalarField Kd(fluid.Kd())
const volScalarField & gh
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
const volScalarField & psi2
surfaceScalarField & phi2
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
const volScalarField rAUKd1(rAU1 *Kd)
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))
const uniformDimensionedVectorField & g
const surfaceScalarField & alphaPhi1
const volScalarField & psi1
surfaceScalarField snGradAlpha1(fvc::snGrad(alpha1) *mesh.magSf())
GeometricField< vector, fvPatchField, volMesh > volVectorField
volScalarField p_rgh_0(p_rgh)
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())))
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
tmp< surfaceScalarField > flux(const volVectorField &vvf)
const volScalarField rAUKd2(rAU2 *Kd)
const surfaceScalarField alpharAUf1(fvc::interpolate(max(alpha1, phase1.residualAlpha()) *rAU1))
const surfaceScalarField & alphaPhi2
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))