Go to the documentation of this file.
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");
A class for handling words, derived from Foam::string.
A class for managing temporary objects.
virtual void updateSnGrad(const scalarField &snGradp)
Update the patch pressure gradient field from the given snGradp.
The prghPermeableAlphaTotalPressure is a mixed boundary condition for the p_rgh variable in multiphas...
prghPermeableAlphaTotalPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual tmp< fvPatchField< scalar > > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition provides a base class for 'mixed' type boundary conditions,...
TypeName("prghPermeableAlphaTotalPressure")
Runtime type information.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
virtual void write(Ostream &) const
Write.
Foam::fvPatchFieldMapper.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...