Public Types | Public Member Functions | Static Public Member Functions | List of all members
singleComponentMixture< ThermoType > Class Template Reference

Single component mixture. More...

Inheritance diagram for singleComponentMixture< ThermoType >:
Inheritance graph
[legend]
Collaboration diagram for singleComponentMixture< ThermoType >:
Collaboration graph
[legend]

Public Types

typedef ThermoType thermoType
 
- Public Types inherited from basicSpecieMixture
typedef basicSpecieMixture basicMixtureType
 
- Public Types inherited from basicMultiComponentMixture
typedef basicMultiComponentMixture basicMixtureType
 
- Public Types inherited from basicMixture
typedef basicMixture basicMixtureType
 

Public Member Functions

 singleComponentMixture (const dictionary &thermoDict, const fvMesh &mesh, const word &phaseName)
 
virtual ~singleComponentMixture ()=default
 
const ThermoType & cellMixture (const label celli) const
 
const ThermoType & patchFaceMixture (const label patchi, const label facei) const
 
const ThermoType & cellVolMixture (const scalar p, const scalar T, const label celli)
 
const ThermoType & patchFaceVolMixture (const scalar p, const scalar T, const label patchi, const label facei) const
 
void read (const dictionary &)
 
const ThermoType & getLocalThermo (const label speciei) const
 
- Public Member Functions inherited from basicSpecieMixture
 TypeName ("basicSpecieMixture")
 
 basicSpecieMixture (const dictionary &thermoDict, const wordList &specieNames, const fvMesh &mesh, const word &phaseName)
 
virtual ~basicSpecieMixture ()=default
 
virtual scalar W (const label speciei) const =0
 
virtual scalar Hc (const label speciei) const =0
 
virtual scalar Cp (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar Cv (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar HE (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar Ha (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar Hs (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar S (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar Es (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar G (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar A (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar mu (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar kappa (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar alphah (const label speciei, const scalar p, const scalar T) const =0
 
virtual scalar rho (const label speciei, const scalar p, const scalar T) const =0
 
virtual autoPtr< speciesCompositionTablespecieComposition () const
 
- Public Member Functions inherited from basicMultiComponentMixture
 TypeName ("basicMultiComponentMixture")
 
 basicMultiComponentMixture (const dictionary &thermoDict, const wordList &specieNames, const fvMesh &mesh, const word &phaseName)
 
virtual ~basicMultiComponentMixture ()=default
 
const speciesTablespecies () const
 
bool contains (const word &specieName) const
 
bool active (label speciei) const
 
const List< bool > & active () const
 
void setActive (label speciei)
 
void setInactive (label speciei)
 
PtrList< volScalarField > & Y ()
 
const PtrList< volScalarField > & Y () const
 
volScalarFieldY (const label i)
 
const volScalarFieldY (const label i) const
 
volScalarFieldY (const word &specieName)
 
const volScalarFieldY (const word &specieName) const
 
- Public Member Functions inherited from basicMixture
 basicMixture (const dictionary &, const fvMesh &, const word &)
 

Static Public Member Functions

static word typeName ()
 

Additional Inherited Members

- Protected Attributes inherited from basicMultiComponentMixture
speciesTable species_
 
List< boolactive_
 
PtrList< volScalarFieldY_
 

Detailed Description

template<class ThermoType>
class Foam::singleComponentMixture< ThermoType >

Single component mixture.

Source files

Definition at line 47 of file singleComponentMixture.H.

Member Typedef Documentation

◆ thermoType

typedef ThermoType thermoType

Definition at line 60 of file singleComponentMixture.H.

Constructor & Destructor Documentation

◆ singleComponentMixture()

singleComponentMixture ( const dictionary thermoDict,
const fvMesh mesh,
const word phaseName 
)

Definition at line 27 of file singleComponentMixture.C.

◆ ~singleComponentMixture()

virtual ~singleComponentMixture ( )
virtualdefault

Member Function Documentation

◆ typeName()

static word typeName ( )
inlinestatic

Definition at line 83 of file singleComponentMixture.H.

◆ cellMixture()

const ThermoType& cellMixture ( const label  celli) const
inline

Definition at line 89 of file singleComponentMixture.H.

◆ patchFaceMixture()

const ThermoType& patchFaceMixture ( const label  patchi,
const label  facei 
) const
inline

Definition at line 96 of file singleComponentMixture.H.

◆ cellVolMixture()

const ThermoType& cellVolMixture ( const scalar  p,
const scalar  T,
const label  celli 
)
inline

Definition at line 106 of file singleComponentMixture.H.

◆ patchFaceVolMixture()

const ThermoType& patchFaceVolMixture ( const scalar  p,
const scalar  T,
const label  patchi,
const label  facei 
) const
inline

Definition at line 117 of file singleComponentMixture.H.

◆ read()

void read ( const dictionary thermoDict)

Definition at line 42 of file singleComponentMixture.C.

References thermoDict.

◆ getLocalThermo()

const ThermoType& getLocalThermo ( const label  speciei) const
inline

Definition at line 131 of file singleComponentMixture.H.

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

Here is the call graph for this function:

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