Go to the documentation of this file.
39 #ifndef interfaceCompositionModel_H
40 #define interfaceCompositionModel_H
59 class interfaceCompositionModel
96 TypeName(
"interfaceCompositionModel");
149 const word& speciesName,
156 const word& speciesName,
163 const word& speciesName
169 const word& speciesName,
Description for mass transfer between a pair of phases. The direction of the mass transfer is from th...
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phasePair &pair)
A class for handling words, derived from Foam::string.
virtual ~interfaceCompositionModel()=default
Destructor.
virtual tmp< volScalarField > D(const word &speciesName) const =0
Mass diffusivity.
declareRunTimeSelectionTable(autoPtr, interfaceCompositionModel, dictionary,(const dictionary &dict, const phasePair &pair),(dict, pair))
virtual tmp< volScalarField > Kexp(label modelVariable, const volScalarField &field)=0
Explicit mass transfer coefficient.
const word variable() const
Returns the variable on which the model is based.
const fvMesh & mesh_
Reference to mesh.
virtual tmp< volScalarField > dY(const word &speciesName, const volScalarField &Tf) const =0
Mass fraction difference between the interface and the field.
Generic base class for interface composition models. These models describe the composition in phase 1...
const phasePair & pair() const
Return pair.
word speciesName_
Names of the transferring specie.
virtual tmp< volScalarField > L(const word &speciesName, const volScalarField &Tf) const =0
Latent heat.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
TypeName("interfaceCompositionModel")
Runtime type information.
const phasePair & pair_
Phase pair.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
static const Enum< modelVariable > modelVariableNames
Mesh data needed to do the Finite Volume discretisation.
virtual const dimensionedScalar & Tactivate() const =0
Reference value.
modelVariable modelVariable_
Enumeration for model variables.
const word transferSpecie() const
Return the transferring species name.
modelVariable
Enumeration for variable based mass transfer models.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
interfaceCompositionModel(const dictionary &dict, const phasePair &pair)
Construct from a dictionary and a phase pair.
Macros to ease declaration of run-time selection tables.
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const =0
Interface mass fraction.