124 #ifndef Foam_speciesSorptionFvPatchScalarField_H 125 #define Foam_speciesSorptionFvPatchScalarField_H 140 class speciesSorptionFvPatchScalarField
142 public zeroGradientFvPatchField<scalar>,
143 public boundarySourcePatch
146 typedef zeroGradientFvPatchField<scalar> parent_bctype;
182 bool allowDesorption_;
185 autoPtr<PatchFunction1<scalar>> thicknessPtr_;
212 tmp<scalarField> calcMoleFractions()
const;
230 const DimensionedField<scalar, volMesh>&
237 const DimensionedField<scalar, volMesh>&,
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.
friend Ostream & operator(Ostream &, const fvPatchField< scalar > &)
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.
virtual tmp< fvPatchField< scalar > > clone() const
No clone without an internal field reference.