|
|
|
CompositionModel< CloudType > Class Template ReferenceTemplated reacting parcel composition model class Consists of carrier species (via thermo package), and additional liquids and solids. More...
Inheritance diagram for CompositionModel< CloudType >:
![]()
Collaboration diagram for CompositionModel< CloudType >:
![]()
Detailed Descriptiontemplate<class CloudType>
Templated reacting parcel composition model class Consists of carrier species (via thermo package), and additional liquids and solids.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| CompositionModel | ( | const dictionary & | dict, | |
| CloudType & | owner, | |||
| const word & | type | |||
| ) | [inline] |
| ~CompositionModel | ( | ) | [inline, virtual] |
| TypeName | ( | "CompositionModel< CloudType >" | ) |
Runtime type information.
| declareRunTimeSelectionTable | ( | autoPtr | , | |
| CompositionModel< CloudType > | , | |||
| dictionary | , | |||
| (const dictionary &dict, CloudType &owner) | , | |||
| (dict, owner) | ||||
| ) |
Declare runtime constructor selection table.
| Foam::autoPtr< Foam::CompositionModel< CloudType > > New | ( | const dictionary & | dict, | |
| CloudType & | owner | |||
| ) | [inline, static] |
Selector.
Definition at line 25 of file NewCompositionModel.C.
References Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorIn, Foam::Info, dictionary::lookup(), and Foam::nl.

| const CloudType & owner | ( | ) | const [inline] |
| const Foam::dictionary & dict | ( | ) | const [inline] |
| const Foam::dictionary & coeffDict | ( | ) | const [inline] |
| const Foam::multiComponentMixture< typename CloudType::thermoType > & mcCarrierThermo | ( | ) | const [inline] |
| const Foam::liquidMixture & liquids | ( | ) | const [inline] |
| const Foam::solidMixture & solids | ( | ) | const [inline] |
| const Foam::phasePropertiesList & phaseProps | ( | ) | const [inline] |
| Foam::label nPhase | ( | ) | const [inline] |
| const Foam::wordList & phaseTypes | ( | ) | const [inline] |
Return the list of phase type names.
If only 1 phase, return the component names of that phase
Definition at line 133 of file CompositionModel.C.
References phasePropertiesList::size().
Referenced by ReactingParcel< ParcelType >::ReactingParcel().


| const Foam::wordList & stateLabels | ( | ) | const [inline] |
Return the list of state labels (s), (l), (g) etc.
Definition at line 149 of file CompositionModel.C.
References phasePropertiesList::phaseTypes().

| const Foam::wordList & componentNames | ( | const label | phaseI | ) | const [inline] |
Return the list of component names for phaseI.
Definition at line 157 of file CompositionModel.C.
References phasePropertiesList::stateLabels().
Referenced by ReactingMultiphaseParcel< ParcelType >::ReactingMultiphaseParcel().


| Foam::label globalCarrierId | ( | const word & | cmptName | ) | const [inline] |
Return global id of component cmptName in carrier thermo.
Definition at line 165 of file CompositionModel.C.
| Foam::label globalId | ( | const label | phaseI, | |
| const word & | cmptName | |||
| ) | const [inline] |
Return global id of component cmptName in phase phaseI.
Definition at line 192 of file CompositionModel.C.
| const Foam::labelList & globalIds | ( | const label | phaseI | ) | const [inline] |
| Foam::label localId | ( | const label | phaseI, | |
| const word & | cmptName | |||
| ) | const [inline] |
Return local id of component cmptName in phase phaseI.
Definition at line 228 of file CompositionModel.C.
| Foam::label localToGlobalCarrierId | ( | const label | phaseI, | |
| const label | id | |||
| ) | const [inline] |
Return global carrier id of component given local id.
Definition at line 254 of file CompositionModel.C.
| const Foam::scalarField & Y0 | ( | const label | phaseI | ) | const [inline] |
| Foam::scalarField X | ( | const label | phaseI, | |
| const scalarField & | Y | |||
| ) | const [inline] |
Return the list of phase phaseI volume fractions fractions.
based on supplied mass fractions Y
Definition at line 292 of file CompositionModel.C.
| virtual const scalarField& YMixture0 | ( | ) | const [pure virtual] |
Return the list of mixture mass fractions.
If only 1 phase, return component fractions of that phase
Implemented in SingleMixtureFraction< CloudType >, and SinglePhaseMixture< CloudType >.
| virtual label idGas | ( | ) | const [pure virtual] |
Gas id.
Implemented in SingleMixtureFraction< CloudType >, and SinglePhaseMixture< CloudType >.
Referenced by ReactingMultiphaseParcel< ParcelType >::ReactingMultiphaseParcel().

| virtual label idLiquid | ( | ) | const [pure virtual] |
Liquid id.
Implemented in SingleMixtureFraction< CloudType >, and SinglePhaseMixture< CloudType >.
Referenced by ReactingMultiphaseParcel< ParcelType >::ReactingMultiphaseParcel().

| virtual label idSolid | ( | ) | const [pure virtual] |
| Foam::scalar H | ( | const label | phaseI, | |
| const scalarField & | Y, | |||
| const scalar | p, | |||
| const scalar | T | |||
| ) | const [inline, virtual] |
| Foam::scalar cp | ( | const label | phaseI, | |
| const scalarField & | Y, | |||
| const scalar | p, | |||
| const scalar | T | |||
| ) | const [inline, virtual] |
Return specific heat caoacity for the phase phaseI.
Definition at line 406 of file CompositionModel.C.
| Foam::scalar L | ( | const label | phaseI, | |
| const scalarField & | Y, | |||
| const scalar | p, | |||
| const scalar | T | |||
| ) | const [inline, virtual] |