34 namespace interfaceCompositionModels
46 const dictionary& dict,
50 interfaceCompositionModel(dict, pair),
55 IOobject::groupName(
"YNonVapour", pair.
name()),
66 IOobject::groupName(
"YNonVapourPrime", pair.
name()),
79 autoPtr<interfaceCompositionModel>
102 YNonVapour_ = scalar(1);
106 HashTable<autoPtr<interfaceCompositionModel>>,
115 *iter()->Yf(iter.key(), Tf);
119 *iter()->YfPrime(iter.key(), Tf);
126 const word& speciesName,
134 *speciesModels_[speciesName]->Yf(speciesName, Tf);
146 const word& speciesName,
154 *speciesModels_[speciesName]->YfPrime(speciesName, Tf);
const hashedWordList & species() const
Return the transferring species names.
#define forAllIter(Container, container, iter)
Iterate across all elements in the container object of type.
static autoPtr< interfaceCompositionModel > New(const dictionary &dict, const phasePair &pair)
const basicSpecieMixture & otherComposition() const
Return the other composition.
const dimensionSet dimless
Macros for easy insertion into run-time selection tables.
const phasePair & pair() const
Return the phase pair.
GeometricField< scalar, fvPatchField, volMesh > volScalarField
virtual void update(const volScalarField &Tf)
Update the composition.
forAllConstIter(PtrDictionary< phaseModel >, mixture.phases(), phase)
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.
const basicSpecieMixture & composition() const
Return the composition.
virtual ~Raoult()
Destructor.
Raoult(const dictionary &dict, const phasePair &pair)
Construct from components.
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