|
|
|
ReactingParcel< ParcelType > Class Template ReferenceReacting parcel class with one/two-way coupling with the continuous phase. More...
Inheritance diagram for ReactingParcel< ParcelType >:
![]()
Collaboration diagram for ReactingParcel< ParcelType >:
![]()
Detailed Descriptiontemplate<class ParcelType>
Reacting parcel class with one/two-way coupling with the continuous phase.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ReactingParcel | ( | ReactingCloud< ParcelType > & | owner, | |
| const vector & | position, | |||
| const label | cellI | |||
| ) | [inline] |
Construct from owner, position, and cloud owner.
Other properties initialised as null
Definition at line 67 of file ReactingParcelI.H.
Referenced by ReactingParcel< ParcelType >::clone().

| ReactingParcel | ( | ReactingCloud< ParcelType > & | owner, | |
| const vector & | position, | |||
| const label | cellI, | |||
| const label | typeId, | |||
| const scalar | nParticle0, | |||
| const scalar | d0, | |||
| const vector & | U0, | |||
| const scalarField & | Y0, | |||
| const constantProperties & | constProps | |||
| ) | [inline] |
| ReactingParcel | ( | const Cloud< ParcelType > & | c, | |
| Istream & | is, | |||
| bool | readFields = true | |||
| ) | [inline] |
Construct from Istream.
Definition at line 34 of file ReactingParcelIO.C.
References IOstream::ASCII, IOstream::check(), ReactingCloud< ParcelType >::composition(), IOstream::format(), ReactingParcel< ParcelType >::mass0_, CompositionModel< CloudType >::phaseTypes(), Istream::read(), and ReactingParcel< ParcelType >::Y_.

| ReactingParcel | ( | const ReactingParcel< ParcelType > & | p | ) |
Construct as a copy.
| Foam::scalar updateMassFraction | ( | const scalar | mass0, | |
| const scalarField & | dMass, | |||
| scalarField & | Y | |||
| ) | const [inline, protected] |
| TypeName | ( | "ReactingParcel< ParcelType >" | ) |
Runtime type information.
| autoPtr<ReactingParcel> clone | ( | ) | const [inline] |
Construct and return a clone.
Reimplemented from ThermoParcel< ParcelType >.
Reimplemented in CoalParcel< ThermoType >, BasicReactingMultiphaseParcel< ThermoType >, BasicReactingParcel< ThermoType >, ReactingMultiphaseParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, and ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >.
Definition at line 268 of file ReactingParcel.H.
| Foam::scalar mass0 | ( | ) | const [inline] |
| const Foam::scalarField & Y | ( | ) | const [inline] |
Return const access to mass fractions of mixture.
Definition at line 184 of file ReactingParcelI.H.
References ReactingParcel< ParcelType >::mass0_.
| Foam::scalar pc | ( | ) | const [inline] |
Return the owner cell pressure.
Definition at line 191 of file ReactingParcelI.H.
References ReactingParcel< ParcelType >::Y_.
| Foam::scalar & mass0 | ( | ) | [inline] |
Return access to initial mass.
Definition at line 198 of file ReactingParcelI.H.
References ReactingParcel< ParcelType >::pc_.
| Foam::scalarField & Y | ( | ) | [inline] |
Return access to mass fractions of mixture.
Definition at line 205 of file ReactingParcelI.H.
References ReactingParcel< ParcelType >::mass0_.
Set cell values.
Reimplemented from ThermoParcel< ParcelType >.
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, and ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >.
Definition at line 25 of file ReactingParcel.C.
References Foam::endl(), Foam::nl, and WarningIn.

Correct cell values using latest transfer information.
Reimplemented from ThermoParcel< ParcelType >.
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, and ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >.
Definition at line 55 of file ReactingParcel.C.
Update parcel properties over the time interval.
Reimplemented from ThermoParcel< ParcelType >.
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, and ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >.
Definition at line 117 of file ReactingParcel.C.
| void readFields | ( | ReactingCloud< ParcelType > & | c | ) | [inline, static] |
| void writeFields | ( | const ReactingCloud< ParcelType > & | c | ) | [inline, static] |
friend class Cloud< ParcelType > [friend] |
Reimplemented from ThermoParcel< ParcelType >.
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, and ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >.
Definition at line 226 of file ReactingParcel.H.
| Ostream& operator | ( | Ostream & | , | |
| const ReactingParcel< ParcelType > & | ||||
| ) | [friend] |
Initial particle mass [kg].
Definition at line 173 of file ReactingParcel.H.
Referenced by ReactingParcel< ParcelType >::ReactingParcel(), and ReactingParcel< ParcelType >::Y().
scalarField Y_ [protected] |
Mass fractions of mixture [].
Definition at line 176 of file ReactingParcel.H.
Referenced by ReactingParcel< ParcelType >::pc(), and ReactingParcel< ParcelType >::ReactingParcel().
Pressure [Pa].
Definition at line 182 of file ReactingParcel.H.
Referenced by ReactingParcel< ParcelType >::mass0().
Foam::string propHeader [inline, static] |
Initial value:
ThermoParcel<ParcelType>::propHeader
+ " mass0"
+ " nPhases(Y1..YN)"
Reimplemented from ThermoParcel< ParcelType >.
Reimplemented in ReactingMultiphaseParcel< ParcelType >, ReactingMultiphaseParcel< CoalParcel< ThermoType > >, and ReactingMultiphaseParcel< BasicReactingMultiphaseParcel< ThermoType > >.
Definition at line 220 of file ReactingParcel.H.