54#ifndef fixedFluxPressureFvPatchScalarField_H
55#define fixedFluxPressureFvPatchScalarField_H
72 public fixedGradientFvPatchScalarField,
172 template<
class GradBC>
181 if (isA<GradBC>(bf[patchi]))
183 refCast<GradBC>(bf[patchi]).updateSnGrad(snGrad[patchi]);
188 template<
class GradBC>
195 setSnGrad<GradBC>(bf, tsnGrad());
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A field of fields is a PtrList of fields with reference counting.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
This boundary condition sets the pressure gradient to the provided value such that the flux on the bo...
virtual tmp< fvPatchScalarField > clone(const DimensionedField< scalar, volMesh > &iF) const
Construct and return a clone setting internal field reference.
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
virtual void updateCoeffs()
Update the patch pressure gradient field.
virtual void updateSnGrad(const scalarField &snGradp)
Update the patch pressure gradient field from the given snGradp.
TypeName("fixedFluxPressure")
Runtime type information.
A FieldMapper for finite-volume patch fields.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A class for managing temporary objects.
void setSnGrad(volScalarField::Boundary &bf, const FieldField< fvsPatchField, scalar > &snGrad)
#define forAll(list, i)
Loop across all elements in list.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.