OpenFOAM logo
Open Source CFD Toolkit

parcel Class Reference

Inheritance diagram for parcel:

Inheritance graph
[legend]
Collaboration diagram for parcel:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 parcel (const Cloud< parcel > &cloud, const vector &position, const label celli, const vector &n, const scalar d, const scalar T, const scalar m, const scalar y, const scalar yDot, const scalar ct, const scalar ms, const scalar tTurb, const scalar liquidCore, const scalar injector, const vector &U, const vector &Uturb, const scalarField &X, const List< word > &fuelNames)
 Construct from components.
 parcel (const Cloud< parcel > &cloud, Istream &is, bool readFields=true)
 Construct from Istream reading field values if required.
virtual ~parcel ()
const List< word > & fuelNames () const
 Return the names of the liquid fuel components.
scalar d () const
 Return diameter of droplets in parcel.
scalar & d ()
 Return diameter of droplets in parcel.
scalar T () const
 Return temperature of droplets in parcel.
scalar & T ()
 Return temperature of droplets in parcel.
scalar m () const
 Return total parcel mass.
scalar & m ()
 Return total parcel mass.
scalar dev () const
 Return spherical deviation of droplets in parcel.
scalar & dev ()
 Return spherical deviation of droplets in parcel.
scalar ddev () const
 Return rate of change of spherical deviation of.
scalar & ddev ()
 Return rate of change of spherical deviation of.
scalar ct () const
 Return characteristic time of droplets in parcel.
scalar & ct ()
 Return characteristic time of droplets in parcel.
scalar & ms ()
 Return stripped mass of droplets in parcel.
scalar ms () const
 Return stripped mass of droplets in parcel.
scalar & tTurb ()
 Return time spent in turbulent eddy.
scalar tTurb () const
 Return time spent in turbulent eddy.
scalar & liquidCore ()
 Return part of liquid liquidCore.
scalar liquidCore () const
 Return part of liquid liquidCore.
scalar & injector ()
 Return the injector from which is injected.
scalar injector () const
 Return the injector from which is injected.
const vectorU () const
 Return velocity of parcel.
vectorU ()
 Return velocity of parcel.
const vectorUturb () const
 Return turbulent velocity fluctuation.
vectorUturb ()
 Return turbulent velocity fluctuation.
const vectorn () const
 Return the normal used for 2D purposes.
vectorn ()
 Return the normal used for 2D purposes.
const scalarFieldX () const
 Return the liquid fuel molar fractions.
scalarFieldX ()
 Return the liquid fuel molar fractions.
scalar & tMom ()
 Return the momentum relaxation time of droplets in parcel.
scalar tMom () const
 Return the momentum relaxation time of droplets in parcel.
scalar & t0 ()
 Return the time at start of tracking.
scalar t0 () const
 Return the time at start of tracking.
scalar & tEnd ()
 Return the time remaining to reach end of trajectory.
scalar tEnd () const
 Return the time remaining to reach end of trajectory.
scalar N (const scalar rho) const
 Return statistical number of drops in parcel.
vector Urel (const vector &) const
 Return relative velocity between given vector and parcel.
scalar Re (const scalar rho, const vector &U, const scalar mu) const
 Reynolds number based on rho an dynamic viscosity.
scalar Re (const vector &U, const scalar nu) const
 Reynolds number based on kinematic viscosity.
scalar We (const vector &U, const scalar rho, const scalar sigma) const
 Weber number.
scalar Sc (const scalar mu, const scalar rho, const scalar massDiffusion) const
 Schmidt number based on dynamic viscosity and rho.
scalar Sc (const scalar nu, const scalar massDiffusion) const
 Schmidt number based on kinematic viscosity.
scalar Pr (const scalar cp, const scalar mu, const scalar kappa) const
 Prandtl number.
scalar Vd () const
 Volume of one droplet in the parcel.
scalar V (const scalar rho) const
 Volume of all droplets in parcel.
bool move (spray &sprayData)
void transformProperties (const tensor &T)
 Transform the position and physical properties of the particle.
void correctNormal (const vector &sym)
 fix the 2D plane normal,

Friends

class Cloud<parcel>
Ostreamoperator<< (Ostream &, const parcel &)

Constructor & Destructor Documentation

parcel const Cloud< parcel > &  cloud,
const vector position,
const label  celli,
const vector n,
const scalar  d,
const scalar  T,
const scalar  m,
const scalar  y,
const scalar  yDot,
const scalar  ct,
const scalar  ms,
const scalar  tTurb,
const scalar  liquidCore,
const scalar  injector,
const vector U,
const vector Uturb,
const scalarField X,
const List< word > &  fuelNames
 

Construct from components.

parcel const Cloud< parcel > &  cloud,
Istream is,
bool  readFields = true
 

Construct from Istream reading field values if required.

virtual ~parcel  )  [virtual]
 


Member Function Documentation

void correctNormal const vector sym  )  [inline]
 

fix the 2D plane normal,

when particle hits a face it is slightly perturbed towards the face centre and n_ will no longer be valid

Definition at line 225 of file parcelI.H.

scalar & ct  )  [inline]
 

Return characteristic time of droplets in parcel.

Definition at line 104 of file parcelI.H.

scalar ct  )  const [inline]
 

Return characteristic time of droplets in parcel.

Definition at line 99 of file parcelI.H.

scalar & d  )  [inline]
 

Return diameter of droplets in parcel.

Definition at line 54 of file parcelI.H.

scalar d  )  const [inline]
 

Return diameter of droplets in parcel.

Definition at line 49 of file parcelI.H.

scalar & ddev  )  [inline]
 

Return rate of change of spherical deviation of.

droplets in parcel

Definition at line 94 of file parcelI.H.

scalar ddev  )  const [inline]
 

Return rate of change of spherical deviation of.

droplets in parcel

Definition at line 89 of file parcelI.H.

scalar & dev  )  [inline]
 

Return spherical deviation of droplets in parcel.

Definition at line 84 of file parcelI.H.

scalar dev  )  const [inline]
 

Return spherical deviation of droplets in parcel.

Definition at line 79 of file parcelI.H.

const List< word > & fuelNames  )  const [inline]
 

Return the names of the liquid fuel components.

Definition at line 44 of file parcelI.H.

scalar injector  )  const [inline]
 

Return the injector from which is injected.

Definition at line 144 of file parcelI.H.

scalar & injector  )  [inline]
 

Return the injector from which is injected.

Definition at line 139 of file parcelI.H.

scalar liquidCore  )  const [inline]
 

Return part of liquid liquidCore.

Definition at line 134 of file parcelI.H.

scalar & liquidCore  )  [inline]
 

Return part of liquid liquidCore.

Definition at line 129 of file parcelI.H.

scalar & m  )  [inline]
 

Return total parcel mass.

Definition at line 74 of file parcelI.H.

scalar m  )  const [inline]
 

Return total parcel mass.

Definition at line 69 of file parcelI.H.

bool move spray sprayData  ) 
 

scalar ms  )  const [inline]
 

Return stripped mass of droplets in parcel.

Definition at line 114 of file parcelI.H.

scalar & ms  )  [inline]
 

Return stripped mass of droplets in parcel.

Definition at line 109 of file parcelI.H.

scalar N const scalar  rho  )  const
 

Return statistical number of drops in parcel.

vector & n  )  [inline]
 

Return the normal used for 2D purposes.

Definition at line 174 of file parcelI.H.

const vector & n  )  const [inline]
 

Return the normal used for 2D purposes.

Definition at line 169 of file parcelI.H.

scalar Pr const scalar  cp,
const scalar  mu,
const scalar  kappa
const
 

Prandtl number.

scalar Re const vector U,
const scalar  nu
const
 

Reynolds number based on kinematic viscosity.

scalar Re const scalar  rho,
const vector U,
const scalar  mu
const
 

Reynolds number based on rho an dynamic viscosity.

scalar Sc const scalar  nu,
const scalar  massDiffusion
const
 

Schmidt number based on kinematic viscosity.

scalar Sc const scalar  mu,
const scalar  rho,
const scalar  massDiffusion
const
 

Schmidt number based on dynamic viscosity and rho.

scalar & T  )  [inline]
 

Return temperature of droplets in parcel.

Definition at line 64 of file parcelI.H.

scalar T  )  const [inline]
 

Return temperature of droplets in parcel.

Definition at line 59 of file parcelI.H.

scalar t0  )  const [inline]
 

Return the time at start of tracking.

Definition at line 204 of file parcelI.H.

scalar & t0  )  [inline]
 

Return the time at start of tracking.

Definition at line 199 of file parcelI.H.

scalar tEnd  )  const [inline]
 

Return the time remaining to reach end of trajectory.

Definition at line 214 of file parcelI.H.

scalar & tEnd  )  [inline]
 

Return the time remaining to reach end of trajectory.

Definition at line 209 of file parcelI.H.

scalar tMom  )  const [inline]
 

Return the momentum relaxation time of droplets in parcel.

Definition at line 194 of file parcelI.H.

scalar & tMom  )  [inline]
 

Return the momentum relaxation time of droplets in parcel.

Definition at line 189 of file parcelI.H.

void transformProperties const tensor T  )  [virtual]
 

Transform the position and physical properties of the particle.

according to the given transformation tensor

Reimplemented from particle< parcel >.

scalar tTurb  )  const [inline]
 

Return time spent in turbulent eddy.

Definition at line 124 of file parcelI.H.

scalar & tTurb  )  [inline]
 

Return time spent in turbulent eddy.

Definition at line 119 of file parcelI.H.

vector & U  )  [inline]
 

Return velocity of parcel.

Definition at line 154 of file parcelI.H.

const vector & U  )  const [inline]
 

Return velocity of parcel.

Definition at line 149 of file parcelI.H.

vector Urel const vector  )  const [inline]
 

Return relative velocity between given vector and parcel.

Definition at line 219 of file parcelI.H.

References Foam::mag().

Here is the call graph for this function:

vector & Uturb  )  [inline]
 

Return turbulent velocity fluctuation.

Definition at line 164 of file parcelI.H.

const vector & Uturb  )  const [inline]
 

Return turbulent velocity fluctuation.

Definition at line 159 of file parcelI.H.

scalar V const scalar  rho  )  const
 

Volume of all droplets in parcel.

scalar Vd  )  const
 

Volume of one droplet in the parcel.

scalar We const vector U,
const scalar  rho,
const scalar  sigma
const
 

Weber number.

scalarField & X  )  [inline]
 

Return the liquid fuel molar fractions.

Definition at line 184 of file parcelI.H.

const scalarField & X  )  const [inline]
 

Return the liquid fuel molar fractions.

Definition at line 179 of file parcelI.H.


Friends And Related Function Documentation

friend class Cloud<parcel> [friend]
 

Definition at line 153 of file parcel.H.

Ostream& operator<< Ostream ,
const parcel
[friend]
 


The documentation for this class was generated from the following files:
For further information go to www.openfoam.org