Go to the documentation of this file.
63 while (
pimple.correctNonOrthogonal())
70 pEqn.solve(
mesh.solver(
p.select(
pimple.finalInnerIter())));
72 if (
pimple.finalNonOrthogonalIter())
88 while (
pimple.correctNonOrthogonal())
92 pEqn.solve(
mesh.solver(
p.select(
pimple.finalInnerIter())));
94 if (
pimple.finalNonOrthogonalIter())
110 U.correctBoundaryConditions();
116 p.correctBoundaryConditions();
tmp< volVectorField > constrainHbyA(const tmp< volVectorField > &tHbyA, const volVectorField &U, const volScalarField &p)
const volScalarField psip0(psi *p)
surfaceScalarField phid("phid", fvc::interpolate(psi) *(fvc::flux(HbyA)+MRF.zeroFilter(rhorAUf *fvc::ddtCorr(rho, U, phi)/fvc::interpolate(rho))))
volVectorField gradP(fvc::grad(p))
surfaceScalarField faceMask(localMin< scalar >(mesh).interpolate(cellMask))
tmp< GeometricField< typename outerProduct< vector, Type >::type, faPatchField, areaMesh >> grad(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
Basic thermodynamics type based on the use of fitting functions for cp, h, s obtained from the templa...
tmp< surfaceScalarField > meshPhi(const volVectorField &U)
tmp< fvMatrix< Type > > correction(const fvMatrix< Type > &)
tmp< GeometricField< Type, faPatchField, areaMesh > > div(const GeometricField< Type, faePatchField, edgeMesh > &ssf)
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)
CGAL::Exact_predicates_exact_constructions_kernel K
tmp< fvVectorMatrix > tUEqn(fvm::ddt(rho, U)+fvm::div(phi, U)+MRF.DDt(rho, U)+turbulence->divDevRhoReff(U)==fvOptions(rho, U))
fvMatrix< scalar > fvScalarMatrix
Calculates and prints the continuity errors.
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
const dimensionedScalar rhoMin
GeometricField< scalar, fvPatchField, volMesh > volScalarField
MRF makeRelative(fvc::interpolate(rho), phiHbyA)
volScalarField rAU(1.0/UEqn.A())
GeometricField< vector, fvPatchField, volMesh > volVectorField
const pressureControl & pressureControl
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const dimensionedScalar rhoMax
tmp< GeometricField< Type, faPatchField, areaMesh > > ddt(const dimensioned< Type > dt, const faMesh &mesh)
tmp< GeometricField< Type, faPatchField, areaMesh > > laplacian(const GeometricField< Type, faPatchField, areaMesh > &vf, const word &name)
tmp< surfaceScalarField > flux(const volVectorField &vvf)
void correctRhoUf(autoPtr< surfaceVectorField > &rhoUf, const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi)
const volScalarField & psi
fvScalarMatrix pDDtEqn(fvc::ddt(rho)+psi *correction(fvm::ddt(p))+fvc::div(phiHbyA)==fvOptions(psi, p, rho.name()))
constrainPressure(p_rgh, rho, U, phiHbyA, rhorAUf, MRF)