Go to the documentation of this file.
22 if (p_gh.needReference())
35 - (
mesh.Sf().boundaryField() &
U.boundaryField())
36 )/(
mesh.magSf().boundaryField()*
rAUf.boundaryField())
40 while (
pimple.correctNonOrthogonal())
47 p_ghEqn.setReference(p_ghRefCell, p_ghRefValue);
49 p_ghEqn.solve(
mesh.solver(p_gh.select(
pimple.finalInnerIter())));
51 if (
pimple.finalNonOrthogonalIter())
59 U.correctBoundaryConditions();
64 #include "continuityErrs.H"
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
const dimensionedVector & g
setSnGrad< fixedFluxPressureFvPatchScalarField >(p_rgh.boundaryField(),(phiHbyA.boundaryField() - MRF.relative(mesh.Sf().boundaryField() &U.boundaryField()))/(mesh.magSf().boundaryField() *rAUf.boundaryField()))
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
fvMatrix< scalar > fvScalarMatrix
tmp< GeometricField< typename flux< Type >::type, fvsPatchField, surfaceMesh > > ddtCorr(const GeometricField< Type, fvPatchField, volMesh > &U, const GeometricField< Type, fvsPatchField, surfaceMesh > &Uf)
tmp< fvVectorMatrix > UEqn(fvm::div(phi, U)+MRF.DDt(U)+turbulence->divDevReff(U)==fvOptions(U))
surfaceVectorField n(mesh.Sf()/mesh.magSf())
GeometricField< vector, fvPatchField, volMesh > volVectorField
volScalarField rAU("rAU", 1.0/UEqn().A())
MRF makeRelative(phiHbyA)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const dictionary & pimple
void makeAbsolute(surfaceScalarField &phi, const volVectorField &U)
Make the given flux absolute.
GeometricField< vector, fvsPatchField, surfaceMesh > surfaceVectorField
surfaceScalarField rAUf("rAUf", fvc::interpolate(rAU))