110 #ifndef Foam_enthalpySorptionFvPatchScalarField_H 111 #define Foam_enthalpySorptionFvPatchScalarField_H 126 class enthalpySorptionFvPatchScalarField
128 public zeroGradientFvPatchField<scalar>,
129 public boundarySourcePatch
132 typedef zeroGradientFvPatchField<scalar> parent_bctype;
137 enum enthalpyModelType :
char 144 static const Enum<enthalpyModelType> enthalpyModelTypeNames;
150 enum enthalpyModelType enthalpyModel_;
156 autoPtr<Function1<scalar>> enthalpyMassLoadPtr_;
189 const DimensionedField<scalar, volMesh>&
virtual void rmap(const fvPatchScalarField &, const labelList &)
Reverse map the given fvPatchField onto this fvPatchField.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
This is a temperature boundary condition which works in conjunction with the speciesSorption conditio...
enthalpySorptionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
friend Ostream & operator(Ostream &, const fvPatchField< scalar > &)
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
TypeName("enthalpySorption")
Runtime type information.
virtual void updateCoeffs()
Update the coefficients associated with the patch field.
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
virtual void write(Ostream &) const
Write.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class for managing temporary objects.
virtual tmp< scalarField > patchSource() const
Source of cells next to the patch.
virtual tmp< fvPatchField< scalar > > clone() const
No clone without an internal field reference.