Reacting heterogeneous Parcel. More...


Classes | |
| class | constantProperties |
| Class to hold reacting particle constant properties. More... | |
| class | iNew |
| Factory class to read-construct particles used for. More... | |
Public Types | |
| typedef ParcelType::trackingData | trackingData |
| Use base tracking data. More... | |
Public Member Functions | |
| TypeName ("ReactingHeterogeneousParcel") | |
| Runtime type information. More... | |
| AddToPropertyList (ParcelType,+" nReactions(F1..FN)") | |
| String representation of properties. More... | |
| ReactingHeterogeneousParcel (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti) | |
| Construct from mesh, position and topology. More... | |
| ReactingHeterogeneousParcel (const polyMesh &mesh, const vector &position, const label celli) | |
| Construct from a position and a cell, searching for the rest of the. More... | |
| ReactingHeterogeneousParcel (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const label typeId, const scalar nParticle0, const scalar d0, const scalar dTarget0, const vector &U0, const vector &f0, const vector &angularMomentum0, const vector &torque0, const scalarField &Y, const scalarField &F, const constantProperties &constProps) | |
| Construct from components. More... | |
| ReactingHeterogeneousParcel (const polyMesh &mesh, Istream &is, bool readFields=true, bool newFormat=true) | |
| Construct from Istream. More... | |
| ReactingHeterogeneousParcel (const ReactingHeterogeneousParcel &p) | |
| Construct as a copy. More... | |
| ReactingHeterogeneousParcel (const ReactingHeterogeneousParcel &p, const polyMesh &mesh) | |
| Construct as a copy. More... | |
| virtual autoPtr< particle > | clone () const |
| Construct and return a (basic particle) clone. More... | |
| virtual autoPtr< particle > | clone (const polyMesh &mesh) const |
| Construct and return a (basic particle) clone. More... | |
| const scalarField & | F () const |
| Return const access to F. More... | |
| label | canCombust () const |
| Return const access to the canCombust flag. More... | |
| scalarField & | F () |
| Return access to F. More... | |
| label & | canCombust () |
| Return access to the canCombust flag. More... | |
| template<class TrackCloudType > | |
| void | calc (TrackCloudType &cloud, trackingData &td, const scalar dt) |
| Update parcel properties over the time interval. More... | |
| void | writeProperties (Ostream &os, const wordRes &filters, const word &delim, const bool namesOnly) const |
| Write individual parcel properties to stream. More... | |
| template<class TrackCloudType > | |
| Foam::scalar | CpEff (TrackCloudType &cloud, trackingData &td, const scalar p, const scalar T, const label idS) const |
| template<class TrackCloudType > | |
| Foam::scalar | HsEff (TrackCloudType &cloud, trackingData &td, const scalar p, const scalar T, const label idS) const |
| template<class TrackCloudType > | |
| Foam::scalar | LEff (TrackCloudType &cloud, trackingData &td, const scalar p, const scalar T, const label idS) const |
| template<class TrackCloudType > | |
| Foam::scalar | updatedDeltaVolume (TrackCloudType &cloud, const scalarField &dMass, const scalar p, const scalar T) |
Static Public Member Functions | |
| template<class CloudType , class CompositionType > | |
| static void | readFields (CloudType &c, const CompositionType &compModel) |
| Read - composition supplied. More... | |
| template<class CloudType > | |
| static void | readFields (CloudType &c) |
| Read - no composition. More... | |
| template<class CloudType , class CompositionType > | |
| static void | writeFields (const CloudType &c, const CompositionType &compModel) |
| Write - composition supplied. More... | |
| template<class CloudType > | |
| static void | writeFields (const CloudType &c) |
| Read - no composition. More... | |
| template<class CloudType > | |
| static void | readObjects (CloudType &c, const objectRegistry &obr) |
| Read particle fields as objects from the obr registry. More... | |
| template<class CloudType , class CompositionType > | |
| static void | readObjects (CloudType &c, const CompositionType &compModel, const objectRegistry &obr) |
| Read particle fields as objects from the obr registry. More... | |
| template<class CloudType > | |
| static void | writeObjects (const CloudType &c, objectRegistry &obr) |
| Write particle fields as objects into the obr registry. More... | |
| template<class CloudType , class CompositionType > | |
| static void | writeObjects (const CloudType &c, const CompositionType &compModel, objectRegistry &obr) |
| Write particle fields as objects into the obr registry. More... | |
Static Public Attributes | |
| static const std::size_t | sizeofFields |
| Size in bytes of the fields. More... | |
Protected Member Functions | |
| template<class TrackCloudType > | |
| scalar | updatedDeltaVolume (TrackCloudType &cloud, const scalarField &dMass, const scalar p, const scalar T) |
| Return change of volume due to mass exchange. More... | |
| template<class TrackCloudType > | |
| void | calcHeterogeneousReactions (TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Res, const scalar nu, const scalar d, const scalar T, const scalar mass, const label canCombust, const scalar N, scalar &NCpW, const scalarField &YSolid, scalarField &F, scalarField &dMassSRSolid, scalarField &dMassSRCarrier, scalar &Sh, scalar &dhsTrans) const |
| Calculate surface reactions. More... | |
Protected Attributes | |
| scalarField | F_ |
| Progress variables for reactions. More... | |
| label | canCombust_ |
| Flag to identify if the particle can devolatilise and combust. More... | |
Friends | |
| Ostream & | operator (Ostream &, const ReactingHeterogeneousParcel< ParcelType > &) |
Reacting heterogeneous Parcel.
Definition at line 48 of file ReactingHeterogeneousParcel.H.
| typedef ParcelType::trackingData trackingData |
Use base tracking data.
Definition at line 123 of file ReactingHeterogeneousParcel.H.
|
inline |
Construct from mesh, position and topology.
Other properties initialised as null
Definition at line 58 of file ReactingHeterogeneousParcelI.H.
Referenced by ReactingHeterogeneousParcel< ParcelType >::clone().

|
inline |
Construct from a position and a cell, searching for the rest of the.
required topology. Other properties are initialised as null.
Definition at line 74 of file ReactingHeterogeneousParcelI.H.
|
inline |
Construct from components.
Definition at line 88 of file ReactingHeterogeneousParcelI.H.
| ReactingHeterogeneousParcel | ( | const polyMesh & | mesh, |
| Istream & | is, | ||
| bool | readFields = true, |
||
| bool | newFormat = true |
||
| ) |
Construct from Istream.
Definition at line 43 of file ReactingHeterogeneousParcelIO.C.
References IOstream::check(), F(), FUNCTION_NAME, and Foam::readFields().

| ReactingHeterogeneousParcel | ( | const ReactingHeterogeneousParcel< ParcelType > & | p | ) |
Construct as a copy.
| ReactingHeterogeneousParcel | ( | const ReactingHeterogeneousParcel< ParcelType > & | p, |
| const polyMesh & | mesh | ||
| ) |
Construct as a copy.
|
protected |
Return change of volume due to mass exchange.
|
protected |
Calculate surface reactions.
Definition at line 349 of file ReactingHeterogeneousParcel.C.
References F(), Foam::min(), nu, Foam::Re(), Foam::sum(), and Foam::T().

| TypeName | ( | "ReactingHeterogeneousParcel< ParcelType >" | ) |
Runtime type information.
| AddToPropertyList | ( | ParcelType | , |
| +" nReactions(F1..FN)" | |||
| ) |
String representation of properties.
Construct and return a (basic particle) clone.
Definition at line 332 of file ReactingHeterogeneousParcel.H.
References ReactingHeterogeneousParcel< ParcelType >::ReactingHeterogeneousParcel().

Construct and return a (basic particle) clone.
Definition at line 340 of file ReactingHeterogeneousParcel.H.
References mesh, and ReactingHeterogeneousParcel< ParcelType >::ReactingHeterogeneousParcel().

|
inline |
Return const access to F.
Definition at line 155 of file ReactingHeterogeneousParcelI.H.
References ReactingHeterogeneousParcel< ParcelType >::F_.
|
inline |
Return const access to the canCombust flag.
Definition at line 171 of file ReactingHeterogeneousParcelI.H.
References ReactingHeterogeneousParcel< ParcelType >::canCombust_.
|
inline |
Return access to F.
Definition at line 163 of file ReactingHeterogeneousParcelI.H.
References ReactingHeterogeneousParcel< ParcelType >::F_.
|
inline |
Return access to the canCombust flag.
Definition at line 178 of file ReactingHeterogeneousParcelI.H.
References ReactingHeterogeneousParcel< ParcelType >::canCombust_.
| void calc | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | dt | ||
| ) |
Update parcel properties over the time interval.
Definition at line 103 of file ReactingHeterogeneousParcel.C.
References Foam::cbrt(), composition, Cs, forAll, Foam::constant::mathematical::pi(), Foam::pow4(), Foam::Re(), Su, Foam::sum(), T0, Foam::fieldTypes::volume, and Foam::Zero.

|
static |
Read - composition supplied.
Definition at line 78 of file ReactingHeterogeneousParcelIO.C.
References Foam::constant::universal::c, F(), forAll, Foam::name(), p, Foam::readFields(), solidNames(), Y, and Foam::Zero.

|
static |
Read - no composition.
Definition at line 69 of file ReactingHeterogeneousParcelIO.C.
References Foam::constant::universal::c, and Foam::readFields().

|
static |
Write - composition supplied.
Definition at line 172 of file ReactingHeterogeneousParcelIO.C.
References Foam::constant::universal::c, F(), forAll, Foam::name(), p, p0, solidNames(), Foam::writeFields(), and Y.

|
static |
Read - no composition.
Definition at line 161 of file ReactingHeterogeneousParcelIO.C.
References Foam::constant::universal::c, and Foam::writeFields().

| void writeProperties | ( | Ostream & | os, |
| const wordRes & | filters, | ||
| const word & | delim, | ||
| const bool | namesOnly | ||
| ) | const |
Write individual parcel properties to stream.
Definition at line 249 of file ReactingHeterogeneousParcelIO.C.
References os(), and writeProp.

|
static |
Read particle fields as objects from the obr registry.
Definition at line 272 of file ReactingHeterogeneousParcelIO.C.
References Foam::constant::universal::c.
|
static |
Read particle fields as objects from the obr registry.
Definition at line 296 of file ReactingHeterogeneousParcelIO.C.
References Foam::constant::universal::c, Foam::nl, and WarningInFunction.
|
static |
Write particle fields as objects into the obr registry.
Definition at line 284 of file ReactingHeterogeneousParcelIO.C.
References Foam::constant::universal::c.
|
static |
Write particle fields as objects into the obr registry.
Definition at line 317 of file ReactingHeterogeneousParcelIO.C.
References Foam::constant::universal::c, F(), forAll, Foam::name(), p0, solidNames(), and Y.

| Foam::scalar CpEff | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | p, | ||
| const scalar | T, | ||
| const label | idS | ||
| ) | const |
Definition at line 32 of file ReactingHeterogeneousParcel.C.

| Foam::scalar HsEff | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | p, | ||
| const scalar | T, | ||
| const label | idS | ||
| ) | const |
Definition at line 47 of file ReactingHeterogeneousParcel.C.

| Foam::scalar LEff | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | p, | ||
| const scalar | T, | ||
| const label | idS | ||
| ) | const |
Definition at line 62 of file ReactingHeterogeneousParcel.C.

| Foam::scalar updatedDeltaVolume | ( | TrackCloudType & | cloud, |
| const scalarField & | dMass, | ||
| const scalar | p, | ||
| const scalar | T | ||
| ) |
Definition at line 80 of file ReactingHeterogeneousParcel.C.
References composition, forAll, UList< T >::size(), Foam::sum(), and Foam::Zero.

|
friend |
|
static |
Size in bytes of the fields.
Definition at line 71 of file ReactingHeterogeneousParcel.H.
|
protected |
Progress variables for reactions.
Definition at line 179 of file ReactingHeterogeneousParcel.H.
Referenced by ReactingHeterogeneousParcel< ParcelType >::F().
|
protected |
Flag to identify if the particle can devolatilise and combust.
Combustion possible only after volatile content falls below threshold value. States include: 0 = can combust but can change 1 = can devolatilise, can combust -1 = cannot devolatilise or combust, and cannot change
Definition at line 190 of file ReactingHeterogeneousParcel.H.
Referenced by ReactingHeterogeneousParcel< ParcelType >::canCombust().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.