

Public Member Functions | |
| implementation (const dictionary &, const wordList &, const fvMesh &, const word &) | |
| Construct from dictionary, specie names, mesh and phase name. More... | |
| virtual | ~implementation () |
| Destructor. More... | |
| virtual const speciesTable & | species () const |
| The table of species. More... | |
| virtual PtrList< volScalarField > & | Y () |
| Access the mass-fraction fields. More... | |
| virtual const PtrList< volScalarField > & | Y () const |
| Access the mass-fraction fields. More... | |
| volScalarFieldListSlicer | Yslicer () const |
| Get the slicer. More... | |
| scalarFieldListSlice | cellComposition (const volScalarFieldListSlicer &Yslicer, const label celli) const |
| Get the composition of an internal cell. More... | |
| scalarFieldListSlice | patchFaceComposition (const volScalarFieldListSlicer &Yslicer, const label patchi, const label facei) const |
| Get the composition of a boundary face. More... | |
| DimensionedFieldListAndSlicer< scalar, volMesh > | Yslicer (const fvSource &model, const volScalarField::Internal &source) const |
| Get the slicer for the given source. More... | |
| scalarFieldListSlice | sourceCellComposition (const DimensionedFieldListAndSlicer< scalar, volMesh > &Yslicer, const label i) const |
| Get the composition of a source cell. More... | |
| PtrList< scalarField > | Yslicer (const fvSource &model, const scalarField &source, const labelUList &cells) const |
| Get the slicer for the given source. More... | |
| scalarFieldListSlice | sourceCellComposition (const PtrList< scalarField > &Yslicer, const label i) const |
| Get the composition of a source cell. More... | |
Public Member Functions inherited from psiuMulticomponentThermo | |
| TypeName ("psiuMulticomponentThermo") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, psiuMulticomponentThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName)) | |
| virtual | ~psiuMulticomponentThermo () |
| Destructor. More... | |
| bool | containsSpecie (const word &specieName) const |
| Does the mixture include this specie? More... | |
| volScalarField & | Y (const word &specieName) |
| Return the mass-fraction field for a specie given by name. More... | |
| const volScalarField & | Y (const word &specieName) const |
| Return the const mass-fraction field for a specie given by name. More... | |
| virtual tmp< volScalarField > | fres () const =0 |
| Return the residual fraction of fuel in the burnt mixture. More... | |
| virtual void | reset ()=0 |
| Reset the mixture to an unburnt state and update EGR. More... | |
| virtual const volScalarField & | Tu () const =0 |
| Unburnt gas temperature [K]. More... | |
| virtual const volScalarField & | heu () const =0 |
| Unburnt gas enthalpy [J/kg]. More... | |
| virtual volScalarField & | heu ()=0 |
| Unburnt gas enthalpy [J/kg]. More... | |
| virtual tmp< scalarField > | heu (const scalarField &T, const labelList &cells) const =0 |
| Unburnt gas enthalpy for cell-set [J/kg]. More... | |
| virtual tmp< scalarField > | heu (const scalarField &T, const label patchi) const =0 |
| Unburnt gas enthalpy for patch [J/kg]. More... | |
| virtual tmp< volScalarField > | hr () const =0 |
| Standard enthalpy of reaction [J/kg]. More... | |
| virtual tmp< volScalarField > | Tb () const =0 |
| Burnt gas temperature [K]. More... | |
| virtual tmp< volScalarField > | psiu () const =0 |
| Unburnt gas compressibility [s^2/m^2]. More... | |
| virtual tmp< volScalarField > | psib () const =0 |
| Burnt gas compressibility [s^2/m^2]. More... | |
| tmp< volScalarField > | rhou () const |
| Unburnt gas density [kg/m^3]. More... | |
| tmp< volScalarField > | rhob () const |
| Burnt gas density [kg/m^3]. More... | |
| virtual tmp< volScalarField > | muu () const =0 |
| Dynamic viscosity of unburnt gas [kg/m/s]. More... | |
| virtual tmp< volScalarField > | mub () const =0 |
| Dynamic viscosity of burnt gas [kg/m/s]. More... | |
Public Member Functions inherited from psiThermo | |
| TypeName ("psiThermo") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, psiThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName)) | |
| Declare run-time constructor selection table. More... | |
| virtual | ~psiThermo () |
| Destructor. More... | |
| virtual tmp< volScalarField > | rho () const =0 |
| Density [kg/m^3] - uses current value of pressure. More... | |
| virtual tmp< scalarField > | rho (const label patchi) const =0 |
| Density for patch [kg/m^3]. More... | |
| virtual tmp< volScalarField > | renameRho () |
| Return the thermodynamic density field [kg/m^3]. More... | |
| virtual void | correctRho (const volScalarField &deltaRho) |
| Add the given density correction to the density field. More... | |
Public Member Functions inherited from fluidThermo | |
| TypeName ("fluidThermo") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, fluidThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName)) | |
| Declare run-time constructor selection table. More... | |
| virtual | ~fluidThermo () |
| Destructor. More... | |
| virtual const volScalarField & | p () const =0 |
| Pressure [Pa]. More... | |
| virtual volScalarField & | p ()=0 |
| Pressure [Pa]. More... | |
| virtual const volScalarField & | psi () const =0 |
| Compressibility [s^2/m^2]. More... | |
| virtual const volScalarField & | mu () const =0 |
| Dynamic viscosity of mixture [kg/m/s]. More... | |
| tmp< volScalarField > | nu () const |
| Kinematic viscosity of mixture [m^2/s]. More... | |
| tmp< scalarField > | nu (const label patchi) const |
| Kinematic viscosity of mixture for patch [m^2/s]. More... | |
Public Member Functions inherited from basicThermo | |
| TypeName ("basicThermo") | |
| Runtime type information. More... | |
| declareRunTimeSelectionTable (autoPtr, basicThermo, fvMesh,(const fvMesh &mesh, const word &phaseName),(mesh, phaseName)) | |
| Declare run-time constructor selection table. More... | |
| virtual | ~basicThermo () |
| Destructor. More... | |
| virtual const IOdictionary & | properties () const =0 |
| Properties dictionary. More... | |
| virtual IOdictionary & | properties ()=0 |
| Non-const access the properties dictionary. More... | |
| virtual const fvMesh & | mesh () const =0 |
| Return const access to the mesh. More... | |
| virtual const word & | phaseName () const =0 |
| Phase name. More... | |
| word | phasePropertyName (const word &name) const |
| Name of a property for a given phase. More... | |
| void | validate (const string &app, const word &) const |
| Check that the thermodynamics package is consistent. More... | |
| void | validate (const string &app, const word &, const word &) const |
| Check that the thermodynamics package is consistent. More... | |
| virtual void | correct ()=0 |
| Update properties. More... | |
| virtual word | thermoName () const =0 |
| Name of the thermo physics. More... | |
| virtual bool | incompressible () const =0 |
| Return true if the equation of state is incompressible. More... | |
| virtual bool | isochoric () const =0 |
| Return true if the equation of state is isochoric. More... | |
| virtual Switch | dpdt () const =0 |
| Should the dpdt term be included in the enthalpy equation. More... | |
| virtual tmp< volScalarField > | W () const =0 |
| Molecular weight [kg/kmol]. More... | |
| virtual tmp< scalarField > | W (const label patchi) const =0 |
| Molecular weight for patch [kg/kmol]. More... | |
| virtual const volScalarField & | T () const =0 |
| Temperature [K]. More... | |
| virtual volScalarField & | T ()=0 |
| Temperature [K]. More... | |
| virtual const volScalarField & | he () const =0 |
| Enthalpy/Internal energy [J/kg]. More... | |
| virtual volScalarField & | he ()=0 |
| Enthalpy/Internal energy [J/kg]. More... | |
| virtual const volScalarField & | Cp () const =0 |
| Heat capacity at constant pressure [J/kg/K]. More... | |
| virtual const volScalarField & | Cv () const =0 |
| Heat capacity at constant volume [J/kg/K]. More... | |
| virtual const volScalarField & | Cpv () const =0 |
| Heat capacity at constant pressure/volume [J/kg/K]. More... | |
| virtual tmp< volScalarField > | he (const volScalarField &p, const volScalarField &T) const =0 |
| Enthalpy/Internal energy. More... | |
| virtual tmp< volScalarField::Internal > | he (const volScalarField::Internal &p, const volScalarField::Internal &T) const =0 |
| Enthalpy/Internal energy. More... | |
| virtual tmp< scalarField > | he (const scalarField &T, const labelList &cells) const =0 |
| Enthalpy/Internal energy for cell-set [J/kg]. More... | |
| virtual tmp< scalarField > | he (const scalarField &T, const label patchi) const =0 |
| Enthalpy/Internal energy for patch [J/kg]. More... | |
| virtual tmp< volScalarField::Internal > | he (const volScalarField::Internal &T, const fvSource &model, const volScalarField::Internal &source) const =0 |
| Enthalpy/Internal energy for source [J/kg]. More... | |
| virtual tmp< scalarField > | he (const scalarField &T, const fvSource &model, const scalarField &source, const labelUList &cells) const =0 |
| Enthalpy/Internal energy for source [J/kg]. More... | |
| virtual tmp< volScalarField > | hs () const =0 |
| Sensible enthalpy [J/kg]. More... | |
| virtual tmp< volScalarField > | hs (const volScalarField &p, const volScalarField &T) const =0 |
| Sensible enthalpy. More... | |
| virtual tmp< volScalarField::Internal > | hs (const volScalarField::Internal &p, const volScalarField::Internal &T) const =0 |
| Sensible enthalpy. More... | |
| virtual tmp< scalarField > | hs (const scalarField &T, const labelList &cells) const =0 |
| Sensible enthalpy for cell-set [J/kg]. More... | |
| virtual tmp< scalarField > | hs (const scalarField &T, const label patchi) const =0 |
| Sensible enthalpy for patch [J/kg]. More... | |
| virtual tmp< volScalarField > | ha () const =0 |
| Absolute enthalpy [J/kg]. More... | |
| virtual tmp< volScalarField > | ha (const volScalarField &p, const volScalarField &T) const =0 |
| Absolute enthalpy. More... | |
| virtual tmp< volScalarField::Internal > | ha (const volScalarField::Internal &p, const volScalarField::Internal &T) const =0 |
| Absolute enthalpy. More... | |
| virtual tmp< scalarField > | ha (const scalarField &T, const labelList &cells) const =0 |
| Absolute enthalpy for cell-set [J/kg]. More... | |
| virtual tmp< scalarField > | ha (const scalarField &T, const label patchi) const =0 |
| Absolute enthalpy for patch [J/kg]. More... | |
| virtual tmp< scalarField > | Cp (const scalarField &T, const label patchi) const =0 |
| Heat capacity at constant pressure for patch [J/kg/K]. More... | |
| virtual tmp< scalarField > | Cv (const scalarField &T, const label patchi) const =0 |
| Heat capacity at constant volume for patch [J/kg/K]. More... | |
| virtual tmp< scalarField > | Cpv (const scalarField &T, const label patchi) const =0 |
| Heat capacity at constant pressure/volume for patch [J/kg/K]. More... | |
| tmp< volScalarField > | gamma () const |
| Gamma = Cp/Cv []. More... | |
| tmp< scalarField > | gamma (const scalarField &T, const label patchi) const |
| Gamma = Cp/Cv for patch []. More... | |
| virtual tmp< volScalarField > | The (const volScalarField &h, const volScalarField &p, const volScalarField &T0) const =0 |
| Temperature from enthalpy/internal energy. More... | |
| virtual tmp< scalarField > | The (const scalarField &h, const scalarField &T0, const labelList &cells) const =0 |
| Temperature from enthalpy/internal energy for cell-set. More... | |
| virtual tmp< scalarField > | The (const scalarField &h, const scalarField &T0, const label patchi) const =0 |
| Temperature from enthalpy/internal energy for patch. More... | |
| virtual const volScalarField & | kappa () const =0 |
| Thermal conductivity of mixture [W/m/K]. More... | |
| template<class FieldType > | |
| const Foam::basicThermo & | lookupThermo (const FieldType &f) |
| template<class Thermo > | |
| Foam::autoPtr< Thermo > | New (const fvMesh &mesh, const word &phaseName) |
Public Member Functions inherited from viscosity | |
| TypeName ("viscosity") | |
| Runtime type information. More... | |
| viscosity () | |
| Construct. More... | |
| viscosity (const viscosity &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~viscosity () |
| Destructor. More... | |
| void | operator= (const viscosity &)=delete |
| Disallow default bitwise assignment. More... | |
Protected Attributes | |
| speciesTable | species_ |
| Table of specie names. More... | |
| PtrList< volScalarField > | Y_ |
| Species mass fractions. More... | |
Additional Inherited Members | |
Public Types inherited from psiuMulticomponentThermo | |
| template<class MixtureType > | |
| using | DerivedThermoType = PsiuMulticomponentThermo< BasicThermo< MixtureType, composite > > |
| The derived type. More... | |
Public Types inherited from psiThermo | |
| template<class MixtureType > | |
| using | DerivedThermoType = PsiThermo< BasicThermo< MixtureType, composite > > |
| The derived type. More... | |
Static Public Member Functions inherited from psiuMulticomponentThermo | |
| static autoPtr< psiuMulticomponentThermo > | New (const fvMesh &, const word &phaseName=word::null) |
| Standard selection based on fvMesh. More... | |
Static Public Member Functions inherited from psiThermo | |
| static autoPtr< psiThermo > | New (const fvMesh &mesh, const word &phaseName=word::null) |
| Standard selection based on fvMesh. More... | |
Static Public Member Functions inherited from fluidThermo | |
| static autoPtr< fluidThermo > | New (const fvMesh &, const word &phaseName=word::null) |
| Standard selection based on fvMesh. More... | |
Static Public Member Functions inherited from basicThermo | |
| static word | phasePropertyName (const word &name, const word &phaseName) |
| Name of a property for a given phase. More... | |
| template<class FieldType > | |
| static const basicThermo & | lookupThermo (const FieldType &f) |
| Lookup the thermo associated with the given field. More... | |
| static wordList | splitThermoName (const word &thermoName, const int nCmpt) |
| Split name of thermo package into a list of the components names. More... | |
| static List< Pair< word > > | thermoNameComponents (const word &thermoName) |
| Split name of thermo package into a list of named components names. More... | |
| template<class Thermo > | |
| static autoPtr< Thermo > | New (const fvMesh &, const word &phaseName=word::null) |
| Generic New for each of the related thermodynamics packages. More... | |
| static autoPtr< basicThermo > | New (const fvMesh &, const word &phaseName=word::null) |
| Specialisation of the Generic New for basicThermo. More... | |
Static Public Attributes inherited from psiuMulticomponentThermo | |
| static const word | derivedThermoName |
| The derived name. More... | |
Static Public Attributes inherited from psiThermo | |
| static const word | derivedThermoName |
| The derived name. More... | |
Protected Member Functions inherited from psiuMulticomponentThermo | |
| wordList | heuBoundaryTypes () |
| Return the unburnt enthalpy/internal energy field boundary types. More... | |
| void | heuBoundaryCorrection (volScalarField &heu) |
| ... More... | |
Protected Member Functions inherited from basicThermo | |
| wordList | heBoundaryTypes () |
| Enthalpy/internal energy field boundary types. More... | |
| wordList | heBoundaryBaseTypes () |
| Enthalpy/internal energy field boundary base types. More... | |
| HashTable< word > | heSourcesTypes () |
| Enthalpy/internal energy field sources types. More... | |
Static Protected Member Functions inherited from basicThermo | |
| static volScalarField & | lookupOrConstruct (const fvMesh &mesh, const char *name) |
| Lookup and the named field, or construct it as MUST-READ if it is. More... | |
| template<class Thermo , class Table > | |
| static Table::iterator | lookupCstrIter (const dictionary &thermoTypeDict, Table *tablePtr, const int nCmpt, const char *cmptNames[], const word &thermoTypeName) |
| Get the constructor iterator for the given thermo dictionary and. More... | |
| template<class Thermo , class Table > | |
| static Table::iterator | lookupCstrIter (const dictionary &thermoDict, Table *tablePtr) |
| Get the constructor iterator for the given thermo dictionary and. More... | |
Definition at line 218 of file psiuMulticomponentThermo.H.
| implementation | ( | const dictionary & | dict, |
| const wordList & | specieNames, | ||
| const fvMesh & | mesh, | ||
| const word & | phaseName | ||
| ) |
Construct from dictionary, specie names, mesh and phase name.
Definition at line 106 of file psiuMulticomponentThermo.C.
References IOobject::AUTO_WRITE, forAll, IOobject::groupName(), basicThermo::mesh(), IOobject::MUST_READ, dimensioned< Type >::name(), basicThermo::phaseName(), psiuMulticomponentThermo::implementation::species_, fvMesh::time(), and psiuMulticomponentThermo::implementation::Y_.

|
virtual |
Destructor.
Definition at line 158 of file psiuMulticomponentThermo.C.
|
virtual |
The table of species.
Implements psiuMulticomponentThermo.
Definition at line 177 of file psiuMulticomponentThermo.C.
|
virtual |
Access the mass-fraction fields.
Implements psiuMulticomponentThermo.
Definition at line 184 of file psiuMulticomponentThermo.C.
|
virtual |
Access the mass-fraction fields.
Implements psiuMulticomponentThermo.
Definition at line 191 of file psiuMulticomponentThermo.C.
|
inline |
|
inline |
Get the composition of an internal cell.
Definition at line 67 of file psiuMulticomponentThermoI.H.
|
inline |
Get the composition of a boundary face.
Definition at line 78 of file psiuMulticomponentThermoI.H.
References patchi.
|
inline |
Get the slicer for the given source.
Definition at line 90 of file psiuMulticomponentThermoI.H.
References forAll, fvModel::name(), and PtrList< T >::set().

|
inline |
Get the composition of a source cell.
Definition at line 115 of file psiuMulticomponentThermoI.H.
|
inline |
Get the slicer for the given source.
Definition at line 126 of file psiuMulticomponentThermoI.H.
References cells, forAll, fvModel::name(), and PtrList< T >::set().

|
inline |
Get the composition of a source cell.
Definition at line 152 of file psiuMulticomponentThermoI.H.
|
protected |
Table of specie names.
Definition at line 227 of file psiuMulticomponentThermo.H.
Referenced by psiuMulticomponentThermo::implementation::implementation().
|
protected |
Species mass fractions.
Definition at line 230 of file psiuMulticomponentThermo.H.
Referenced by psiuMulticomponentThermo::implementation::implementation().