MulticomponentLagrangianThermo< BaseThermo > Class Template Reference

Multicomponent Lagrangian thermodynamic model implementation. More...

Inheritance diagram for MulticomponentLagrangianThermo< BaseThermo >:
Collaboration diagram for MulticomponentLagrangianThermo< BaseThermo >:

Public Member Functions

virtual ~MulticomponentLagrangianThermo ()
 Destructor. More...
 
virtual const speciesTablespecies () const
 Return the table of species. More...
 
virtual dimensionedScalar Wi (const label speciei) const
 Molecular weight [kg/kmol]. More...
 
virtual tmp< LagrangianSubScalarFieldrhoi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const
 Density [kg/m^3]. More...
 
virtual tmp< LagrangianSubScalarFieldhsi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const
 Sensible enthalpy [J/kg]. More...
 
virtual dimensionedScalar hfi (const label speciei) const
 Enthalpy of formation [J/kg]. More...
 
virtual tmp< LagrangianSubScalarFieldCvi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const
 Heat capacity at constant volume [J/kg/K]. More...
 
virtual tmp< LagrangianSubScalarFieldCpi (const label speciei, const LagrangianSubScalarField &p, const LagrangianSubScalarField &T) const
 Heat capacity at constant pressure [J/kg/K]. More...
 
template<class Method , class ... Args>
Foam::tmp< Foam::LagrangianInternalScalarFieldLagrangianInternalScalarFieldPropertyi (const word &psiName, const dimensionSet &psiDim, Method psiMethod, const label speciei, const Args &... args) const
 
template<class Method , class ... Args>
Foam::tmp< Foam::LagrangianSubScalarFieldLagrangianSubScalarFieldPropertyi (const LagrangianSubMesh &subMesh, const word &psiName, const dimensionSet &psiDim, Method psiMethod, const label speciei, const Args &... args) const
 

Protected Member Functions

template<class Method , class ... Args>
tmp< LagrangianInternalScalarFieldLagrangianInternalScalarFieldPropertyi (const word &psiName, const dimensionSet &psiDim, Method psiMethod, const label speciei, const Args &... args) const
 Return a LagrangianInternalScalarField of the given property. More...
 
template<class Method , class ... Args>
tmp< LagrangianSubScalarFieldLagrangianSubScalarFieldPropertyi (const LagrangianSubMesh &subMesh, const word &psiName, const dimensionSet &psiDim, Method psiMethod, const label speciei, const Args &... args) const
 Return a LagrangianSubScalarField of the given property. More...
 

Detailed Description

template<class BaseThermo>
class Foam::MulticomponentLagrangianThermo< BaseThermo >

Multicomponent Lagrangian thermodynamic model implementation.

Source files

Definition at line 50 of file MulticomponentLagrangianThermo.H.

Constructor & Destructor Documentation

◆ ~MulticomponentLagrangianThermo()

Destructor.

Definition at line 106 of file MulticomponentLagrangianThermo.C.

Member Function Documentation

◆ LagrangianInternalScalarFieldPropertyi() [1/2]

tmp<LagrangianInternalScalarField> LagrangianInternalScalarFieldPropertyi ( const word psiName,
const dimensionSet psiDim,
Method  psiMethod,
const label  speciei,
const Args &...  args 
) const
protected

Return a LagrangianInternalScalarField of the given property.

◆ LagrangianSubScalarFieldPropertyi() [1/2]

tmp<LagrangianSubScalarField> LagrangianSubScalarFieldPropertyi ( const LagrangianSubMesh subMesh,
const word psiName,
const dimensionSet psiDim,
Method  psiMethod,
const label  speciei,
const Args &...  args 
) const
protected

Return a LagrangianSubScalarField of the given property.

◆ species()

virtual const speciesTable& species ( ) const
inlinevirtual

Return the table of species.

Definition at line 101 of file MulticomponentLagrangianThermo.H.

◆ Wi()

Foam::dimensionedScalar Wi ( const label  speciei) const
virtual

Molecular weight [kg/kmol].

Definition at line 114 of file MulticomponentLagrangianThermo.C.

References Foam::dimMass, Foam::dimMoles, and W().

Here is the call graph for this function:

◆ rhoi()

Foam::tmp< Foam::LagrangianSubScalarField > rhoi ( const label  speciei,
const LagrangianSubScalarField p,
const LagrangianSubScalarField T 
) const
virtual

Density [kg/m^3].

Definition at line 131 of file MulticomponentLagrangianThermo.C.

References Foam::dimDensity, p, rho, and Foam::T().

Here is the call graph for this function:

◆ hsi()

Foam::tmp< Foam::LagrangianSubScalarField > hsi ( const label  speciei,
const LagrangianSubScalarField p,
const LagrangianSubScalarField T 
) const
virtual

Sensible enthalpy [J/kg].

Definition at line 153 of file MulticomponentLagrangianThermo.C.

References Foam::dimEnergy, Foam::dimMass, hs(), p, and Foam::T().

Here is the call graph for this function:

◆ hfi()

Foam::dimensionedScalar hfi ( const label  speciei) const
virtual

Enthalpy of formation [J/kg].

Definition at line 174 of file MulticomponentLagrangianThermo.C.

References Foam::dimEnergy, and Foam::dimMass.

◆ Cvi()

Foam::tmp< Foam::LagrangianSubScalarField > Cvi ( const label  speciei,
const LagrangianSubScalarField p,
const LagrangianSubScalarField T 
) const
virtual

Heat capacity at constant volume [J/kg/K].

Definition at line 191 of file MulticomponentLagrangianThermo.C.

References Cv(), Foam::dimSpecificHeatCapacity, p, and Foam::T().

Here is the call graph for this function:

◆ Cpi()

Foam::tmp< Foam::LagrangianSubScalarField > Cpi ( const label  speciei,
const LagrangianSubScalarField p,
const LagrangianSubScalarField T 
) const
virtual

Heat capacity at constant pressure [J/kg/K].

Definition at line 213 of file MulticomponentLagrangianThermo.C.

References Cp(), Foam::dimSpecificHeatCapacity, p, and Foam::T().

Here is the call graph for this function:

◆ LagrangianInternalScalarFieldPropertyi() [2/2]

Foam::tmp<Foam::LagrangianInternalScalarField> LagrangianInternalScalarFieldPropertyi ( const word psiName,
const dimensionSet psiDim,
Method  psiMethod,
const label  speciei,
const Args &...  args 
) const

Definition at line 33 of file MulticomponentLagrangianThermo.C.

References args, forAll, Foam::constant::atomic::group, mesh, Foam::New(), psi, tmp< T >::ref(), and thermo.

Here is the call graph for this function:

◆ LagrangianSubScalarFieldPropertyi() [2/2]

Foam::tmp<Foam::LagrangianSubScalarField> LagrangianSubScalarFieldPropertyi ( const LagrangianSubMesh subMesh,
const word psiName,
const dimensionSet psiDim,
Method  psiMethod,
const label  speciei,
const Args &...  args 
) const

Definition at line 69 of file MulticomponentLagrangianThermo.C.

References args, forAll, Foam::New(), psi, tmp< T >::ref(), LagrangianSubMesh::sub(), and thermo.

Here is the call graph for this function:

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