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>
80 template<
class RAUType>
94 template<
class RAUType,
class MRFType>
108 template<
class RAUType>
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricBoundaryField class.
Generic GeometricField class.
const Boundary & boundaryField() const
Return const-reference to the boundary field.
Mesh data needed to do the Finite Volume discretisation.
const surfaceVectorField & Sf() const
Return cell face area vectors.
const surfaceScalarField & magSf() const
Return cell face area magnitudes.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
volScalarField rAU(1.0/UEqn.A())
surfaceScalarField phiHbyA("phiHbyA", fvc::interpolate(rho) *fvc::flux(HbyA))
void constrainPressure(volScalarField &p, const RhoType &rho, const volVectorField &U, const surfaceScalarField &phiHbyA, const RAUType &rhorAU, const MRFType &MRF)