nonRandomTwoLiquid Class Reference

Non ideal law for the mixing of two species. A separate composition model is given for each species. The composition of a species is equal to the value given by the model, scaled by the species fraction in the bulk of the other phase, and multiplied by the activity coefficient for that species. The gas behaviour is assumed ideal; i.e. the fugacity coefficient is taken as equal to 1. More...

Inheritance diagram for nonRandomTwoLiquid:
Collaboration diagram for nonRandomTwoLiquid:

Public Member Functions

 TypeName ("nonRandomTwoLiquid")
 Runtime type information. More...
 
 nonRandomTwoLiquid (const dictionary &dict, const phasePair &pair)
 Construct from components. More...
 
virtual ~nonRandomTwoLiquid ()
 Destructor. More...
 
virtual void update (const volScalarField &Tf)
 Update the composition. More...
 
virtual tmp< volScalarFieldYf (const word &speciesName, const volScalarField &Tf) const
 The interface species fraction. More...
 
virtual tmp< volScalarFieldYfPrime (const word &speciesName, const volScalarField &Tf) const
 The interface species fraction derivative w.r.t. temperature. More...
 
- Public Member Functions inherited from interfaceCompositionModel
 TypeName ("interfaceCompositionModel")
 Runtime type information. More...
 
 declareRunTimeSelectionTable (autoPtr, interfaceCompositionModel, dictionary,(const dictionary &dict, const phasePair &pair),(dict, pair))
 
 interfaceCompositionModel (const dictionary &dict, const phasePair &pair)
 Construct from a dictionary and a phase pair. More...
 
virtual ~interfaceCompositionModel ()
 Destructor. More...
 
const phasePairpair () const
 Return the phase pair. More...
 
const hashedWordListspecies () const
 Return the transferring species names. More...
 
const rhoReactionThermothermo () const
 Return the thermo. More...
 
const basicSpecieMixturecomposition () const
 Return the composition. More...
 
const rhoThermootherThermo () const
 Return the other thermo. More...
 
bool otherHasComposition () const
 Return whether the other side has a multi-specie composition. More...
 
const basicSpecieMixtureotherComposition () const
 Return the other composition. More...
 
virtual tmp< volScalarFielddY (const word &speciesName, const volScalarField &Tf) const
 Mass fraction difference between the interface and the field. More...
 
virtual tmp< volScalarFieldD (const word &speciesName) const
 Mass diffusivity. More...
 
virtual tmp< volScalarFieldL (const word &speciesName, const volScalarField &Tf) const
 Latent heat. More...
 
virtual void addDmdtL (const volScalarField &K, const volScalarField &Tf, volScalarField &dmdtL, volScalarField &dmdtLPrime) const
 Add latent heat flow rate to total. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from interfaceCompositionModel
static autoPtr< interfaceCompositionModelNew (const dictionary &dict, const phasePair &pair)
 

Detailed Description

Non ideal law for the mixing of two species. A separate composition model is given for each species. The composition of a species is equal to the value given by the model, scaled by the species fraction in the bulk of the other phase, and multiplied by the activity coefficient for that species. The gas behaviour is assumed ideal; i.e. the fugacity coefficient is taken as equal to 1.

Source files

Definition at line 59 of file nonRandomTwoLiquid.H.

Constructor & Destructor Documentation

◆ nonRandomTwoLiquid()

nonRandomTwoLiquid ( const dictionary dict,
const phasePair pair 
)

Construct from components.

◆ ~nonRandomTwoLiquid()

virtual ~nonRandomTwoLiquid ( )
virtual

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "nonRandomTwoLiquid"  )

Runtime type information.

◆ update()

virtual void update ( const volScalarField Tf)
virtual

Update the composition.

Implements interfaceCompositionModel.

◆ Yf()

virtual tmp<volScalarField> Yf ( const word speciesName,
const volScalarField Tf 
) const
virtual

The interface species fraction.

Implements interfaceCompositionModel.

◆ YfPrime()

virtual tmp<volScalarField> YfPrime ( const word speciesName,
const volScalarField Tf 
) const
virtual

The interface species fraction derivative w.r.t. temperature.

Implements interfaceCompositionModel.


The documentation for this class was generated from the following file: