121 #ifndef Foam_speciesSorptionFvPatchScalarField_H 122 #define Foam_speciesSorptionFvPatchScalarField_H 137 class speciesSorptionFvPatchScalarField
139 public zeroGradientFvPatchField<scalar>,
140 public boundarySourcePatch
176 autoPtr<PatchFunction1<scalar>> thicknessPtr_;
203 tmp<scalarField> calcMoleFractions()
const;
221 const DimensionedField<scalar, volMesh>&
228 const DimensionedField<scalar, volMesh>&,
virtual tmp< fvPatchField< scalar > > clone() const
Return a clone.
TypeName("speciesSorption")
Runtime type information.
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.
equilibriumModelType
Options for the equilibrum model.
speciesSorptionFvPatchScalarField(const fvPatch &, const DimensionedField< scalar, volMesh > &)
Construct from patch and internal field.
This boundary condition provides a first-order zero-gradient condition for a given scalar field to mo...
GeometricField< scalar, fvPatchField, volMesh > volScalarField
static tmp< fvPatchField< Type > > Clone(const DerivedPatchField &pf, Args &&... args)
Clone a patch field, optionally with internal field reference etc.
kineticModelType
Options for the kinematic model.
virtual void write(Ostream &) const
Write.
Field< scalar > scalarField
Specialisation of Field<T> for scalar.
A FieldMapper for finite-volume patch fields.
virtual void autoMap(const fvPatchFieldMapper &)
Map (and resize as needed) from self given a mapping object.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
static const Enum< equilibriumModelType > equilibriumModelTypeNames
Names for equilibriumModelType.
tmp< scalarField > mass() const
Access to mass.
static const Enum< kineticModelType > kinematicModelTypeNames
Names for kineticModelType.
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.