Loading...
Searching...
No Matches
basicSpecieMixture Class Referenceabstract

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

#include <basicSpecieMixture.H>

Inheritance diagram for basicSpecieMixture:
Collaboration diagram for basicSpecieMixture:

Public Types

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

Public Member Functions

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

Additional Inherited Members

Protected Attributes inherited from basicMultiComponentMixture
speciesTable species_
 Table of specie names.
List< bool > active_
 List of specie active flags.
PtrList< volScalarFieldY_
 Species mass fractions.

Detailed Description

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

Source files

Definition at line 54 of file basicSpecieMixture.H.

Member Typedef Documentation

◆ basicMixtureType

The base class of the mixture.

Definition at line 69 of file basicSpecieMixture.H.

Constructor & Destructor Documentation

◆ basicSpecieMixture()

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 33 of file basicSpecieMixture.C.

References basicMultiComponentMixture::basicMultiComponentMixture(), mesh, and thermoDict.

Referenced by basicCombustionMixture::basicCombustionMixture(), multiComponentMixture< ThermoType >::multiComponentMixture(), multiComponentMixture< ThermoType >::multiComponentMixture(), and singleComponentMixture< ThermoType >::singleComponentMixture().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ ~basicSpecieMixture()

virtual ~basicSpecieMixture ( )
virtualdefault

Destructor.

Member Function Documentation

◆ TypeName()

TypeName ( "basicSpecieMixture" )

Run time type information.

◆ W()

◆ Hc()

◆ Cp()

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

◆ Cv()

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

◆ HE()

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

◆ Ha()

◆ Hs()

◆ S()

◆ Es()

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

◆ G()

◆ A()

◆ mu()

◆ kappa()

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

◆ alphah()

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

◆ rho()

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

◆ specieComposition()

virtual autoPtr< speciesCompositionTable > specieComposition ( ) const
inlinevirtual

Species composition.

Reimplemented in reactingMixture< ThermoType >.

Definition at line 246 of file basicSpecieMixture.H.

References autoPtr< T >::New().

Here is the call graph for this function:

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