Foam::veryInhomogeneousMixture. More...
Public Types | |
typedef ThermoType | thermoType |
The type of thermodynamics this mixture is instantiated for. More... | |
![]() | |
typedef basicCombustionMixture | basicMixtureType |
The base class of the mixture. More... | |
![]() | |
typedef basicSpecieMixture | basicMixtureType |
The base class of the mixture. More... | |
![]() | |
typedef basicMultiComponentMixture | basicMixtureType |
The base class of the mixture. More... | |
Public Member Functions | |
veryInhomogeneousMixture (const dictionary &, const fvMesh &, const word &) | |
Construct from dictionary, mesh and phase name. More... | |
virtual | ~veryInhomogeneousMixture () |
Destructor. More... | |
const dimensionedScalar & | stoicRatio () const |
const ThermoType & | mixture (const scalar, const scalar) const |
const ThermoType & | cellMixture (const label celli) const |
const ThermoType & | patchFaceMixture (const label patchi, const label facei) const |
const ThermoType & | cellReactants (const label celli) const |
const ThermoType & | patchFaceReactants (const label patchi, const label facei) const |
const ThermoType & | cellProducts (const label celli) const |
const ThermoType & | patchFaceProducts (const label patchi, const label facei) const |
void | read (const dictionary &) |
Read dictionary. More... | |
const ThermoType & | getLocalThermo (const label speciei) const |
Return thermo based on index. More... | |
![]() | |
TypeName ("basicCombustionMixture") | |
Run time type information. More... | |
basicCombustionMixture (const dictionary &, const wordList &specieNames, const fvMesh &, const word &) | |
Construct from dictionary, specie names, mesh and phase name. More... | |
virtual | ~basicCombustionMixture () |
Destructor. More... | |
scalar | fres (const scalar ft, const scalar stoicRatio) const |
tmp< volScalarField > | fres (const volScalarField &ft, const dimensionedScalar &stoicRatio) const |
![]() | |
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< volScalarField > | W () 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... | |
![]() | |
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 speciesTable & | species () 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... | |
volScalarField & | Y (const label i) |
Return the mass-fraction field for a specie given by index. More... | |
const volScalarField & | Y (const label i) const |
Return the const mass-fraction field for a specie given by index. 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... | |
bool | contains (const word &specieName) const |
Does the mixture include this specie? More... | |
Private Member Functions | |
veryInhomogeneousMixture (const veryInhomogeneousMixture< ThermoType > &) | |
Construct as copy (not implemented) More... | |
Private Attributes | |
dimensionedScalar | stoicRatio_ |
ThermoType | fuel_ |
ThermoType | oxidant_ |
ThermoType | products_ |
ThermoType | mixture_ |
volScalarField & | ft_ |
Mixture fraction. More... | |
volScalarField & | fu_ |
Fuel mass fraction. More... | |
volScalarField & | b_ |
Regress variable. More... | |
Static Private Attributes | |
static const int | nSpecies_ = 3 |
static const char * | specieNames_ [3] |
Additional Inherited Members | |
![]() | |
speciesTable | species_ |
Table of specie names. More... | |
PtrList< volScalarField > | Y_ |
Species mass fractions. More... | |
Foam::veryInhomogeneousMixture.
Definition at line 49 of file veryInhomogeneousMixture.H.
typedef ThermoType thermoType |
The type of thermodynamics this mixture is instantiated for.
Definition at line 82 of file veryInhomogeneousMixture.H.
|
private |
Construct as copy (not implemented)
veryInhomogeneousMixture | ( | const dictionary & | thermoDict, |
const fvMesh & | mesh, | ||
const word & | phaseName | ||
) |
Construct from dictionary, mesh and phase name.
Definition at line 44 of file veryInhomogeneousMixture.C.
|
inlinevirtual |
Destructor.
Definition at line 97 of file veryInhomogeneousMixture.H.
|
inline |
Definition at line 103 of file veryInhomogeneousMixture.H.
References veryInhomogeneousMixture< ThermoType >::stoicRatio_.
Referenced by veryInhomogeneousMixture< ThermoType >::cellProducts(), and veryInhomogeneousMixture< ThermoType >::patchFaceProducts().
const ThermoType & mixture | ( | const scalar | ft, |
const scalar | fu | ||
) | const |
Definition at line 76 of file veryInhomogeneousMixture.C.
Referenced by veryInhomogeneousMixture< ThermoType >::cellMixture(), veryInhomogeneousMixture< ThermoType >::cellProducts(), veryInhomogeneousMixture< ThermoType >::cellReactants(), veryInhomogeneousMixture< ThermoType >::patchFaceMixture(), veryInhomogeneousMixture< ThermoType >::patchFaceProducts(), and veryInhomogeneousMixture< ThermoType >::patchFaceReactants().
|
inline |
Definition at line 110 of file veryInhomogeneousMixture.H.
References veryInhomogeneousMixture< ThermoType >::ft_, veryInhomogeneousMixture< ThermoType >::fu_, and veryInhomogeneousMixture< ThermoType >::mixture().
Definition at line 116 of file veryInhomogeneousMixture.H.
References GeometricField::boundaryField(), veryInhomogeneousMixture< ThermoType >::ft_, veryInhomogeneousMixture< ThermoType >::fu_, veryInhomogeneousMixture< ThermoType >::mixture(), and patchi.
|
inline |
Definition at line 128 of file veryInhomogeneousMixture.H.
References veryInhomogeneousMixture< ThermoType >::ft_, and veryInhomogeneousMixture< ThermoType >::mixture().
Definition at line 134 of file veryInhomogeneousMixture.H.
References GeometricField::boundaryField(), veryInhomogeneousMixture< ThermoType >::ft_, veryInhomogeneousMixture< ThermoType >::mixture(), and patchi.
|
inline |
Definition at line 146 of file veryInhomogeneousMixture.H.
References basicCombustionMixture::fres(), veryInhomogeneousMixture< ThermoType >::ft_, veryInhomogeneousMixture< ThermoType >::mixture(), and veryInhomogeneousMixture< ThermoType >::stoicRatio().
Definition at line 153 of file veryInhomogeneousMixture.H.
References GeometricField::boundaryField(), basicCombustionMixture::fres(), veryInhomogeneousMixture< ThermoType >::ft_, veryInhomogeneousMixture< ThermoType >::mixture(), patchi, and veryInhomogeneousMixture< ThermoType >::stoicRatio().
void read | ( | const dictionary & | thermoDict | ) |
Read dictionary.
Definition at line 101 of file veryInhomogeneousMixture.C.
References dictionary::subDict().
const ThermoType & getLocalThermo | ( | const label | speciei | ) | const |
Return thermo based on index.
Definition at line 113 of file veryInhomogeneousMixture.C.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
|
staticprivate |
Definition at line 55 of file veryInhomogeneousMixture.H.
|
staticprivate |
Definition at line 56 of file veryInhomogeneousMixture.H.
|
private |
Definition at line 58 of file veryInhomogeneousMixture.H.
Referenced by veryInhomogeneousMixture< ThermoType >::stoicRatio().
|
private |
Definition at line 60 of file veryInhomogeneousMixture.H.
|
private |
Definition at line 61 of file veryInhomogeneousMixture.H.
|
private |
Definition at line 62 of file veryInhomogeneousMixture.H.
|
mutableprivate |
Definition at line 64 of file veryInhomogeneousMixture.H.
|
private |
Mixture fraction.
Definition at line 67 of file veryInhomogeneousMixture.H.
Referenced by veryInhomogeneousMixture< ThermoType >::cellMixture(), veryInhomogeneousMixture< ThermoType >::cellProducts(), veryInhomogeneousMixture< ThermoType >::cellReactants(), veryInhomogeneousMixture< ThermoType >::patchFaceMixture(), veryInhomogeneousMixture< ThermoType >::patchFaceProducts(), and veryInhomogeneousMixture< ThermoType >::patchFaceReactants().
|
private |
Fuel mass fraction.
Definition at line 70 of file veryInhomogeneousMixture.H.
Referenced by veryInhomogeneousMixture< ThermoType >::cellMixture(), and veryInhomogeneousMixture< ThermoType >::patchFaceMixture().
|
private |
Regress variable.
Definition at line 73 of file veryInhomogeneousMixture.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.