saturated Class Reference

Model which uses a saturation pressure model for a single species to calculate the interface composition. More...

Inheritance diagram for saturated:
Collaboration diagram for saturated:

Public Member Functions

 TypeName ("saturated")
 Runtime type information. More...
 
 saturated (const dictionary &dict, const phaseInterface &interface)
 Construct from a dictionary and an interface. More...
 
virtual ~saturated ()
 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...
 

Protected Member Functions

tmp< volScalarFieldwRatioByP () const
 Constant of proportionality between partial pressure and mass. More...
 

Protected Attributes

word saturatedName_
 saturated species name More...
 
label saturatedIndex_
 saturated species index More...
 
autoPtr< saturationPressureModelsaturationModel_
 Saturation pressure model. 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

Model which uses a saturation pressure model for a single species to calculate the interface composition.

Source files

Definition at line 52 of file saturated.H.

Constructor & Destructor Documentation

◆ saturated()

saturated ( const dictionary dict,
const phaseInterface interface 
)

Construct from a dictionary and an interface.

Definition at line 64 of file saturated.C.

References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and interfaceCompositionModel::species().

Here is the call graph for this function:

◆ ~saturated()

~saturated ( )
virtual

Destructor.

Definition at line 86 of file saturated.C.

Member Function Documentation

◆ wRatioByP()

Foam::tmp< Foam::volScalarField > wRatioByP ( ) const
protected

Constant of proportionality between partial pressure and mass.

fraction

Definition at line 49 of file saturated.C.

References interfaceCompositionModel::composition(), Foam::dimMass, Foam::dimMoles, fluidThermo::p(), saturated::saturatedIndex_, interfaceCompositionModel::thermo(), and fluidThermo::W().

Here is the call graph for this function:

◆ TypeName()

TypeName ( "saturated"  )

Runtime type information.

◆ update()

void update ( const volScalarField Tf)
virtual

Update the composition.

Implements interfaceCompositionModel.

Definition at line 92 of file saturated.C.

◆ Yf()

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

The interface species fraction.

Implements interfaceCompositionModel.

Definition at line 99 of file saturated.C.

References composition, and Foam::max().

Here is the call graph for this function:

◆ 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 122 of file saturated.C.

References composition, Foam::max(), and Y.

Here is the call graph for this function:

Member Data Documentation

◆ saturatedName_

word saturatedName_
protected

saturated species name

Definition at line 61 of file saturated.H.

◆ saturatedIndex_

label saturatedIndex_
protected

saturated species index

Definition at line 64 of file saturated.H.

Referenced by saturated::wRatioByP().

◆ saturationModel_

autoPtr<saturationPressureModel> saturationModel_
protected

Saturation pressure model.

Definition at line 67 of file saturated.H.


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