31 p_rgh.boundaryField(),
34 -
MRF.relative(
mesh.Sf().boundaryField() &
U.boundaryField())
36 )/(
mesh.magSf().boundaryField()*
rhorAUf.boundaryField())
40 bool compressible = (compressibility.value() > SMALL);
69 U.correctBoundaryConditions();
76 #include "continuityErrs.H" 80 if (closedVolume && compressible)
92 Info<<
"Min/max rho:" <<
min(
rho).value() <<
' '
setSnGrad< fixedFluxPressureFvPatchScalarField >(p_rgh.boundaryField(),( phiHbyA.boundaryField() -MRF.relative(mesh.Sf().boundaryField()&U.boundaryField()) *rho.boundaryField() )/(mesh.magSf().boundaryField()*rhorAUf.boundaryField()))
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> reconstruct(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
dimensionedScalar compressibility
tmp< GeometricField< Type, fvPatchField, volMesh > > laplacian(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
tmp< surfaceScalarField > interpolate(const RhoType &rho)
surfaceScalarField phig(-rhorAUf *ghf *fvc::snGrad(rho)*mesh.magSf())
fv::IOoptionList & fvOptions
fvMatrix< scalar > fvScalarMatrix
Ostream & endl(Ostream &os)
Add newline and flush stream.
fvVectorMatrix UEqn(fvm::ddt(rho, U)+fvm::div(phi, U)+turbulence->divDevRhoReff(U)==fvOptions(rho, U))
GeometricField< scalar, fvPatchField, volMesh > volScalarField
dimensioned< Type > max(const dimensioned< Type > &, const dimensioned< Type > &)
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
surfaceScalarField rhorAUf("rhorAUf", fvc::interpolate(rho *rAU))
const volScalarField & psi
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
GeometricField< vector, fvPatchField, volMesh > volVectorField
adjustPhi(phiHbyA, U, p_rgh)
scalar getRefCellValue(const volScalarField &field, const label refCelli)
Return the current value of field in the reference cell.
volScalarField rAU(1.0/UEqn.A())
dimensionedScalar initialMass
PtrList< dimensionedScalar > rhoMin(fluidRegions.size())
dimensioned< Type > domainIntegrate(const GeometricField< Type, fvPatchField, volMesh > &vf)
tmp< GeometricField< Type, fvPatchField, volMesh > > div(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
psiReactionThermo & thermo
dimensioned< Type > min(const dimensioned< Type > &, const dimensioned< Type > &)
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
PtrList< dimensionedScalar > rhoMax(fluidRegions.size())
const surfaceScalarField & ghf
const volScalarField & gh