4 surfaceScalarField
rAUf(
"rAUf", fvc::interpolate(
rAU));
6 volVectorField
H(
"H",
UEqn.H());
8 volVectorField
HbyA(
"HbyA",
U);
20 -
ghf*fvc::snGrad(cellMask*
rho)
34 while (
pimple.correctNonOrthogonal())
36 fvScalarMatrix p_rghEqn
43 p_rghEqn.solve(
p_rgh.select(
pimple.finalInnerIter()));
45 if (
pimple.finalNonOrthogonalIter())
57 U.correctBoundaryConditions();
62 oversetPatchPhiErr(p_rghEqn,
phiHbyA);
69 Uf = fvc::interpolate(
U);
75 fvc::makeRelative(
phi,
U);
82 if (
p_rgh.needReference())
Calculates and prints the continuity errors.
const surfaceScalarField & ghf
const volScalarField & gh
constrainPressure(p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
surfaceScalarField phig("phig", -rhorAUf *ghf *fvc::snGrad(rho) *mesh.magSf())
volScalarField H(IOobject("H", runTime.timeName(), mesh.thisDb(), IOobject::NO_READ, IOobject::AUTO_WRITE), mesh, dimensionedScalar(dimLength, Zero))
autoPtr< surfaceVectorField > Uf
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))
volVectorField H("H", UEqn.H())
tmp< volScalarField > rAU
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
scalar getRefCellValue(const volScalarField &field, const label refCelli)
Return the current value of field in the reference cell.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\n"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture