33 namespace interfaceCompositionModels
45 const dictionary& dict,
46 const phaseInterface& interface
49 interfaceCompositionModel(dict, interface),
54 IOobject::groupName(
"YNonVapour", this->interface().
name()),
65 IOobject::groupName(
"YNonVapourPrime", this->interface().
name()),
78 autoPtr<interfaceCompositionModel>
101 YNonVapour_ = scalar(1);
105 HashTable<autoPtr<interfaceCompositionModel>>,
114 *iter()->Yf(iter.key(), Tf);
118 *iter()->YfPrime(iter.key(), Tf);
125 const word& speciesName,
133 *speciesModels_[speciesName]->Yf(speciesName, Tf);
145 const word& speciesName,
153 *speciesModels_[speciesName]->YfPrime(speciesName, Tf);
const hashedWordList & species() const
Return the transferring species names.
Raoult(const dictionary &dict, const phaseInterface &interface)
Construct from a dictionary and an interface.
#define forAllConstIter(Container, container, iter)
Iterate across all elements in the container object of type.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
const basicSpecieMixture & otherComposition() const
Return the other composition.
const sidedPhaseInterface & interface() const
Return the interface.
const dimensionSet dimless
Macros for easy insertion into run-time selection tables.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void update(const volScalarField &Tf)
Update the composition.
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
The interface species fraction.
addToRunTimeSelectionTable(ensightPart, ensightPartCells, istream)
defineTypeNameAndDebug(combustionModel, 0)
word name(const complex &)
Return a string representation of a complex.
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phaseInterface &interface, const bool outer=true)
const basicSpecieMixture & composition() const
Return the composition.
virtual ~Raoult()
Destructor.
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
A class for managing temporary objects.
PtrList< volScalarField > & Y()
Return the mass-fraction fields.
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
The interface species fraction derivative w.r.t. temperature.
const dimensionSet dimTemperature