51 #ifndef fixedFluxPressureFvPatchScalarFields_H 52 #define fixedFluxPressureFvPatchScalarFields_H 68 public fixedGradientFvPatchScalarField
167 template<
class GradBC>
170 volScalarField::Boundary& bf,
176 if (isA<GradBC>(bf[
patchi]))
183 template<
class GradBC>
186 volScalarField::Boundary& bf,
190 setSnGrad<GradBC>(bf, tsnGrad());
virtual void write(Ostream &) const
Write.
#define forAll(list, i)
Loop across all elements in list.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A list of keyword definitions, which are a keyword followed by any number of values (e...
void setSnGrad(volScalarField::Boundary &bf, const FieldField< fvsPatchField, scalar > &snGrad)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
virtual void updateCoeffs()
Update the patch pressure gradient field.
Foam::fvPatchFieldMapper.
TypeName("fixedFluxPressure")
Runtime type information.
This boundary condition sets the pressure gradient to the provided value such that the flux on the bo...
An Ostream is an abstract base class for all output systems (streams, files, token lists...
fixedFluxPressureFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
A class for managing temporary objects.