KinematicParcel< ParcelType > Class Template Reference

Kinematic parcel class with rotational motion (as spherical particles only) and one/two-way coupling with the continuous phase. More...

Collaboration diagram for KinematicParcel< ParcelType >:
[legend]

Classes

class  constantProperties
 Class to hold kinematic particle constant properties. More...
 
class  iNew
 Factory class to read-construct particles used for. More...
 
class  trackingData
 

Public Member Functions

 TypeName ("KinematicParcel")
 Runtime type information. More...
 
 AddToPropertyList (ParcelType, " active"+" typeId"+" nParticle"+" d"+" dTarget"+" (Ux Uy Uz)"+" rho"+" age"+" tTurb"+" (UTurbx UTurby UTurbz)"+" (UCorrectx UCorrecty UCorrectz)")
 String representation of properties. More...
 
 KinematicParcel (const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti)
 Construct from mesh, coordinates and topology. More...
 
 KinematicParcel (const polyMesh &mesh, const vector &position, const label celli)
 Construct from a position and a cell, searching for the rest of the. More...
 
 KinematicParcel (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 constantProperties &constProps)
 Construct from components. More...
 
 KinematicParcel (const polyMesh &mesh, Istream &is, bool readFields=true, bool newFormat=true)
 Construct from Istream. More...
 
 KinematicParcel (const KinematicParcel &p)
 Construct as a copy. More...
 
 KinematicParcel (const KinematicParcel &p, const polyMesh &mesh)
 Construct as a copy. More...
 
virtual autoPtr< particleclone () const
 Construct and return a (basic particle) clone. More...
 
virtual autoPtr< particleclone (const polyMesh &mesh) const
 Construct and return a (basic particle) clone. More...
 
bool active () const
 Return const access to active flag. More...
 
label typeId () const
 Return const access to type id. More...
 
scalar nParticle () const
 Return const access to number of particles. More...
 
scalar d () const
 Return const access to diameter. More...
 
scalar dTarget () const
 Return const access to target diameter. More...
 
const vectorU () const
 Return const access to velocity. More...
 
scalar rho () const
 Return const access to density. More...
 
scalar age () const
 Return const access to the age. More...
 
scalar tTurb () const
 Return const access to time spent in turbulent eddy. More...
 
const vectorUTurb () const
 Return const access to turbulent velocity fluctuation. More...
 
const vectorUCorrect () const
 Return const access to correction velocity. More...
 
void active (const bool state)
 Set active flag to the specified state. More...
 
label & typeId ()
 Return access to type id. More...
 
scalar & nParticle ()
 Return access to number of particles. More...
 
scalar & d ()
 Return access to diameter. More...
 
scalar & dTarget ()
 Return access to target diameter. More...
 
vectorU ()
 Return access to velocity. More...
 
scalar & rho ()
 Return access to density. More...
 
scalar & age ()
 Return access to the age. More...
 
scalar & tTurb ()
 Return access to time spent in turbulent eddy. More...
 
vectorUTurb ()
 Return access to turbulent velocity fluctuation. More...
 
vectorUCorrect ()
 Return access to correction velocity. More...
 
scalar massCell (const trackingData &td) const
 Cell owner mass. More...
 
scalar mass () const
 Particle mass. More...
 
scalar momentOfInertia () const
 Particle moment of inertia around diameter axis. More...
 
scalar volume () const
 Particle volume. More...
 
scalar areaP () const
 Particle projected area. More...
 
scalar areaS () const
 Particle surface area. More...
 
scalar Re (const trackingData &td) const
 Reynolds number. More...
 
scalar We (const trackingData &td, const scalar sigma) const
 Weber number. More...
 
scalar Eo (const trackingData &td, const scalar sigma) const
 Eotvos number. More...
 
template<class TrackCloudType >
void setCellValues (TrackCloudType &cloud, trackingData &td)
 Set cell values. More...
 
template<class TrackCloudType >
void calcDispersion (TrackCloudType &cloud, trackingData &td, const scalar dt)
 Apply dispersion to the carrier phase velocity and update. 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 calc (TrackCloudType &cloud, trackingData &td, const scalar dt)
 Update parcel properties over the time interval. More...
 
template<class TrackCloudType >
void calcUCorrection (TrackCloudType &cloud, trackingData &td, const scalar dt)
 Correct U following MP-PIC sub-models. More...
 
template<class TrackCloudType >
bool move (TrackCloudType &cloud, trackingData &td, const scalar trackTime)
 Move the parcel. More...
 
template<class TrackCloudType >
bool hitPatch (TrackCloudType &cloud, trackingData &td)
 Overridable function to handle the particle hitting a patch. More...
 
template<class TrackCloudType >
void hitProcessorPatch (TrackCloudType &cloud, trackingData &td)
 Overridable function to handle the particle hitting a. More...
 
template<class TrackCloudType >
void hitWallPatch (TrackCloudType &cloud, trackingData &td)
 Overridable function to handle the particle hitting a wallPatch. More...
 
virtual void transformProperties (const tensor &T)
 Transform the physical properties of the particle. More...
 
virtual void transformProperties (const vector &separation)
 Transform the physical properties of the particle. More...
 
void writeProperties (Ostream &os, const wordRes &filters, const word &delim, const bool namesOnly=false) const
 Write individual parcel properties to stream. More...
 
template<class TrackCloudType >
const Foam::vector calcVelocity (TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Re, const scalar mu, const scalar mass, const vector &Su, vector &dUTrans, scalar &Spu) const
 
template<class CloudType >
void readFields (CloudType &c)
 
template<class CloudType >
void writeFields (const CloudType &c)
 

Static Public Member Functions

static scalar volume (const scalar d)
 Particle volume for a given diameter. More...
 
static scalar areaP (const scalar d)
 Projected area for given diameter. More...
 
static scalar areaS (const scalar d)
 Surface area for given diameter. More...
 
static scalar Re (const scalar rhoc, const vector &U, const vector &Uc, const scalar d, const scalar muc)
 Reynolds number for given conditions. More...
 
static scalar We (const scalar rhoc, const vector &U, const vector &Uc, const scalar d, const scalar sigma)
 Weber number for given conditions. More...
 
static scalar Eo (const vector &g, const scalar rho, const scalar rhoc, const vector &U, const scalar d, const scalar sigma)
 Eotvos number for given conditions. More...
 
template<class TrackCloudType >
static void readFields (TrackCloudType &c)
 Read. More...
 
template<class TrackCloudType >
static void writeFields (const TrackCloudType &c)
 Write. 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 >
static void writeObjects (const CloudType &c, 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 >
const vector calcVelocity (TrackCloudType &cloud, trackingData &td, const scalar dt, const scalar Re, const scalar mu, const scalar mass, const vector &Su, vector &dUTrans, scalar &Spu) const
 Calculate new particle velocity. More...
 

Protected Attributes

label active_
 Active flag - tracking inactive when active = false. More...
 
label typeId_
 Parcel type id. More...
 
scalar nParticle_
 Number of particles in Parcel. More...
 
scalar d_
 Diameter [m]. More...
 
scalar dTarget_
 Target diameter [m]. More...
 
vector U_
 Velocity of Parcel [m/s]. More...
 
scalar rho_
 Density [kg/m3]. More...
 
scalar age_
 Age [s]. More...
 
scalar tTurb_
 Time spent in turbulent eddy [s]. More...
 
vector UTurb_
 Turbulent velocity fluctuation [m/s]. More...
 
vector UCorrect_
 Velocity correction due to collisions MPPIC [m/s]. More...
 

Friends

Ostreamoperator (Ostream &, const KinematicParcel< ParcelType > &)
 

Detailed Description

template<class ParcelType>
class Foam::KinematicParcel< ParcelType >

Kinematic parcel class with rotational motion (as spherical particles only) and one/two-way coupling with the continuous phase.

Sub-models include:

  • drag
  • turbulent dispersion
  • wall interactions
Source files

Definition at line 66 of file KinematicParcel.H.

Constructor & Destructor Documentation

◆ KinematicParcel() [1/6]

KinematicParcel ( const polyMesh mesh,
const barycentric coordinates,
const label  celli,
const label  tetFacei,
const label  tetPti 
)
inline

Construct from mesh, coordinates and topology.

Other properties initialised as null

Definition at line 77 of file KinematicParcelI.H.

Referenced by KinematicParcel< ParcelType >::clone().

Here is the caller graph for this function:

◆ KinematicParcel() [2/6]

KinematicParcel ( const polyMesh mesh,
const vector position,
const label  celli 
)
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 101 of file KinematicParcelI.H.

◆ KinematicParcel() [3/6]

KinematicParcel ( 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 constantProperties constProps 
)
inline

Construct from components.

Definition at line 123 of file KinematicParcelI.H.

◆ KinematicParcel() [4/6]

KinematicParcel ( const polyMesh mesh,
Istream is,
bool  readFields = true,
bool  newFormat = true 
)

Construct from Istream.

Definition at line 53 of file KinematicParcelIO.C.

References Istream::beginRawRead(), IOstream::check(), IOstream::checkLabelSize(), IOstream::checkScalarSize(), Istream::endRawRead(), IOstreamOption::format(), FUNCTION_NAME, Istream::read(), Foam::readFields(), and Foam::readRawLabel().

Here is the call graph for this function:

◆ KinematicParcel() [5/6]

KinematicParcel ( const KinematicParcel< ParcelType > &  p)

Construct as a copy.

◆ KinematicParcel() [6/6]

KinematicParcel ( const KinematicParcel< ParcelType > &  p,
const polyMesh mesh 
)

Construct as a copy.

Member Function Documentation

◆ calcVelocity() [1/2]

const vector calcVelocity ( TrackCloudType &  cloud,
trackingData td,
const scalar  dt,
const scalar  Re,
const scalar  mu,
const scalar  mass,
const vector Su,
vector dUTrans,
scalar &  Spu 
) const
protected

Calculate new particle velocity.

◆ TypeName()

TypeName ( "KinematicParcel< ParcelType >"  )

Runtime type information.

◆ AddToPropertyList()

AddToPropertyList ( ParcelType  ,
" active"+" typeId"+" nParticle"+" d"+" dTarget"+" (Ux Uy Uz)"+" rho"+" age"+" tTurb"+" (UTurbx UTurby UTurbz)"+" (UCorrectx UCorrecty UCorrectz)"   
)

String representation of properties.

◆ clone() [1/2]

virtual autoPtr<particle> clone ( ) const
inlinevirtual

Construct and return a (basic particle) clone.

Definition at line 436 of file KinematicParcel.H.

References KinematicParcel< ParcelType >::KinematicParcel().

Here is the call graph for this function:

◆ clone() [2/2]

virtual autoPtr<particle> clone ( const polyMesh mesh) const
inlinevirtual

Construct and return a (basic particle) clone.

Definition at line 442 of file KinematicParcel.H.

References KinematicParcel< ParcelType >::KinematicParcel(), and mesh.

Here is the call graph for this function:

◆ active() [1/2]

bool active ( ) const
inline

Return const access to active flag.

Definition at line 196 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::active_.

◆ typeId() [1/2]

Foam::label typeId ( ) const
inline

Return const access to type id.

Definition at line 203 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::typeId_.

◆ nParticle() [1/2]

Foam::scalar nParticle ( ) const
inline

Return const access to number of particles.

Definition at line 210 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::nParticle_.

◆ d() [1/2]

Foam::scalar d ( ) const
inline

Return const access to diameter.

Definition at line 217 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d_.

Referenced by KinematicParcel< ParcelType >::areaP(), KinematicParcel< ParcelType >::areaS(), KinematicParcel< ParcelType >::Eo(), KinematicParcel< ParcelType >::Re(), KinematicParcel< ParcelType >::volume(), and KinematicParcel< ParcelType >::We().

Here is the caller graph for this function:

◆ dTarget() [1/2]

Foam::scalar dTarget ( ) const
inline

Return const access to target diameter.

Definition at line 224 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::dTarget_.

◆ U() [1/2]

const Foam::vector & U ( ) const
inline

Return const access to velocity.

Definition at line 231 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::U_.

Referenced by KinematicParcel< ParcelType >::Eo(), MPPICParcel< ParcelType >::move(), KinematicParcel< ParcelType >::Re(), and KinematicParcel< ParcelType >::We().

Here is the caller graph for this function:

◆ rho() [1/2]

Foam::scalar rho ( ) const
inline

Return const access to density.

Definition at line 238 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::rho_.

Referenced by KinematicParcel< ParcelType >::Eo().

Here is the caller graph for this function:

◆ age() [1/2]

Foam::scalar age ( ) const
inline

Return const access to the age.

Definition at line 245 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::age_.

◆ tTurb() [1/2]

Foam::scalar tTurb ( ) const
inline

Return const access to time spent in turbulent eddy.

Definition at line 252 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::tTurb_.

◆ UTurb() [1/2]

const Foam::vector & UTurb ( ) const
inline

Return const access to turbulent velocity fluctuation.

Definition at line 259 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::UTurb_.

◆ UCorrect() [1/2]

const Foam::vector & UCorrect ( ) const
inline

Return const access to correction velocity.

Definition at line 308 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::UCorrect_.

◆ active() [2/2]

void active ( const bool  state)
inline

Set active flag to the specified state.

Definition at line 266 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::active_.

◆ typeId() [2/2]

Foam::label & typeId ( )
inline

Return access to type id.

Definition at line 273 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::typeId_.

◆ nParticle() [2/2]

Foam::scalar & nParticle ( )
inline

Return access to number of particles.

Definition at line 280 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::nParticle_.

◆ d() [2/2]

Foam::scalar & d ( )
inline

Return access to diameter.

Definition at line 287 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d_.

◆ dTarget() [2/2]

Foam::scalar & dTarget ( )
inline

Return access to target diameter.

Definition at line 294 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::dTarget_.

◆ U() [2/2]

Foam::vector & U ( )
inline

Return access to velocity.

Definition at line 301 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::U_.

◆ rho() [2/2]

Foam::scalar & rho ( )
inline

Return access to density.

Definition at line 322 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::rho_.

◆ age() [2/2]

Foam::scalar & age ( )
inline

Return access to the age.

Definition at line 329 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::age_.

◆ tTurb() [2/2]

Foam::scalar & tTurb ( )
inline

Return access to time spent in turbulent eddy.

Definition at line 336 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::tTurb_.

◆ UTurb() [2/2]

Foam::vector & UTurb ( )
inline

Return access to turbulent velocity fluctuation.

Definition at line 343 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::UTurb_.

◆ UCorrect() [2/2]

Foam::vector & UCorrect ( )
inline

Return access to correction velocity.

Definition at line 315 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::UCorrect_.

◆ massCell()

Foam::scalar massCell ( const trackingData td) const
inline

Cell owner mass.

Definition at line 351 of file KinematicParcelI.H.

References mesh, and KinematicParcel< ParcelType >::trackingData::rhoc().

Here is the call graph for this function:

◆ mass()

Foam::scalar mass ( ) const
inline

Particle mass.

Definition at line 360 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::rho_, and KinematicParcel< ParcelType >::volume().

Referenced by KinematicParcel< ParcelType >::momentOfInertia().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ momentOfInertia()

Foam::scalar momentOfInertia ( ) const
inline

Particle moment of inertia around diameter axis.

Definition at line 367 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d_, KinematicParcel< ParcelType >::mass(), and Foam::sqr().

Here is the call graph for this function:

◆ volume() [1/2]

Foam::scalar volume ( ) const
inline

Particle volume.

Definition at line 374 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d_.

Referenced by KinematicParcel< ParcelType >::mass().

Here is the caller graph for this function:

◆ volume() [2/2]

Foam::scalar volume ( const scalar  d)
inlinestatic

Particle volume for a given diameter.

Definition at line 381 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d(), Foam::constant::mathematical::pi(), and Foam::pow3().

Here is the call graph for this function:

◆ areaP() [1/2]

Foam::scalar areaP ( ) const
inline

Particle projected area.

Definition at line 388 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d_.

◆ areaP() [2/2]

Foam::scalar areaP ( const scalar  d)
inlinestatic

Projected area for given diameter.

Definition at line 395 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::areaS(), and KinematicParcel< ParcelType >::d().

Here is the call graph for this function:

◆ areaS() [1/2]

Foam::scalar areaS ( ) const
inline

Particle surface area.

Definition at line 402 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d_.

Referenced by KinematicParcel< ParcelType >::areaP().

Here is the caller graph for this function:

◆ areaS() [2/2]

Foam::scalar areaS ( const scalar  d)
inlinestatic

Surface area for given diameter.

Definition at line 409 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d(), and Foam::constant::mathematical::pi().

Here is the call graph for this function:

◆ Re() [1/2]

Foam::scalar Re ( const trackingData td) const
inline

Reynolds number.

Definition at line 417 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d_, KinematicParcel< ParcelType >::trackingData::muc(), KinematicParcel< ParcelType >::trackingData::rhoc(), KinematicParcel< ParcelType >::U_, and KinematicParcel< ParcelType >::trackingData::Uc().

Here is the call graph for this function:

◆ Re() [2/2]

Foam::scalar Re ( const scalar  rhoc,
const vector U,
const vector Uc,
const scalar  d,
const scalar  muc 
)
inlinestatic

Reynolds number for given conditions.

Definition at line 427 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d(), Foam::mag(), Foam::max(), and KinematicParcel< ParcelType >::U().

Here is the call graph for this function:

◆ We() [1/2]

Foam::scalar We ( const trackingData td,
const scalar  sigma 
) const
inline

Weber number.

Definition at line 441 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d_, KinematicParcel< ParcelType >::trackingData::rhoc(), sigma(), KinematicParcel< ParcelType >::U_, and KinematicParcel< ParcelType >::trackingData::Uc().

Here is the call graph for this function:

◆ We() [2/2]

Foam::scalar We ( const scalar  rhoc,
const vector U,
const vector Uc,
const scalar  d,
const scalar  sigma 
)
inlinestatic

Weber number for given conditions.

Definition at line 452 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d(), Foam::magSqr(), Foam::max(), sigma(), and KinematicParcel< ParcelType >::U().

Here is the call graph for this function:

◆ Eo() [1/2]

Foam::scalar Eo ( const trackingData td,
const scalar  sigma 
) const
inline

Eotvos number.

Definition at line 466 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d_, KinematicParcel< ParcelType >::trackingData::g(), KinematicParcel< ParcelType >::rho_, KinematicParcel< ParcelType >::trackingData::rhoc(), sigma(), and KinematicParcel< ParcelType >::U_.

Here is the call graph for this function:

◆ Eo() [2/2]

Foam::scalar Eo ( const vector g,
const scalar  rho,
const scalar  rhoc,
const vector U,
const scalar  d,
const scalar  sigma 
)
inlinestatic

Eotvos number for given conditions.

Definition at line 477 of file KinematicParcelI.H.

References KinematicParcel< ParcelType >::d(), g, Foam::mag(), Foam::max(), KinematicParcel< ParcelType >::rho(), sigma(), Foam::sqr(), and KinematicParcel< ParcelType >::U().

Here is the call graph for this function:

◆ setCellValues()

◆ calcDispersion()

void calcDispersion ( TrackCloudType &  cloud,
trackingData td,
const scalar  dt 
)

Apply dispersion to the carrier phase velocity and update.

parcel turbulence parameters

Definition at line 76 of file KinematicParcel.C.

References KinematicParcel< ParcelType >::trackingData::Uc().

Here is the call graph for this function:

◆ cellValueSourceCorrection()

void cellValueSourceCorrection ( TrackCloudType &  cloud,
trackingData td,
const scalar  dt 
)

Correct cell values using latest transfer information.

Definition at line 119 of file KinematicParcel.C.

References KinematicParcel< ParcelType >::trackingData::Uc().

Here is the call graph for this function:

◆ calc()

void calc ( TrackCloudType &  cloud,
trackingData td,
const scalar  dt 
)

Update parcel properties over the time interval.

Definition at line 132 of file KinematicParcel.C.

References KinematicParcel< ParcelType >::trackingData::muc(), Foam::Re(), Su, and Foam::Zero.

Here is the call graph for this function:

◆ calcUCorrection()

void calcUCorrection ( TrackCloudType &  cloud,
trackingData td,
const scalar  dt 
)

Correct U following MP-PIC sub-models.

Definition at line 97 of file KinematicParcel.C.

References p, and Foam::Zero.

◆ move()

bool move ( TrackCloudType &  cloud,
trackingData td,
const scalar  trackTime 
)

Move the parcel.

Definition at line 308 of file KinematicParcel.C.

References f(), Foam::mag(), Foam::max(), maxCo, Foam::min(), p, and s.

Here is the call graph for this function:

◆ hitPatch()

bool hitPatch ( TrackCloudType &  cloud,
trackingData td 
)

Overridable function to handle the particle hitting a patch.

Executed before other patch-hitting functions

Definition at line 403 of file KinematicParcel.C.

References polyPatch::constraintType(), and p.

Here is the call graph for this function:

◆ hitProcessorPatch()

void hitProcessorPatch ( TrackCloudType &  cloud,
trackingData td 
)

Overridable function to handle the particle hitting a.

processorPatch

Definition at line 446 of file KinematicParcel.C.

◆ hitWallPatch()

void hitWallPatch ( TrackCloudType &  cloud,
trackingData td 
)

Overridable function to handle the particle hitting a wallPatch.

Definition at line 458 of file KinematicParcel.C.

◆ transformProperties() [1/2]

void transformProperties ( const tensor T)
virtual

Transform the physical properties of the particle.

according to the given transformation tensor

Definition at line 468 of file KinematicParcel.C.

References Foam::T(), and Foam::transform().

Here is the call graph for this function:

◆ transformProperties() [2/2]

void transformProperties ( const vector separation)
virtual

Transform the physical properties of the particle.

according to the given separation vector

Definition at line 478 of file KinematicParcel.C.

◆ readFields() [1/2]

static void readFields ( TrackCloudType &  c)
static

Read.

◆ writeFields() [1/2]

static void writeFields ( const TrackCloudType &  c)
static

Write.

◆ writeProperties()

void writeProperties ( Ostream os,
const wordRes filters,
const word delim,
const bool  namesOnly = false 
) const

Write individual parcel properties to stream.

Definition at line 285 of file KinematicParcelIO.C.

References os(), and writeProp.

Here is the call graph for this function:

◆ readObjects()

void readObjects ( CloudType c,
const objectRegistry obr 
)
static

Read particle fields as objects from the obr registry.

Definition at line 317 of file KinematicParcelIO.C.

References Foam::constant::universal::c, p, rho, and U.

◆ writeObjects()

void writeObjects ( const CloudType c,
objectRegistry obr 
)
static

Write particle fields as objects into the obr registry.

Definition at line 362 of file KinematicParcelIO.C.

References Foam::constant::universal::c, p, rho, and U.

◆ calcVelocity() [2/2]

const Foam::vector calcVelocity ( TrackCloudType &  cloud,
trackingData td,
const scalar  dt,
const scalar  Re,
const scalar  mu,
const scalar  mass,
const vector Su,
vector dUTrans,
scalar &  Spu 
) const

Definition at line 185 of file KinematicParcel.C.

References Foam::meshTools::constrainDirection(), mesh, Foam::constant::physicoChemical::mu, p, Foam::Re(), forceSuSp::Sp(), Su, forceSuSp::Su(), and KinematicParcel< ParcelType >::trackingData::Uc().

Here is the call graph for this function:

◆ readFields() [2/2]

void readFields ( CloudType c)

Definition at line 121 of file KinematicParcelIO.C.

References Foam::constant::universal::c, p, Foam::readFields(), rho, and U.

Here is the call graph for this function:

◆ writeFields() [2/2]

void writeFields ( const CloudType c)

Definition at line 227 of file KinematicParcelIO.C.

References Foam::constant::universal::c, p, rho, U, and Foam::writeFields().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator

Ostream& operator ( Ostream ,
const KinematicParcel< ParcelType > &   
)
friend

Member Data Documentation

◆ sizeofFields

const std::size_t sizeofFields
static

Size in bytes of the fields.

Definition at line 98 of file KinematicParcel.H.

◆ active_

label active_
protected

Active flag - tracking inactive when active = false.

Store as label for data alignment, but only has bool states

Definition at line 306 of file KinematicParcel.H.

Referenced by KinematicParcel< ParcelType >::active().

◆ typeId_

label typeId_
protected

Parcel type id.

Definition at line 309 of file KinematicParcel.H.

Referenced by KinematicParcel< ParcelType >::typeId().

◆ nParticle_

scalar nParticle_
protected

Number of particles in Parcel.

Definition at line 312 of file KinematicParcel.H.

Referenced by KinematicParcel< ParcelType >::nParticle().

◆ d_

◆ dTarget_

scalar dTarget_
protected

Target diameter [m].

Definition at line 318 of file KinematicParcel.H.

Referenced by KinematicParcel< ParcelType >::dTarget().

◆ U_

◆ rho_

scalar rho_
protected

◆ age_

scalar age_
protected

Age [s].

Definition at line 327 of file KinematicParcel.H.

Referenced by KinematicParcel< ParcelType >::age().

◆ tTurb_

scalar tTurb_
protected

Time spent in turbulent eddy [s].

Definition at line 330 of file KinematicParcel.H.

Referenced by KinematicParcel< ParcelType >::tTurb().

◆ UTurb_

vector UTurb_
protected

Turbulent velocity fluctuation [m/s].

Definition at line 333 of file KinematicParcel.H.

Referenced by KinematicParcel< ParcelType >::UTurb().

◆ UCorrect_

vector UCorrect_
protected

Velocity correction due to collisions MPPIC [m/s].

Definition at line 336 of file KinematicParcel.H.

Referenced by KinematicParcel< ParcelType >::UCorrect().


The documentation for this class was generated from the following files: