Raoult Class Reference

Raoult's law of ideal mixing. 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. More...

Inheritance diagram for Raoult:
Collaboration diagram for Raoult:

Public Member Functions

 TypeName ("Raoult")
 Runtime type information. More...
 
 Raoult (const dictionary &dict, const phaseInterface &interface)
 Construct from a dictionary and an interface. More...
 
virtual ~Raoult ()
 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 phaseInterface &interface),(dict, interface))
 
 interfaceCompositionModel (const dictionary &dict, const phaseInterface &interface)
 Construct from a dictionary and an interface. More...
 
virtual ~interfaceCompositionModel ()
 Destructor. More...
 
const sidedPhaseInterfaceinterface () const
 Return the interface. More...
 
const hashedWordListspecies () const
 Return the transferring species names. More...
 
const rhoMulticomponentThermothermo () 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...
 
tmp< volScalarFielddY (const word &speciesName, const volScalarField &Tf) const
 Mass fraction difference between the interface and the field. More...
 
tmp< volScalarFielddYfPrime (const word &speciesName, const volScalarField &Tf) const
 Mass fraction difference between the interface and the field. More...
 
tmp< volScalarFieldD (const word &speciesName) const
 Mass diffusivity. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from interfaceCompositionModel
static autoPtr< interfaceCompositionModelNew (const dictionary &dict, const phaseInterface &interface, const bool outer=true)
 

Detailed Description

Raoult's law of ideal mixing. 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.

Source files

Definition at line 52 of file Raoult.H.

Constructor & Destructor Documentation

◆ Raoult()

Raoult ( const dictionary dict,
const phaseInterface interface 
)

Construct from a dictionary and an interface.

Definition at line 43 of file Raoult.C.

References dict, forAllConstIter, interfaceCompositionModel::interface(), interfaceCompositionModel::New(), and interfaceCompositionModel::species().

Here is the call graph for this function:

◆ ~Raoult()

~Raoult ( )
virtual

Destructor.

Definition at line 93 of file Raoult.C.

Member Function Documentation

◆ TypeName()

TypeName ( "Raoult"  )

Runtime type information.

◆ update()

void update ( const volScalarField Tf)
virtual

Update the composition.

Implements interfaceCompositionModel.

Definition at line 99 of file Raoult.C.

References forAllIter.

◆ Yf()

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

The interface species fraction.

Implements interfaceCompositionModel.

Definition at line 123 of file Raoult.C.

References composition, and found.

◆ YfPrime()

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

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

Implements interfaceCompositionModel.

Definition at line 143 of file Raoult.C.

References composition, and found.


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