Public Types | Public Member Functions | List of all members
basicSpecieMixture Class Referenceabstract

Specialization of basicMultiComponentMixture for a mixture consisting of a number for molecular species. More...

Inheritance diagram for basicSpecieMixture:
Inheritance graph
[legend]
Collaboration diagram for basicSpecieMixture:
Collaboration graph
[legend]

Public Types

typedef basicSpecieMixture basicMixtureType
 The base class of the mixture. More...
 
- Public Types inherited from basicMultiComponentMixture
typedef basicMultiComponentMixture basicMixtureType
 The base class of the mixture. More...
 

Public Member Functions

 TypeName ("basicSpecieMixture")
 Run time type information. More...
 
 basicSpecieMixture (const dictionary &, const wordList &specieNames, const fvMesh &, const word &)
 Construct from dictionary, species names, mesh and phase name. More...
 
virtual ~basicSpecieMixture ()
 Destructor. More...
 
virtual scalar nMoles (const label speciei) const =0
 Number of moles of the given specie []. More...
 
virtual scalar W (const label speciei) const =0
 Molecular weight of the given specie [kg/kmol]. More...
 
tmp< volScalarFieldW () const
 Molecular weight of the mixture [kg/kmol]. More...
 
virtual scalar Cp (const label speciei, const scalar p, const scalar T) const =0
 Heat capacity at constant pressure [J/(kg K)]. More...
 
virtual scalar Cv (const label speciei, const scalar p, const scalar T) const =0
 Heat capacity at constant volume [J/(kg K)]. More...
 
virtual scalar Ha (const label speciei, const scalar p, const scalar T) const =0
 Absolute enthalpy [J/kg]. More...
 
virtual scalar Hs (const label speciei, const scalar p, const scalar T) const =0
 Sensible enthalpy [J/kg]. More...
 
virtual scalar Hc (const label speciei) const =0
 Chemical enthalpy [J/kg]. More...
 
virtual scalar S (const label speciei, const scalar p, const scalar T) const =0
 Entropy [J/(kg K)]. More...
 
virtual scalar Es (const label speciei, const scalar p, const scalar T) const =0
 Sensible internal energy [J/kg]. More...
 
virtual scalar G (const label speciei, const scalar p, const scalar T) const =0
 Gibbs free energy [J/kg]. More...
 
virtual scalar A (const label speciei, const scalar p, const scalar T) const =0
 Helmholtz free energy [J/kg]. More...
 
virtual scalar mu (const label speciei, const scalar p, const scalar T) const =0
 Dynamic viscosity [kg/m/s]. More...
 
virtual scalar kappa (const label speciei, const scalar p, const scalar T) const =0
 Thermal conductivity [W/m/K]. More...
 
virtual scalar alphah (const label speciei, const scalar p, const scalar T) const =0
 Thermal diffusivity of enthalpy [kg/m/s]. More...
 
virtual scalar rho (const label speciei, const scalar p, const scalar T) const =0
 Density [kg/m3]. More...
 
- Public Member Functions inherited from basicMultiComponentMixture
 TypeName ("basicMultiComponentMixture")
 Run time type information. More...
 
 basicMultiComponentMixture (const dictionary &, const wordList &specieNames, const fvMesh &, const word &)
 Construct from dictionary, species names, mesh and phase name. More...
 
virtual ~basicMultiComponentMixture ()
 Destructor. More...
 
const speciesTablespecies () const
 Return the table of species. More...
 
PtrList< volScalarField > & Y ()
 Return the mass-fraction fields. More...
 
const PtrList< volScalarField > & Y () const
 Return the const mass-fraction fields. More...
 
volScalarFieldY (const label i)
 Return the mass-fraction field for a specie given by index. More...
 
const volScalarFieldY (const label i) const
 Return the const mass-fraction field for a specie given by index. More...
 
volScalarFieldY (const word &specieName)
 Return the mass-fraction field for a specie given by name. More...
 
const volScalarFieldY (const word &specieName) const
 Return the const mass-fraction field for a specie given by name. More...
 
bool contains (const word &specieName) const
 Does the mixture include this specie? More...
 

Additional Inherited Members

- Protected Attributes inherited from basicMultiComponentMixture
speciesTable species_
 Table of specie names. More...
 
PtrList< volScalarFieldY_
 Species mass fractions. More...
 

Detailed Description

Specialization of basicMultiComponentMixture for a mixture consisting of a number for molecular species.

Source files

Definition at line 49 of file basicSpecieMixture.H.

Member Typedef Documentation

The base class of the mixture.

Definition at line 60 of file basicSpecieMixture.H.

Constructor & Destructor Documentation

basicSpecieMixture ( const dictionary thermoDict,
const wordList specieNames,
const fvMesh mesh,
const word phaseName 
)

Construct from dictionary, species names, mesh and phase name.

Definition at line 39 of file basicSpecieMixture.C.

virtual ~basicSpecieMixture ( )
inlinevirtual

Member Function Documentation

TypeName ( "basicSpecieMixture"  )

Run time type information.

virtual scalar nMoles ( const label  speciei) const
pure virtual

Number of moles of the given specie [].

Referenced by basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar W ( const label  speciei) const
pure virtual

Molecular weight of the given specie [kg/kmol].

Referenced by greyMeanAbsorptionEmission::aCont(), ReactingParcel< ParcelType >::correctSurfaceValues(), and CompositionModel< CloudType >::X().

Here is the caller graph for this function:

Molecular weight of the mixture [kg/kmol].

Definition at line 52 of file basicSpecieMixture.C.

References Foam::dimless, forAll, Foam::constant::atomic::group, IOobject::groupName(), mesh, tmp< T >::ref(), timeName, Y, and basicMultiComponentMixture::Y().

Referenced by basicSpecieMixture::~basicSpecieMixture().

Here is the call graph for this function:

Here is the caller graph for this function:

virtual scalar Cp ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

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

Referenced by ReactingParcel< ParcelType >::correctSurfaceValues(), CompositionModel< CloudType >::Cp(), and basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar Cv ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

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

Referenced by basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar Ha ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Absolute enthalpy [J/kg].

Referenced by CompositionModel< CloudType >::H(), and basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar Hs ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Sensible enthalpy [J/kg].

Referenced by CompositionModel< CloudType >::Hs(), and basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar Hc ( const label  speciei) const
pure virtual

Chemical enthalpy [J/kg].

Referenced by CompositionModel< CloudType >::Hc(), and basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar S ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Entropy [J/(kg K)].

Referenced by basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar Es ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Sensible internal energy [J/kg].

Referenced by basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar G ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Gibbs free energy [J/kg].

Referenced by basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar A ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Helmholtz free energy [J/kg].

Referenced by basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar mu ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Dynamic viscosity [kg/m/s].

Referenced by ReactingParcel< ParcelType >::correctSurfaceValues(), and basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar kappa ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Thermal conductivity [W/m/K].

Referenced by ReactingParcel< ParcelType >::correctSurfaceValues(), and basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar alphah ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Thermal diffusivity of enthalpy [kg/m/s].

Referenced by basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:

virtual scalar rho ( const label  speciei,
const scalar  p,
const scalar  T 
) const
pure virtual

Density [kg/m3].

Referenced by basicSpecieMixture::~basicSpecieMixture().

Here is the caller graph for this function:


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