Thermodynamic parcel class with one/two-way coupling with the continuous phase. More...


Classes | |
| class | constantProperties |
| Class to hold thermo particle constant properties. More... | |
| class | trackingData |
Public Member Functions | |
| AddToPropertyList (ParcelType, " T"+" Cp") | |
| String representation of properties. More... | |
| ThermoParcel (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const label facei) | |
| Construct from mesh, coordinates and topology. More... | |
| ThermoParcel (const polyMesh &mesh, const vector &position, const label celli, label &nLocateBoundaryHits) | |
| Construct from a position and a cell, searching for the rest of the. More... | |
| ThermoParcel (Istream &is, bool readFields=true) | |
| Construct from Istream. More... | |
| ThermoParcel (const ThermoParcel &p) | |
| Construct as a copy. More... | |
| virtual autoPtr< particle > | clone () const |
| Construct and return a clone. More... | |
| scalar | T () const |
| Return const access to temperature. More... | |
| scalar | Cp () const |
| Return const access to specific heat capacity. More... | |
| scalar & | T () |
| Return access to temperature. More... | |
| scalar & | Cp () |
| Return access to specific heat capacity. More... | |
| template<class TrackCloudType > | |
| void | setCellValues (TrackCloudType &cloud, trackingData &td) |
| Set cell values. More... | |
| template<class TrackCloudType > | |
| void | cellValueSourceCorrection (TrackCloudType &cloud, trackingData &td, const scalar dt) |
| Correct cell values using latest transfer information. More... | |
| template<class TrackCloudType > | |
| void | calcSurfaceValues (const TrackCloudType &cloud, const trackingData &td, const scalar T, scalar &Ts, scalar &rhos, scalar &mus, scalar &Pr, scalar &kappas) const |
| Calculate surface thermo properties. More... | |
| template<class TrackCloudType > | |
| void | calc (TrackCloudType &cloud, trackingData &td, const scalar dt) |
| Update parcel properties over the time interval. More... | |
| template<class TrackCloudType > | |
| Foam::scalar | calcHeatTransfer (TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW, const scalar Sh, scalar &dhsTrans, scalar &Sph) |
Static Public Member Functions | |
| static autoPtr< ThermoParcel > | New (Istream &is) |
| Construct from Istream and return. More... | |
| template<class CloudType > | |
| static void | readFields (CloudType &c) |
| Read. More... | |
| template<class CloudType > | |
| static void | writeFields (const CloudType &c) |
| Write. More... | |
| template<class CloudType , class CompositionType > | |
| static void | writeFields (const CloudType &c, const CompositionType &compModel) |
| Write. More... | |
Protected Member Functions | |
| template<class TrackCloudType > | |
| scalar | calcHeatTransfer (TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Re, const scalar Pr, const scalar kappa, const scalar NCpW, const scalar Sh, scalar &dhsTrans, scalar &Sph) |
| Calculate new particle temperature. More... | |
Protected Attributes | |
| scalar | T_ |
| Temperature [K]. More... | |
| scalar | Cp_ |
| Specific heat capacity [J/kg/K]. More... | |
Friends | |
| Ostream & | operator (Ostream &, const ThermoParcel< ParcelType > &) |
Thermodynamic parcel class with one/two-way coupling with the continuous phase.
Definition at line 73 of file ThermoParcel.H.
|
inline |
Construct from mesh, coordinates and topology.
Other properties initialised as null
Definition at line 76 of file ThermoParcelI.H.
Referenced by ThermoParcel< ParcelType >::clone(), and ThermoParcel< ParcelType >::New().

|
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 93 of file ThermoParcelI.H.
| ThermoParcel | ( | Istream & | is, |
| bool | readFields = true |
||
| ) |
Construct from Istream.
Definition at line 46 of file ThermoParcelIO.C.
References IOstream::ASCII, IOstream::check(), ThermoParcel< ParcelType >::Cp_, IOstream::format(), Istream::read(), ThermoParcel< ParcelType >::readFields(), Foam::readScalar(), and ThermoParcel< ParcelType >::T_.

| ThermoParcel | ( | const ThermoParcel< ParcelType > & | p | ) |
Construct as a copy.
|
protected |
Calculate new particle temperature.
| AddToPropertyList | ( | ParcelType | , |
| " T"+" Cp" | |||
| ) |
String representation of properties.
Construct and return a clone.
Definition at line 337 of file ThermoParcel.H.
References ThermoParcel< ParcelType >::ThermoParcel().

|
inlinestatic |
Construct from Istream and return.
Definition at line 343 of file ThermoParcel.H.
References ThermoParcel< ParcelType >::ThermoParcel().

|
inline |
Return const access to temperature.
Definition at line 168 of file ThermoParcelI.H.
|
inline |
Return const access to specific heat capacity.
Definition at line 175 of file ThermoParcelI.H.
|
inline |
Return access to temperature.
Definition at line 182 of file ThermoParcelI.H.
|
inline |
Return access to specific heat capacity.
Definition at line 189 of file ThermoParcelI.H.
| void setCellValues | ( | TrackCloudType & | cloud, |
| trackingData & | td | ||
| ) |
Set cell values.
Definition at line 36 of file ThermoParcel.C.
References Foam::tracking::coordinates(), ThermoParcel< ParcelType >::trackingData::Cpc(), ThermoParcel< ParcelType >::trackingData::CpInterp(), Foam::endl(), Foam::nl, ThermoParcel< ParcelType >::trackingData::Tc(), ThermoParcel< ParcelType >::trackingData::TInterp(), and WarningInFunction.

| void cellValueSourceCorrection | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | dt | ||
| ) |
Correct cell values using latest transfer information.
Definition at line 66 of file ThermoParcel.C.
References ThermoParcel< ParcelType >::trackingData::CpInterp(), Foam::endl(), Foam::nl, ThermoParcel< ParcelType >::trackingData::Tc(), and WarningInFunction.

| void calcSurfaceValues | ( | const TrackCloudType & | cloud, |
| const trackingData & | td, | ||
| const scalar | T, | ||
| scalar & | Ts, | ||
| scalar & | rhos, | ||
| scalar & | mus, | ||
| scalar & | Pr, | ||
| scalar & | kappas | ||
| ) | const |
Calculate surface thermo properties.
Definition at line 94 of file ThermoParcel.C.
References Foam::tracking::coordinates(), ThermoParcel< ParcelType >::trackingData::Cpc(), Foam::endl(), ThermoParcel< ParcelType >::trackingData::kappaInterp(), Foam::max(), Foam::nl, Foam::T(), ThermoParcel< ParcelType >::trackingData::Tc(), and WarningInFunction.

| void calc | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | dt | ||
| ) |
Update parcel properties over the time interval.
Definition at line 137 of file ThermoParcel.C.
References ThermoParcel< ParcelType >::trackingData::pc(), Foam::pow4(), Foam::Re(), Foam::fvc::Su(), T0, Y, and Foam::Zero.

|
static |
Read.
Definition at line 75 of file ThermoParcelIO.C.
References Foam::constant::universal::c, Cp(), forAllIter, IOobject::MUST_READ, p, Foam::readFields(), Foam::T(), and Foam::blendedInterfacialModel::valid().
Referenced by ThermoParcel< ParcelType >::ThermoParcel().


|
static |
Write.
Definition at line 102 of file ThermoParcelIO.C.
References Foam::constant::universal::c, Cp(), forAllConstIter, IOobject::NO_READ, p, and Foam::T().
Referenced by ThermoParcel< ParcelType >::writeFields().


|
static |
Write.
Definition at line 128 of file ThermoParcelIO.C.
References Foam::constant::universal::c, and ThermoParcel< ParcelType >::writeFields().

| Foam::scalar calcHeatTransfer | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | dt, | ||
| const scalar | Re, | ||
| const scalar | Pr, | ||
| const scalar | kappa, | ||
| const scalar | NCpW, | ||
| const scalar | Sh, | ||
| scalar & | dhsTrans, | ||
| scalar & | Sph | ||
| ) |
Definition at line 250 of file ThermoParcel.C.
References Foam::tracking::coordinates(), epsilon, ThermoParcel< ParcelType >::trackingData::GInterp(), Foam::isType(), Foam::constant::electromagnetic::kappa, Foam::max(), Foam::min(), Foam::pow4(), Foam::Re(), rho, Foam::constant::physicoChemical::sigma, ThermoParcel< ParcelType >::trackingData::Tc(), and dimensioned< Type >::value().

|
friend |
|
protected |
Temperature [K].
Definition at line 268 of file ThermoParcel.H.
Referenced by ThermoParcel< ParcelType >::ThermoParcel().
|
protected |
Specific heat capacity [J/kg/K].
Definition at line 271 of file ThermoParcel.H.
Referenced by ThermoParcel< ParcelType >::trackingData::Cp(), and ThermoParcel< ParcelType >::ThermoParcel().