Version of pureMixture that uses different mixtures for different cellZones. Every cellZone has to provide an entry for its mixture. A reserved entry 'none' is for all unzoned cells. More...
Public Types | |
typedef ThermoType | thermoType |
The type of thermodynamics this mixture is instantiated for. More... | |
Public Types inherited from basicMixture | |
typedef basicMixture | basicMixtureType |
The base class of the mixture. More... | |
Public Member Functions | |
pureZoneMixture (const dictionary &thermoDict, const fvMesh &mesh, const word &phaseName) | |
Construct from dictionary, mesh and phase name. More... | |
virtual | ~pureZoneMixture ()=default |
Destructor. More... | |
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 |
const ThermoType & | patchFaceVolMixture (const scalar p, const scalar T, const label patchi, const label facei) const |
void | read (const dictionary &) |
Read dictionary. 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... | |
Version of pureMixture that uses different mixtures for different cellZones. Every cellZone has to provide an entry for its mixture. A reserved entry 'none' is for all unzoned cells.
Example of the zone based mixture specification:
mixture { solid1 { specie { molWeight 50; } transport { kappa 80; } thermodynamics { Hf 0; Cp 450; } equationOfState { rho 8000; } } solid2 { /*! * \brief Start off from 'solid1' properties */ ${solid1} /*! * \brief Selectively overwrite properties */ transport { kappa 8; } } }
SourceFiles pureZoneMixture.C
\*—————————————————————————
Definition at line 94 of file pureZoneMixture.H.
typedef ThermoType thermoType |
The type of thermodynamics this mixture is instantiated for.
Definition at line 138 of file pureZoneMixture.H.
pureZoneMixture | ( | const dictionary & | thermoDict, |
const fvMesh & | mesh, | ||
const word & | phaseName | ||
) |
Construct from dictionary, mesh and phase name.
Definition at line 59 of file pureZoneMixture.C.
References Foam::exit(), Foam::FatalError, FatalErrorInFunction, and IndirectListBase< T, Addr >::find().
|
virtualdefault |
Destructor.
|
inlinestatic |
Return the instantiated type name.
Definition at line 165 of file pureZoneMixture.H.
const ThermoType & cellMixture | ( | const label | celli | ) | const |
Definition at line 98 of file pureZoneMixture.C.
const ThermoType & patchFaceMixture | ( | const label | patchi, |
const label | facei | ||
) | const |
Definition at line 109 of file pureZoneMixture.C.
const ThermoType & cellVolMixture | ( | const scalar | p, |
const scalar | T, | ||
const label | celli | ||
) | const |
Definition at line 122 of file pureZoneMixture.C.
const ThermoType & patchFaceVolMixture | ( | const scalar | p, |
const scalar | T, | ||
const label | patchi, | ||
const label | facei | ||
) | const |
Definition at line 136 of file pureZoneMixture.C.
void read | ( | const dictionary & | thermoDict | ) |
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.