34 while (
pimple.correctNonOrthogonal())
43 p_rghEqn.solve(
p_rgh.select(
pimple.finalInnerIter()));
45 if (
pimple.finalNonOrthogonalIter())
57 U.correctBoundaryConditions();
82 if (
p_rgh.needReference())
volVectorField H("H", UEqn.H())
fvMatrix< scalar > fvScalarMatrix
volScalarField rAU(1.0/UEqn.A())
tmp< surfaceScalarField > flux(const volVectorField &vvf)
Return the face-flux field obtained from the given volVectorField.
surfaceScalarField phig("phig", -rhorAUf *ghf *fvc::snGrad(rho) *mesh.magSf())
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Info<< "Creating temperaturePhaseChangeTwoPhaseMixture\"<< endl;autoPtr< temperaturePhaseChangeTwoPhaseMixture > mixture
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
GeometricField< vector, fvPatchField, volMesh > volVectorField
scalar getRefCellValue(const volScalarField &field, const label refCelli)
Return the current value of field in the reference cell.
const surfaceScalarField & ghf
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
tmp< volVectorField > constrainHbyA(const tmp< volVectorField > &tHbyA, const volVectorField &U, const volScalarField &p)
bool oversetAdjustPhi(surfaceScalarField &phi, const volVectorField &U, const label zoneId=-1)
Adjust the balance of fluxes to obey continuity.
void oversetPatchPhiErr(const fvScalarMatrix &m, const surfaceScalarField &phi)
Prints out sum of m.flux and phi over the fringe faces.
Calculates and prints the continuity errors.
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> reconstruct(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
const volScalarField & gh
surfaceVectorField n(mesh.Sf()/mesh.magSf())
constrainPressure(p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
MRF makeRelative(fvc::interpolate(rho), phiHbyA)
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)