Reacting spray parcel, with added functionality for atomization and breakup. 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 ("SprayParcel") | |
| Runtime type information. More... | |
| AddToPropertyList (ParcelType, " d0"+" position0"+" sigma"+" mu"+" liquidCore"+" KHindex"+" y"+" yDot"+" tc"+" ms"+" injector"+" tMom"+" user") | |
| String representation of properties. More... | |
| SprayParcel (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti) | |
| Construct from mesh, coordinates and topology. More... | |
| SprayParcel (const polyMesh &mesh, const vector &position, const label celli) | |
| Construct from a position and a cell, searching for the rest of the. More... | |
| SprayParcel (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 &Y0, const scalar liquidCore, const scalar KHindex, const scalar y, const scalar yDot, const scalar tc, const scalar ms, const scalar injector, const scalar tMom, const scalar user, const typename ParcelType::constantProperties &constProps) | |
| Construct from components. More... | |
| SprayParcel (const polyMesh &mesh, Istream &is, bool readFields=true, bool newFormat=true) | |
| Construct from Istream. More... | |
| SprayParcel (const SprayParcel &p, const polyMesh &mesh) | |
| Construct as a copy. More... | |
| SprayParcel (const SprayParcel &p) | |
| 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... | |
| scalar | d0 () const |
| Return const access to initial droplet diameter. More... | |
| const vector & | position0 () const |
| Return const access to initial droplet position. More... | |
| scalar | sigma () const |
| Return const access to the liquid surface tension. More... | |
| scalar | mu () const |
| Return const access to the liquid dynamic viscosity. More... | |
| scalar | liquidCore () const |
| Return const access to liquid core. More... | |
| scalar | KHindex () const |
| Return const access to Kelvin-Helmholtz breakup index. More... | |
| scalar | y () const |
| Return const access to spherical deviation. More... | |
| scalar | yDot () const |
| Return const access to rate of change of spherical deviation. More... | |
| scalar | tc () const |
| Return const access to atomization characteristic time. More... | |
| scalar | ms () const |
| Return const access to stripped parcel mass. More... | |
| scalar | injector () const |
| Return const access to injector id. More... | |
| scalar | tMom () const |
| Return const access to momentum relaxation time. More... | |
| scalar | user () const |
| Return const access to passive user scalar. More... | |
| scalar & | d0 () |
| Return access to initial droplet diameter. More... | |
| vector & | position0 () |
| Return access to initial droplet position. More... | |
| scalar & | sigma () |
| Return access to the liquid surface tension. More... | |
| scalar & | mu () |
| Return access to the liquid dynamic viscosity. More... | |
| scalar & | liquidCore () |
| Return access to liquid core. More... | |
| scalar & | KHindex () |
| Return access to Kelvin-Helmholtz breakup index. More... | |
| scalar & | y () |
| Return access to spherical deviation. More... | |
| scalar & | yDot () |
| Return access to rate of change of spherical deviation. More... | |
| scalar & | tc () |
| Return access to atomization characteristic time. More... | |
| scalar & | ms () |
| Return access to stripped parcel mass. More... | |
| scalar & | injector () |
| Return access to injector id. More... | |
| scalar & | tMom () |
| Return access to momentum relaxation time. More... | |
| scalar & | user () |
| Return access to passive user scalar. More... | |
| template<class TrackCloudType > | |
| void | setCellValues (TrackCloudType &cloud, trackingData &td) |
| Set cell values. More... | |
| template<class TrackCloudType > | |
| void | calcAtomization (TrackCloudType &cloud, trackingData &td, const scalar dt) |
| Correct parcel properties according to atomization model. More... | |
| template<class TrackCloudType > | |
| void | calcBreakup (TrackCloudType &cloud, trackingData &td, const scalar dt) |
| Correct parcel properties according to breakup model. 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 | correctSurfaceValues (TrackCloudType &cloud, trackingData &td, const scalar T, const scalarField &Cs, scalar &rhos, scalar &mus, scalar &Pr, scalar &kappa) |
| Correct surface values due to emitted species. More... | |
| template<class TrackCloudType > | |
| void | calc (TrackCloudType &cloud, trackingData &td, const scalar dt) |
| Update parcel properties over the time interval. More... | |
| template<class TrackCloudType > | |
| scalar | chi (TrackCloudType &cloud, trackingData &td, const scalarField &X) const |
| Calculate the chi-factor for flash-boiling for the. More... | |
| template<class TrackCloudType > | |
| void | solveTABEq (TrackCloudType &cloud, trackingData &td, const scalar dt) |
| Solve the TAB equation. 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 | chi (TrackCloudType &cloud, trackingData &td, const scalarField &X) const |
Static Public Member Functions | |
| template<class CloudType , class CompositionType > | |
| static void | readFields (CloudType &c, const CompositionType &compModel) |
| Read. 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. More... | |
| template<class CloudType > | |
| static void | writeFields (const CloudType &c) |
| Write - composition supplied. 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 Attributes | |
| scalar | d0_ |
| Initial droplet diameter. More... | |
| vector | position0_ |
| Injection position. More... | |
| scalar | sigma_ |
| Liquid surface tension [N/m]. More... | |
| scalar | mu_ |
| Liquid dynamic viscosity [Pa.s]. More... | |
| scalar | liquidCore_ |
| Part of liquid core ( >0.5=liquid, <0.5=droplet ) More... | |
| scalar | KHindex_ |
| Index for KH Breakup. More... | |
| scalar | y_ |
| Spherical deviation. More... | |
| scalar | yDot_ |
| Rate of change of spherical deviation. More... | |
| scalar | tc_ |
| Characteristic time (used in atomization and/or breakup model) More... | |
| scalar | ms_ |
| Stripped parcel mass due to breakup. More... | |
| scalar | injector_ |
| Injected from injector (needed e.g. for calculating distance. More... | |
| scalar | tMom_ |
| Momentum relaxation time (needed for calculating parcel acc.) More... | |
| scalar | user_ |
| Passive scalar (extra variable to be defined by user) More... | |
Friends | |
| Ostream & | operator (Ostream &, const SprayParcel< ParcelType > &) |
Reacting spray parcel, with added functionality for atomization and breakup.
Definition at line 40 of file SprayParcel.H.
| typedef ParcelType::trackingData trackingData |
Use base tracking data.
Definition at line 141 of file SprayParcel.H.
|
inline |
Construct from mesh, coordinates and topology.
Other properties initialised as null
Definition at line 104 of file SprayParcelI.H.
|
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 131 of file SprayParcelI.H.
|
inline |
Construct from components.
Definition at line 156 of file SprayParcelI.H.
| SprayParcel | ( | const polyMesh & | mesh, |
| Istream & | is, | ||
| bool | readFields = true, |
||
| bool | newFormat = true |
||
| ) |
Construct from Istream.
Definition at line 43 of file SprayParcelIO.C.
References Istream::beginRawRead(), IOstream::check(), IOstream::checkLabelSize(), IOstream::checkScalarSize(), Istream::endRawRead(), IOstreamOption::format(), FUNCTION_NAME, Foam::expressions::Detail::nComponents(), Istream::read(), and Foam::readFields().

| SprayParcel | ( | const SprayParcel< ParcelType > & | p, |
| const polyMesh & | mesh | ||
| ) |
Construct as a copy.
| SprayParcel | ( | const SprayParcel< ParcelType > & | p | ) |
Construct as a copy.
| TypeName | ( | "SprayParcel< ParcelType >" | ) |
Runtime type information.
| AddToPropertyList | ( | ParcelType | , |
| " d0"+" position0"+" sigma"+" mu"+" liquidCore"+" KHindex"+" y"+" yDot"+" tc"+" ms"+" injector"+" tMom"+" user" | |||
| ) |
String representation of properties.
Construct and return a (basic particle) clone.
Definition at line 341 of file SprayParcel.H.
Construct and return a (basic particle) clone.
Definition at line 349 of file SprayParcel.H.
References mesh.
|
inline |
Return const access to initial droplet diameter.
Definition at line 238 of file SprayParcelI.H.
References SprayParcel< ParcelType >::d0_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return const access to initial droplet position.
Definition at line 245 of file SprayParcelI.H.
References SprayParcel< ParcelType >::position0_.
|
inline |
Return const access to the liquid surface tension.
Definition at line 252 of file SprayParcelI.H.
References SprayParcel< ParcelType >::sigma_.
|
inline |
Return const access to the liquid dynamic viscosity.
Definition at line 259 of file SprayParcelI.H.
References SprayParcel< ParcelType >::mu_.
|
inline |
Return const access to liquid core.
Definition at line 266 of file SprayParcelI.H.
References SprayParcel< ParcelType >::liquidCore_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return const access to Kelvin-Helmholtz breakup index.
Definition at line 273 of file SprayParcelI.H.
References SprayParcel< ParcelType >::KHindex_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return const access to spherical deviation.
Definition at line 280 of file SprayParcelI.H.
References SprayParcel< ParcelType >::y_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return const access to rate of change of spherical deviation.
Definition at line 287 of file SprayParcelI.H.
References SprayParcel< ParcelType >::yDot_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return const access to atomization characteristic time.
Definition at line 294 of file SprayParcelI.H.
References SprayParcel< ParcelType >::tc_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return const access to stripped parcel mass.
Definition at line 301 of file SprayParcelI.H.
References SprayParcel< ParcelType >::ms_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return const access to injector id.
Definition at line 308 of file SprayParcelI.H.
References SprayParcel< ParcelType >::injector_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return const access to momentum relaxation time.
Definition at line 315 of file SprayParcelI.H.
References SprayParcel< ParcelType >::tMom_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return const access to passive user scalar.
Definition at line 322 of file SprayParcelI.H.
References SprayParcel< ParcelType >::user_.
Referenced by SprayParcel< ParcelType >::calcBreakup().

|
inline |
Return access to initial droplet diameter.
Definition at line 329 of file SprayParcelI.H.
References SprayParcel< ParcelType >::d0_.
|
inline |
Return access to initial droplet position.
Definition at line 336 of file SprayParcelI.H.
References SprayParcel< ParcelType >::position0_.
|
inline |
Return access to the liquid surface tension.
Definition at line 343 of file SprayParcelI.H.
References SprayParcel< ParcelType >::sigma_.
|
inline |
Return access to the liquid dynamic viscosity.
Definition at line 350 of file SprayParcelI.H.
References SprayParcel< ParcelType >::mu_.
|
inline |
Return access to liquid core.
Definition at line 357 of file SprayParcelI.H.
References SprayParcel< ParcelType >::liquidCore_.
|
inline |
Return access to Kelvin-Helmholtz breakup index.
Definition at line 364 of file SprayParcelI.H.
References SprayParcel< ParcelType >::KHindex_.
|
inline |
Return access to spherical deviation.
Definition at line 371 of file SprayParcelI.H.
References SprayParcel< ParcelType >::y_.
|
inline |
Return access to rate of change of spherical deviation.
Definition at line 378 of file SprayParcelI.H.
References SprayParcel< ParcelType >::yDot_.
|
inline |
Return access to atomization characteristic time.
Definition at line 385 of file SprayParcelI.H.
References SprayParcel< ParcelType >::tc_.
|
inline |
Return access to stripped parcel mass.
Definition at line 392 of file SprayParcelI.H.
References SprayParcel< ParcelType >::ms_.
|
inline |
Return access to injector id.
Definition at line 399 of file SprayParcelI.H.
References SprayParcel< ParcelType >::injector_.
|
inline |
Return access to momentum relaxation time.
Definition at line 406 of file SprayParcelI.H.
References SprayParcel< ParcelType >::tMom_.
|
inline |
Return access to passive user scalar.
Definition at line 413 of file SprayParcelI.H.
References SprayParcel< ParcelType >::user_.
| void setCellValues | ( | TrackCloudType & | cloud, |
| trackingData & | td | ||
| ) |
Set cell values.
Definition at line 31 of file SprayParcel.C.
| void calcAtomization | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | dt | ||
| ) |
Correct parcel properties according to atomization model.
Definition at line 144 of file SprayParcel.C.
References composition, IOobject::db(), Foam::mag(), Foam::max(), Foam::min(), Foam::pos(), R, rho, Foam::constant::thermodynamic::RR, T, objectRegistry::time(), U, Urel, and dimensioned< Type >::value().

| void calcBreakup | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | dt | ||
| ) |
Correct parcel properties according to breakup model.
Definition at line 213 of file SprayParcel.C.
References SprayParcel< ParcelType >::d0(), g, SprayParcel< ParcelType >::injector(), SprayParcel< ParcelType >::KHindex(), SprayParcel< ParcelType >::liquidCore(), Foam::mag(), SprayParcel< ParcelType >::ms(), p, R, Foam::Re(), rho, Foam::constant::thermodynamic::RR, forceSuSp::Sp(), T, SprayParcel< ParcelType >::tc(), SprayParcel< ParcelType >::tMom(), U, Urel, SprayParcel< ParcelType >::user(), y, SprayParcel< ParcelType >::y(), and SprayParcel< ParcelType >::yDot().

| void cellValueSourceCorrection | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | dt | ||
| ) |
Correct cell values using latest transfer information.
Definition at line 43 of file SprayParcel.C.
| void correctSurfaceValues | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | T, | ||
| const scalarField & | Cs, | ||
| scalar & | rhos, | ||
| scalar & | mus, | ||
| scalar & | Pr, | ||
| scalar & | kappa | ||
| ) |
Correct surface values due to emitted species.
| void calc | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | dt | ||
| ) |
Update parcel properties over the time interval.
Definition at line 56 of file SprayParcel.C.
References Foam::cbrt(), composition, Cp, Foam::pow3(), rho, rho0, rho1, T, T0, and X0().

| scalar chi | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalarField & | X | ||
| ) | const |
Calculate the chi-factor for flash-boiling for the.
atomization model
| void solveTABEq | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalar | dt | ||
| ) |
Solve the TAB equation.
Definition at line 364 of file SprayParcel.C.
References Foam::constant::universal::c, Foam::cos(), Foam::constant::electromagnetic::e, Foam::exp(), rho, s, Foam::sin(), Foam::sqrt(), U, y, and Foam::y0().

|
static |
Read.
Definition at line 126 of file SprayParcelIO.C.
References Foam::constant::universal::c, Foam::constant::physicoChemical::mu, p, Foam::readFields(), sigma(), and y.

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

|
static |
Write.
Definition at line 251 of file SprayParcelIO.C.
References Foam::constant::universal::c, Foam::constant::physicoChemical::mu, p, sigma(), regIOobject::write(), Foam::writeFields(), and y.

|
static |
Write - composition supplied.
Definition at line 242 of file SprayParcelIO.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 324 of file SprayParcelIO.C.
References os(), and writeProp.

|
static |
Read particle fields as objects from the obr registry.
Definition at line 358 of file SprayParcelIO.C.
References Foam::constant::universal::c.
|
static |
Read particle fields as objects from the obr registry.
Definition at line 382 of file SprayParcelIO.C.
References Foam::constant::universal::c, Foam::constant::physicoChemical::mu, p, sigma(), and y.

|
static |
Write particle fields as objects into the obr registry.
Definition at line 370 of file SprayParcelIO.C.
References Foam::constant::universal::c.
|
static |
Write particle fields as objects into the obr registry.
Definition at line 431 of file SprayParcelIO.C.
References Foam::constant::universal::c, Foam::constant::physicoChemical::mu, p, sigma(), and y.

| Foam::scalar chi | ( | TrackCloudType & | cloud, |
| trackingData & | td, | ||
| const scalarField & | X | ||
| ) | const |
Definition at line 322 of file SprayParcel.C.
References Foam::clamp(), composition, forAll, liquidProperties::h(), liquidProperties::hl(), p0, liquidProperties::pvInvert(), thermophysicalProperties::rho(), T, and T0.

|
friend |
|
protected |
Initial droplet diameter.
Definition at line 153 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::d0().
|
protected |
Injection position.
Definition at line 158 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::position0().
|
protected |
Liquid surface tension [N/m].
Definition at line 163 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::sigma().
|
protected |
Liquid dynamic viscosity [Pa.s].
Definition at line 168 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::mu().
|
protected |
Part of liquid core ( >0.5=liquid, <0.5=droplet )
Definition at line 173 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::liquidCore().
|
protected |
Index for KH Breakup.
Definition at line 178 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::KHindex().
|
protected |
Spherical deviation.
Definition at line 183 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::y().
|
protected |
Rate of change of spherical deviation.
Definition at line 188 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::yDot().
|
protected |
Characteristic time (used in atomization and/or breakup model)
Definition at line 193 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::tc().
|
protected |
Stripped parcel mass due to breakup.
Definition at line 198 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::ms().
|
protected |
Injected from injector (needed e.g. for calculating distance.
from injector)
Definition at line 205 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::injector().
|
protected |
Momentum relaxation time (needed for calculating parcel acc.)
Definition at line 210 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::tMom().
|
protected |
Passive scalar (extra variable to be defined by user)
Definition at line 215 of file SprayParcel.H.
Referenced by SprayParcel< ParcelType >::user().
|
static |
Size in bytes of the fields.
Definition at line 225 of file SprayParcel.H.