20 if (p_gh.needReference())
31 while (
pimple.correctNonOrthogonal())
38 p_ghEqn.setReference(p_ghRefCell, p_ghRefValue);
40 p_ghEqn.solve(p_gh.select(
pimple.finalInnerIter()));
42 if (
pimple.finalNonOrthogonalIter())
50 U.correctBoundaryConditions();
55 #include "continuityErrs.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.
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
tmp< fvVectorMatrix > tUEqn(fvm::ddt(rho, U)+fvm::div(phi, U)+MRF.DDt(rho, U)+turbulence->divDevRhoReff(U)==fvOptions(rho, U))
GeometricField< vector, fvPatchField, volMesh > volVectorField
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)
const uniformDimensionedVectorField & g
adjustPhi(phiHbyA, U, p_rgh)
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
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< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)