Thermodynamic parcel class with one/two-way coupling with the continuous phase. Includes Kinematic parcel sub-models, plus: More...
Classes | |
class | constantProperties |
class | iNew |
class | trackingData |
Public Member Functions | |
TypeName ("ThermoParcel") | |
AddToPropertyList (ParcelType, " T"+" Cp") | |
ThermoParcel (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti) | |
ThermoParcel (const polyMesh &mesh, const vector &position, const label celli) | |
ThermoParcel (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 constantProperties &constProps) | |
ThermoParcel (const polyMesh &mesh, Istream &is, bool readFields=true, bool newFormat=true) | |
ThermoParcel (const ThermoParcel &p) | |
ThermoParcel (const ThermoParcel &p, const polyMesh &mesh) | |
virtual autoPtr< particle > | clone () const |
virtual autoPtr< particle > | clone (const polyMesh &mesh) const |
scalar | T () const |
scalar | Cp () const |
scalar | hs () const |
scalar & | T () |
scalar & | Cp () |
template<class TrackCloudType > | |
void | setCellValues (TrackCloudType &cloud, trackingData &td) |
template<class TrackCloudType > | |
void | cellValueSourceCorrection (TrackCloudType &cloud, trackingData &td, const scalar dt) |
template<class TrackCloudType > | |
void | calcSurfaceValues (TrackCloudType &cloud, trackingData &td, const scalar T, scalar &Ts, scalar &rhos, scalar &mus, scalar &Pr, scalar &kappas) const |
template<class TrackCloudType > | |
void | calc (TrackCloudType &cloud, trackingData &td, const scalar dt) |
void | writeProperties (Ostream &os, const wordRes &filters, const word &delim, const bool namesOnly=false) const |
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 | |
template<class CloudType > | |
static void | readFields (CloudType &c) |
template<class CloudType > | |
static void | writeFields (const CloudType &c) |
template<class CloudType > | |
static void | readObjects (CloudType &c, const objectRegistry &obr) |
template<class CloudType > | |
static void | writeObjects (const CloudType &c, objectRegistry &obr) |
Static Public Attributes | |
static const std::size_t | sizeofFields |
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) |
Protected Attributes | |
scalar | T_ |
scalar | Cp_ |
Friends | |
Ostream & | operator (Ostream &, const ThermoParcel< ParcelType > &) |
Thermodynamic parcel class with one/two-way coupling with the continuous phase. Includes Kinematic parcel sub-models, plus:
Definition at line 53 of file ThermoParcel.H.
|
inline |
Definition at line 70 of file ThermoParcelI.H.
Referenced by ThermoParcel::clone().
|
inline |
Definition at line 86 of file ThermoParcelI.H.
|
inline |
Definition at line 100 of file ThermoParcelI.H.
ThermoParcel | ( | const polyMesh & | mesh, |
Istream & | is, | ||
bool | readFields = true , |
||
bool | newFormat = true |
||
) |
ThermoParcel | ( | const ThermoParcel & | p | ) |
ThermoParcel | ( | const ThermoParcel & | p, |
const polyMesh & | mesh | ||
) |
|
protected |
TypeName | ( | "ThermoParcel" | ) |
AddToPropertyList | ( | ParcelType | , |
" T"+" Cp" | |||
) |
Definition at line 347 of file ThermoParcel.H.
References ThermoParcel::ThermoParcel().
Definition at line 353 of file ThermoParcel.H.
References mesh, and ThermoParcel::ThermoParcel().
|
inline |
Definition at line 200 of file ThermoParcelI.H.
References ThermoParcel::T_.
|
inline |
Definition at line 207 of file ThermoParcelI.H.
References ThermoParcel::Cp_.
|
inline |
Definition at line 214 of file ThermoParcelI.H.
References ThermoParcel::Cp_, and ThermoParcel::T_.
|
inline |
Definition at line 221 of file ThermoParcelI.H.
References ThermoParcel::T_.
|
inline |
Definition at line 228 of file ThermoParcelI.H.
References ThermoParcel::Cp_.
void setCellValues | ( | TrackCloudType & | cloud, |
trackingData & | td | ||
) |
Definition at line 31 of file ThermoParcel.C.
References coordinates(), ThermoParcel::trackingData::Cpc(), ThermoParcel::trackingData::CpInterp(), Foam::expressions::patchExpr::debug, Foam::endl(), interpolation::interpolate(), Foam::nl, ThermoParcel::trackingData::Tc(), ThermoParcel::trackingData::TInterp(), and WarningInFunction.
void cellValueSourceCorrection | ( | TrackCloudType & | cloud, |
trackingData & | td, | ||
const scalar | dt | ||
) |
Definition at line 61 of file ThermoParcel.C.
References ThermoParcel::trackingData::CpInterp(), Foam::expressions::patchExpr::debug, Foam::endl(), Foam::nl, interpolation::psi(), ThermoParcel::trackingData::Tc(), and WarningInFunction.
void calcSurfaceValues | ( | TrackCloudType & | cloud, |
trackingData & | td, | ||
const scalar | T, | ||
scalar & | Ts, | ||
scalar & | rhos, | ||
scalar & | mus, | ||
scalar & | Pr, | ||
scalar & | kappas | ||
) | const |
Definition at line 95 of file ThermoParcel.C.
References coordinates(), ThermoParcel::trackingData::Cpc(), Foam::expressions::patchExpr::debug, Foam::endl(), interpolation::interpolate(), ThermoParcel::trackingData::kappaInterp(), Foam::max(), Foam::nl, Pr(), Foam::T(), ThermoParcel::trackingData::Tc(), and WarningInFunction.
void calc | ( | TrackCloudType & | cloud, |
trackingData & | td, | ||
const scalar | dt | ||
) |
Definition at line 138 of file ThermoParcel.C.
References Foam::pow4(), Pr(), Foam::Re(), Su, T0, and Foam::Zero.
|
static |
Definition at line 84 of file ThermoParcelIO.C.
References Foam::constant::universal::c, Cp, IOobject::MUST_READ, p, Foam::readFields(), and Foam::T().
|
static |
Definition at line 110 of file ThermoParcelIO.C.
References Foam::constant::universal::c, Cp, IOobject::NO_READ, p, Foam::T(), and Foam::writeFields().
void writeProperties | ( | Ostream & | os, |
const wordRes & | filters, | ||
const word & | delim, | ||
const bool | namesOnly = false |
||
) | const |
Definition at line 136 of file ThermoParcelIO.C.
References os(), and writeProp.
|
static |
Definition at line 159 of file ThermoParcelIO.C.
References Foam::constant::universal::c, Cp, p, Foam::readFields(), and Foam::T().
|
static |
Definition at line 185 of file ThermoParcelIO.C.
References Foam::constant::universal::c, Cp, p, and Foam::T().
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 247 of file ThermoParcel.C.
References coordinates(), epsilon, ThermoParcel::trackingData::GInterp(), interpolation::interpolate(), Foam::constant::electromagnetic::kappa, Foam::max(), Foam::min(), Foam::pow4(), Pr(), Foam::Re(), rho, sigma(), Foam::constant::physicoChemical::sigma, ThermoParcel::trackingData::Tc(), dimensioned::value(), and Foam::fieldTypes::volume.
|
friend |
|
static |
Definition at line 74 of file ThermoParcel.H.
|
protected |
Definition at line 249 of file ThermoParcel.H.
Referenced by ThermoParcel::hs(), and ThermoParcel::T().
|
protected |
Definition at line 252 of file ThermoParcel.H.
Referenced by ThermoParcel::Cp(), and ThermoParcel::hs().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.