37template<
class RhoType,
class RAUType,
class MRFType>
44 const RAUType& rhorAU,
55 const typename RAUType::Boundary& rhorAUBf = rhorAU.boundaryField();
58 mesh.magSf().boundaryField();
67 const_cast<snGradType&
>(*snGradPtr).updateSnGrad
71 -
rho.boundaryField()[patchi]
72 *
MRF.relative(SfBf[patchi] & UBf[patchi], patchi)
74 /(magSfBf[patchi]*rhorAUBf[patchi])
81template<
class RAUType>
85 const volScalarField&
rho,
86 const volVectorField&
U,
87 const surfaceScalarField&
phiHbyA,
95template<
class RAUType,
class MRFType>
99 const volVectorField&
U,
100 const surfaceScalarField&
phiHbyA,
109template<
class RAUType>
113 const volVectorField&
U,
114 const surfaceScalarField&
phiHbyA,
GeometricBoundaryField< scalar, fvPatchField, volMesh > Boundary
Mesh data needed to do the Finite Volume discretisation.
A class representing the concept of a GeometricField of 1 used to avoid unnecessary manipulations for...
constrainPressure(p_rgh, rho, U, phiHbyA, rhorAUf, MRF)
tmp< volScalarField > rAU
void constrainPressure(volScalarField &p, const RhoType &rho, const volVectorField &U, const surfaceScalarField &phiHbyA, const RAUType &rhorAU, const MRFType &MRF)
GeometricField< vector, fvPatchField, volMesh > volVectorField
GeometricField< scalar, fvPatchField, volMesh > volScalarField
GeometricField< scalar, fvsPatchField, surfaceMesh > surfaceScalarField
const Type * isA(const U &obj)
Attempt dynamic_cast to Type.
#define forAll(list, i)
Loop across all elements in list.