Go to the documentation of this file.
51 #ifndef fixedFluxPressureFvPatchScalarFields_H
52 #define fixedFluxPressureFvPatchScalarFields_H
68 public fixedGradientFvPatchScalarField
167 template<
class GradBC>
176 if (isA<GradBC>(bf[
patchi]))
183 template<
class GradBC>
190 setSnGrad<GradBC>(bf, tsnGrad());
tmp< GeometricField< Type, fvsPatchField, surfaceMesh > > snGrad(const GeometricField< Type, fvPatchField, volMesh > &vf, const word &name)
virtual tmp< fvPatchScalarField > clone() const
Construct and return a clone.
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
label curTimeIndex_
Current time index (used for updating)
virtual void updateCoeffs()
Update the patch pressure gradient field.
void setSnGrad(volScalarField::GeometricBoundaryField &bf, const FieldField< fvsPatchField, scalar > &snGrad)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
A list of keyword definitions, which are a keyword followed by any number of values (e....
This boundary condition sets the pressure gradient to the provided value such that the flux on the bo...
virtual void write(Ostream &) const
Write.
TypeName("fixedFluxPressure")
Runtime type information.
Foam::fvPatchFieldMapper.
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...