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...
#include <pureZoneMixture.H>


Public Types | |
| typedef ThermoType | thermoType |
| The type of thermodynamics this mixture is instantiated for. | |
| Public Types inherited from basicMixture | |
| typedef basicMixture | basicMixtureType |
| The base class of the mixture. | |
Public Member Functions | |
| pureZoneMixture (const dictionary &thermoDict, const fvMesh &mesh, const word &phaseName) | |
| Construct from dictionary, mesh and phase name. | |
| virtual | ~pureZoneMixture ()=default |
| Destructor. | |
| 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. | |
| Public Member Functions inherited from basicMixture | |
| basicMixture (const dictionary &, const fvMesh &, const word &) | |
| Construct from dictionary, mesh and phase name. | |
Static Public Member Functions | |
| static word | typeName () |
| Return the instantiated type name. | |
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 58 of file pureZoneMixture.C.
References basicMixture::basicMixture(), for(), mesh, and thermoDict.

|
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 97 of file pureZoneMixture.C.
Referenced by cellVolMixture().

| const ThermoType & patchFaceMixture | ( | const label | patchi, |
| const label | facei ) const |
Definition at line 108 of file pureZoneMixture.C.
Referenced by patchFaceVolMixture().

| const ThermoType & cellVolMixture | ( | const scalar | p, |
| const scalar | T, | ||
| const label | celli ) const |
Definition at line 121 of file pureZoneMixture.C.
References cellMixture(), p, and Foam::T().

| const ThermoType & patchFaceVolMixture | ( | const scalar | p, |
| const scalar | T, | ||
| const label | patchi, | ||
| const label | facei ) const |
Definition at line 134 of file pureZoneMixture.C.
References p, patchFaceMixture(), and Foam::T().

| void read | ( | const dictionary & | thermoDict | ) |