Thermophysical properties mixing class which applies mass-fraction weighted mixing to the thermodynamic coefficients and Wilke's equation to transport properties. More...


Classes | |
| class | transportMixture |
Public Types | |
| typedef ThermoType::thermoType | thermoMixtureType |
| Mixing type for thermodynamic properties. More... | |
| typedef transportMixture | transportMixtureType |
| Mixing type for transport properties. More... | |
Public Types inherited from multiComponentMixture< ThermoType > | |
| typedef ThermoType | thermoType |
| The type of thermodynamics this mixture is instantiated for. More... | |
Public Types inherited from basicSpecieMixture | |
| typedef basicSpecieMixture | basicMixtureType |
| The base class of the mixture. More... | |
Public Types inherited from basicMixture | |
| typedef basicMixture | basicMixtureType |
| The base class of the mixture. More... | |
Public Member Functions | |
| coefficientWilkeMultiComponentMixture (const dictionary &, const fvMesh &, const word &) | |
| Construct from dictionary, mesh and phase name. More... | |
| coefficientWilkeMultiComponentMixture (const coefficientWilkeMultiComponentMixture< ThermoType > &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~coefficientWilkeMultiComponentMixture () |
| Destructor. More... | |
| const thermoMixtureType & | cellThermoMixture (const label celli) const |
| const thermoMixtureType & | patchFaceThermoMixture (const label patchi, const label facei) const |
| const transportMixtureType & | cellTransportMixture (const label celli) const |
| const transportMixtureType & | patchFaceTransportMixture (const label patchi, const label facei) const |
| const transportMixtureType & | cellTransportMixture (const label celli, const thermoMixtureType &thermoMixture) const |
| const transportMixtureType & | patchFaceTransportMixture (const label patchi, const label facei, const thermoMixtureType &thermoMixture) const |
Public Member Functions inherited from multiComponentMixture< ThermoType > | |
| multiComponentMixture (const dictionary &, const fvMesh &, const word &) | |
| Construct from dictionary, mesh and phase name. More... | |
| multiComponentMixture (const multiComponentMixture< ThermoType > &)=delete | |
| Disallow default bitwise copy construction. More... | |
| virtual | ~multiComponentMixture () |
| Destructor. More... | |
| const PtrList< ThermoType > & | specieThermos () const |
| Return the raw specie thermodynamic data. More... | |
| void | read (const dictionary &) |
| Read dictionary. More... | |
| const ThermoType & | specieThermo (const label speciei) const |
| Return thermo based on index. More... | |
| const List< specieElement > & | specieComposition (const label speciei) const |
| Return composition based on index. More... | |
Public Member Functions inherited from basicSpecieMixture | |
| 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... | |
| const speciesTable & | species () const |
| Return the table of species. More... | |
| bool | contains (const word &specieName) const |
| Does the mixture include this specie? More... | |
| label | defaultSpecie () const |
| Return the index of the default specie. More... | |
| bool | active (label speciei) const |
| Return true for active species. More... | |
| const List< bool > & | active () const |
| Return the bool list of active species. More... | |
| void | setActive (label speciei) const |
| Set speciei active. More... | |
| void | setInactive (label speciei) const |
| Set speciei inactive. More... | |
| bool | solve (label speciei) const |
| Return true if the specie should be solved for. 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... | |
| label | index (const volScalarField &Yi) const |
| Return the specie index of the given mass-fraction field. More... | |
| void | normalise () |
| Normalise the mass fractions. More... | |
| virtual scalar | Wi (const label speciei) const =0 |
| Molecular weight of the given specie [kg/kmol]. More... | |
| virtual scalar | Hf (const label speciei) const =0 |
| Enthalpy of formation [J/kg]. More... | |
| virtual scalar | rho (const label speciei, const scalar p, const scalar T) const =0 |
| Density [kg/m^3]. More... | |
| virtual tmp< volScalarField > | rho (const label speciei, const volScalarField &p, const volScalarField &T) const =0 |
| Density [kg/m^3]. 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 tmp< volScalarField > | Cp (const label speciei, const volScalarField &p, const volScalarField &T) const =0 |
| Heat capacity at constant pressure [J/kg/K]. More... | |
| virtual scalar | HE (const label speciei, const scalar p, const scalar T) const =0 |
| Enthalpy/Internal energy [J/kg]. More... | |
| virtual tmp< scalarField > | HE (const label speciei, const scalarField &p, const scalarField &T) const =0 |
| Enthalpy/Internal energy [J/kg]. More... | |
| virtual tmp< volScalarField > | HE (const label speciei, const volScalarField &p, const volScalarField &T) const =0 |
| Enthalpy/Internal energy [J/kg]. More... | |
| virtual scalar | Hs (const label speciei, const scalar p, const scalar T) const =0 |
| Sensible enthalpy [J/kg]. More... | |
| virtual tmp< scalarField > | Hs (const label speciei, const scalarField &p, const scalarField &T) const =0 |
| Sensible enthalpy [J/kg]. More... | |
| virtual tmp< volScalarField > | Hs (const label speciei, const volScalarField &p, const volScalarField &T) const =0 |
| Sensible enthalpy [J/kg]. More... | |
| virtual scalar | Ha (const label speciei, const scalar p, const scalar T) const =0 |
| Absolute enthalpy [J/kg]. More... | |
| virtual tmp< scalarField > | Ha (const label speciei, const scalarField &p, const scalarField &T) const =0 |
| Enthalpy/Internal energy [J/kg]. More... | |
| virtual tmp< volScalarField > | Ha (const label speciei, const volScalarField &p, const volScalarField &T) const =0 |
| Absolute enthalpy [J/kg]. More... | |
| virtual scalar | mu (const label speciei, const scalar p, const scalar T) const =0 |
| Dynamic viscosity [kg/m/s]. More... | |
| virtual tmp< volScalarField > | mu (const label speciei, const volScalarField &p, const volScalarField &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 tmp< volScalarField > | kappa (const label speciei, const volScalarField &p, const volScalarField &T) const =0 |
| Thermal conductivity [W/m/K]. More... | |
Public Member Functions inherited from basicMixture | |
| basicMixture (const dictionary &, const fvMesh &, const word &) | |
| Construct from dictionary, mesh and phase name. More... | |
Static Public Member Functions | |
| static word | typeName () |
| Return the instantiated type name. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from basicSpecieMixture | |
| void | correctMassFractions () |
| Scale the mass fractions to sum to 1. More... | |
Protected Attributes inherited from basicSpecieMixture | |
| const word & | phaseName_ |
| Phase-name. More... | |
| speciesTable | species_ |
| Table of specie names. More... | |
| word | defaultSpecie_ |
| The name of the default specie. More... | |
| label | defaultSpecieIndex_ |
| The index of the default specie. More... | |
| List< bool > | active_ |
| List of specie active flags. More... | |
| PtrList< volScalarField > | Y_ |
| Species mass fractions. More... | |
Thermophysical properties mixing class which applies mass-fraction weighted mixing to the thermodynamic coefficients and Wilke's equation to transport properties.
Wilke, C. R. (1950).
A viscosity equation for gas mixtures.
The journal of chemical physics, 18(4), 517-519.
Definition at line 59 of file coefficientWilkeMultiComponentMixture.H.
| typedef ThermoType::thermoType thermoMixtureType |
Mixing type for thermodynamic properties.
Definition at line 121 of file coefficientWilkeMultiComponentMixture.H.
| typedef transportMixture transportMixtureType |
Mixing type for transport properties.
Definition at line 124 of file coefficientWilkeMultiComponentMixture.H.
| coefficientWilkeMultiComponentMixture | ( | const dictionary & | thermoDict, |
| const fvMesh & | mesh, | ||
| const word & | phaseName | ||
| ) |
Construct from dictionary, mesh and phase name.
Definition at line 33 of file coefficientWilkeMultiComponentMixture.C.
References coefficientWilkeMultiComponentMixture< ThermoType >::transportMixture::transportMixture().

|
delete |
Disallow default bitwise copy construction.
|
inlinevirtual |
Destructor.
Definition at line 158 of file coefficientWilkeMultiComponentMixture.H.
|
inlinestatic |
Return the instantiated type name.
Definition at line 165 of file coefficientWilkeMultiComponentMixture.H.
References coefficientWilkeMultiComponentMixture< ThermoType >::cellThermoMixture(), coefficientWilkeMultiComponentMixture< ThermoType >::cellTransportMixture(), coefficientWilkeMultiComponentMixture< ThermoType >::patchFaceThermoMixture(), coefficientWilkeMultiComponentMixture< ThermoType >::patchFaceTransportMixture(), and patchi.

| const Foam::coefficientWilkeMultiComponentMixture< ThermoType >::thermoMixtureType & cellThermoMixture | ( | const label | celli | ) | const |
Definition at line 173 of file coefficientWilkeMultiComponentMixture.C.
References coefficientWilkeMultiComponentMixture< ThermoType >::patchFaceThermoMixture(), multiComponentMixture< ThermoType >::specieThermos(), and basicSpecieMixture::Y().
Referenced by coefficientWilkeMultiComponentMixture< ThermoType >::transportMixture::kappa(), and coefficientWilkeMultiComponentMixture< ThermoType >::typeName().


| const Foam::coefficientWilkeMultiComponentMixture< ThermoType >::thermoMixtureType & patchFaceThermoMixture | ( | const label | patchi, |
| const label | facei | ||
| ) | const |
Definition at line 192 of file coefficientWilkeMultiComponentMixture.C.
References coefficientWilkeMultiComponentMixture< ThermoType >::cellTransportMixture(), patchi, multiComponentMixture< ThermoType >::specieThermos(), and basicSpecieMixture::Y().
Referenced by coefficientWilkeMultiComponentMixture< ThermoType >::cellThermoMixture(), and coefficientWilkeMultiComponentMixture< ThermoType >::typeName().


| const Foam::coefficientWilkeMultiComponentMixture< ThermoType >::transportMixtureType & cellTransportMixture | ( | const label | celli | ) | const |
Definition at line 216 of file coefficientWilkeMultiComponentMixture.C.
References forAll, coefficientWilkeMultiComponentMixture< ThermoType >::patchFaceTransportMixture(), multiComponentMixture< ThermoType >::specieThermos(), and basicSpecieMixture::Y().
Referenced by coefficientWilkeMultiComponentMixture< ThermoType >::cellTransportMixture(), coefficientWilkeMultiComponentMixture< ThermoType >::patchFaceThermoMixture(), coefficientWilkeMultiComponentMixture< ThermoType >::patchFaceTransportMixture(), and coefficientWilkeMultiComponentMixture< ThermoType >::typeName().


| const Foam::coefficientWilkeMultiComponentMixture< ThermoType >::transportMixtureType & patchFaceTransportMixture | ( | const label | patchi, |
| const label | facei | ||
| ) | const |
Definition at line 246 of file coefficientWilkeMultiComponentMixture.C.
References coefficientWilkeMultiComponentMixture< ThermoType >::cellTransportMixture(), forAll, patchi, multiComponentMixture< ThermoType >::specieThermos(), and basicSpecieMixture::Y().
Referenced by coefficientWilkeMultiComponentMixture< ThermoType >::cellTransportMixture(), coefficientWilkeMultiComponentMixture< ThermoType >::patchFaceTransportMixture(), and coefficientWilkeMultiComponentMixture< ThermoType >::typeName().


| const Foam::coefficientWilkeMultiComponentMixture< ThermoType >::transportMixtureType & cellTransportMixture | ( | const label | celli, |
| const thermoMixtureType & | thermoMixture | ||
| ) | const |
Definition at line 278 of file coefficientWilkeMultiComponentMixture.C.
References coefficientWilkeMultiComponentMixture< ThermoType >::cellTransportMixture(), and coefficientWilkeMultiComponentMixture< ThermoType >::patchFaceTransportMixture().

| const Foam::coefficientWilkeMultiComponentMixture< ThermoType >::transportMixtureType & patchFaceTransportMixture | ( | const label | patchi, |
| const label | facei, | ||
| const thermoMixtureType & | thermoMixture | ||
| ) | const |
Definition at line 294 of file coefficientWilkeMultiComponentMixture.C.
References coefficientWilkeMultiComponentMixture< ThermoType >::patchFaceTransportMixture().
