91 #ifndef prghPermeableAlphaTotalPressureFvPatchScalarField_H 92 #define prghPermeableAlphaTotalPressureFvPatchScalarField_H 109 class prghPermeableAlphaTotalPressureFvPatchScalarField
111 public mixedFvPatchField<scalar>,
112 public updateablePatchTypes::updateableSnGrad
117 autoPtr<PatchFunction1<scalar>> p0_;
141 TypeName(
"prghPermeableAlphaTotalPressure");
208 const fvPatchFieldMapper&
229 virtual void write(Ostream&)
const;
TypeName("prghPermeableAlphaTotalPressure")
Runtime type information.
virtual void write(Ostream &) const
Write.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual tmp< fvPatchField< scalar > > clone() const
Return a clone.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
prghPermeableAlphaTotalPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
The prghPermeableAlphaTotalPressure is a mixed boundary condition for the p_rgh variable in multiphas...
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
fvPatchField< scalar > fvPatchScalarField
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
A FieldMapper for finite-volume patch fields.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual void updateSnGrad(const scalarField &snGradp)
Update the patch pressure gradient field from the given snGradp.
List< label > labelList
A List of labels.
A class for managing temporary objects.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.