Go to the documentation of this file.
40 #ifndef NonRandomTwoLiquid_H
41 #define NonRandomTwoLiquid_H
53 namespace interfaceCompositionModels
60 template<
class Thermo,
class OtherThermo>
139 const word& speciesName,
146 const word& speciesName,
Base class for interface composition models, templated on the two thermodynamic models either side of...
NonRandomTwoLiquid(const dictionary &dict, const phasePair &pair)
Construct from components.
A class for handling words, derived from string.
TypeName("NonRandomTwoLiquid")
Runtime type information.
A class for managing temporary objects.
virtual void update(const volScalarField &Tf)
Update the composition.
label species1Index_
Indiex of species 1 within this thermo.
dimensionedScalar alpha12_
Non-randomness constant parameter for species 1.
word species1Name_
Name of species 1.
word species2Name_
Name of species 2.
autoPtr< saturationModel > saturationModel21_
Interaction parameter model for species 2.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
volScalarField gamma2_
Activity coefficient for species 2.
autoPtr< interfaceCompositionModel > speciesModel1_
Composition model for species 1.
dimensionedScalar beta12_
Non-randomness linear paramater for species 1.
label species2Index_
Indiex of species 2 within this thermo.
A list of keyword definitions, which are a keyword followed by any number of values (e....
virtual tmp< volScalarField > YfPrime(const word &speciesName, const volScalarField &Tf) const
The interface species fraction derivative w.r.t. temperature.
Generic dimensioned Type class.
autoPtr< interfaceCompositionModel > speciesModel2_
Composition model for species 2.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
dimensionedScalar alpha21_
Non-randomness constant parameter for species 2.
volScalarField gamma1_
Activity coefficient for species 1.
virtual ~NonRandomTwoLiquid()
Destructor.
dimensionedScalar beta21_
Non-randomness linear paramater for species 2.
Generic GeometricField class.
virtual tmp< volScalarField > Yf(const word &speciesName, const volScalarField &Tf) const
The interface species fraction.
autoPtr< saturationModel > saturationModel12_
Interaction parameter model for species 1.