34 template<
class RhoType,
class RAUType,
class MRFType>
41 const RAUType& rhorAU,
52 const typename RAUType::Boundary& rhorAUBf =
53 rhorAU.boundaryField();
61 if (isA<fixedFluxPressureFvPatchScalarField>(pBf[
patchi]))
63 refCast<fixedFluxPressureFvPatchScalarField>
70 - rho.boundaryField()[
patchi]
71 *MRF.relative(SfBf[patchi] & UBf[patchi], patchi)
73 /(magSfBf[patchi]*rhorAUBf[patchi])
80 template<
class RAUType>
94 template<
class RAUType,
class MRFType>
108 template<
class RAUType>
#define forAll(list, i)
Loop across all elements in list.
const surfaceVectorField & Sf() const
Return cell face area vectors.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
void constrainPressure(volScalarField &p, const RhoType &rho, const volVectorField &U, const surfaceScalarField &phiHbyA, const RAUType &rhorAU, const MRFType &MRF)
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
const Mesh & mesh() const
Return mesh.
Boundary & boundaryFieldRef()
Return a reference to the boundary field.
Mesh data needed to do the Finite Volume discretisation.