OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

spray Class Reference

A spray is a cloud of parcels. More...

Inheritance diagram for spray:
Collaboration diagram for spray:

List of all members.


Public Member Functions

 spray (const volVectorField &U, const volScalarField &rho, const volScalarField &p, const volScalarField &T, const basicMultiComponentMixture &composition, const PtrList< gasThermoPhysics > &gasProperties, const dictionary &thermophysicalProperties, const dimensionedVector &g)
 Construct from components.
 ~spray ()
void evolve ()
 Evolve the spray (move, inject and breakup).
void move ()
 Move the spray parcels.
void inject ()
 Inject more parcels.
void atomizationLoop ()
 Primary breakup droplets.
void breakupLoop ()
 Secondary breakup droplets.
const Time & runTime () const
const fvMesh & mesh () const
const volVectorField & U () const
const volScalarField & rho () const
const volScalarField & p () const
const volScalarField & T () const
PtrList< injector > & injectors ()
const PtrList< injector > & injectors () const
const atomizationModel & atomization () const
const breakupModel & breakup () const
const collisionModel & collisions () const
const dispersionModel & dispersion () const
const dragModel & drag () const
const evaporationModel & evaporation () const
const heatTransferModel & heatTransfer () const
const injectorModel & injection () const
const wallModel & wall () const
tmp< volVectorField > momentumSource () const
tmp< volScalarField > evaporationSource (const label i) const
tmp< volScalarField > heatTransferSource () const
Random & rndGen ()
label subCycles () const
const vector & g () const
const liquidMixture & fuels () const
const PtrList< gasThermoPhysics > & gasProperties () const
const basicMultiComponentMixture & composition () const
const List< label > & liquidToGasIndex () const
const List< label > & gasToLiquidIndex () const
const List< bool > & isLiquidFuel () const
const bool & twoD () const
const vector & axisOfSymmetry () const
const vector & axisOfWedge () const
const vector & axisOfWedgeNormal () const
const scalar & angleOfWedge () const
const interpolation< vector > & UInterpolator () const
const interpolation< scalar > & rhoInterpolator () const
const interpolation< scalar > & pInterpolator () const
const interpolation< scalar > & TInterpolator () const
vectorField & sms ()
const vectorField & sms () const
scalarField & shs ()
const scalarField & shs () const
PtrList< scalarField > & srhos ()
const PtrList< scalarField > & srhos () const
const scalar & ambientPressure () const
const scalar & ambientTemperature () const
scalar injectedMass (const scalar t) const
 Returns the liquid mass that has been injected.
scalar totalMassToInject () const
 Returns the liquid mass that will be injected by the injectors.
scalar injectedEnthalpy (const scalar t) const
 Returns the injected enthalpy.
scalar liquidMass () const
 Returns current total liquid mass in the domain.
scalar liquidEnthalpy () const
 Returns the enthalpy of all the liquid in the domain.
scalar liquidTotalEnthalpy () const
 Returns the enthalpy (total) of all the liquid in the domain.
scalar liquidKineticEnergy () const
 Returns the kinetic energy of the liquid phase.
scalar injectedLiquidKineticEnergy () const
 Returns the injected kinetic energy of the liquid phase.
scalar liquidPenetration (const label nozzlei, const scalar prc) const
 Returns the droplet penetration for 'prc' percent of the.
scalar liquidPenetration (const scalar prc) const
 Returns the droplet penetration for 'prc' percent of the.
scalar smd () const
 Return Sauter Mean Diameter.
scalar maxD () const
 Return Maximum Diameter.
void calculateAmbientPressure ()
 Return Ambient Pressure.
void calculateAmbientTemperature ()
 Return Ambient Temperature.
virtual void writeFields () const
 Write fields.

Detailed Description

A spray is a cloud of parcels.

Definition at line 58 of file spray.H.


Constructor & Destructor Documentation

spray ( const volVectorField &  U,
const volScalarField &  rho,
const volScalarField &  p,
const volScalarField &  T,
const basicMultiComponentMixture &  composition,
const PtrList< gasThermoPhysics > &  gasProperties,
const dictionary &  thermophysicalProperties,
const dimensionedVector &  g 
)

Construct from components.

Definition at line 45 of file spray.C.

~spray (  ) 

Definition at line 345 of file spray.C.


Member Function Documentation

void move (  ) 

Move the spray parcels.

Definition at line 67 of file sprayOps.C.

Referenced by spray::evolve().

Here is the caller graph for this function:

void atomizationLoop (  ) 

Primary breakup droplets.

Definition at line 115 of file sprayOps.C.

Referenced by spray::evolve().

Here is the caller graph for this function:

void breakupLoop (  ) 

Secondary breakup droplets.

Definition at line 81 of file sprayOps.C.

const Time & runTime (  )  const [inline]

Definition at line 25 of file sprayI.H.

const fvMesh & mesh (  )  const [inline]

Definition at line 31 of file sprayI.H.

const volVectorField & U (  )  const [inline]

Definition at line 37 of file sprayI.H.

Referenced by spray::inject().

Here is the caller graph for this function:

const volScalarField & rho (  )  const [inline]

Definition at line 43 of file sprayI.H.

const volScalarField & p (  )  const [inline]

Definition at line 49 of file sprayI.H.

Referenced by spray::inject().

Here is the caller graph for this function:

const volScalarField & T (  )  const [inline]

Definition at line 55 of file sprayI.H.

const PtrList< injector > & injectors (  )  const [inline]

Definition at line 67 of file sprayI.H.

const atomizationModel & atomization (  )  const [inline]

Definition at line 73 of file sprayI.H.

const breakupModel & breakup (  )  const [inline]

Definition at line 79 of file sprayI.H.

Referenced by spray::inject().

Here is the caller graph for this function:

const collisionModel & collisions (  )  const [inline]

Definition at line 85 of file sprayI.H.

Referenced by spray::evolve().

Here is the caller graph for this function:

const dispersionModel & dispersion (  )  const [inline]

Definition at line 91 of file sprayI.H.

Referenced by spray::evolve().

Here is the caller graph for this function:

const dragModel & drag (  )  const [inline]

Definition at line 97 of file sprayI.H.

const evaporationModel & evaporation (  )  const [inline]

Definition at line 103 of file sprayI.H.

const heatTransferModel & heatTransfer (  )  const [inline]

Definition at line 109 of file sprayI.H.

const injectorModel & injection (  )  const [inline]

Definition at line 115 of file sprayI.H.

Referenced by spray::inject().

Here is the caller graph for this function:

const wallModel & wall (  )  const [inline]

Definition at line 121 of file sprayI.H.

tmp< volVectorField > momentumSource (  )  const [inline]

Definition at line 127 of file sprayI.H.

tmp< volScalarField > evaporationSource ( const label  i  )  const [inline]

Definition at line 157 of file sprayI.H.

tmp< volScalarField > heatTransferSource (  )  const [inline]

Definition at line 191 of file sprayI.H.

References primitiveMesh::nCells().

Here is the call graph for this function:

Random & rndGen (  )  [inline]

Definition at line 216 of file sprayI.H.

label subCycles (  )  const [inline]

Definition at line 222 of file sprayI.H.

const vector & g (  )  const [inline]

Definition at line 228 of file sprayI.H.

const PtrList< gasThermoPhysics > & gasProperties (  )  const [inline]

Definition at line 240 of file sprayI.H.

const basicMultiComponentMixture & composition (  )  const [inline]

Definition at line 246 of file sprayI.H.

const List< label > & liquidToGasIndex (  )  const [inline]

Definition at line 252 of file sprayI.H.

const List< label > & gasToLiquidIndex (  )  const [inline]

Definition at line 258 of file sprayI.H.

const List< bool > & isLiquidFuel (  )  const [inline]

Definition at line 264 of file sprayI.H.

const bool & twoD (  )  const [inline]

Definition at line 270 of file sprayI.H.

const vector & axisOfSymmetry (  )  const [inline]

Definition at line 276 of file sprayI.H.

const vector & axisOfWedge (  )  const [inline]

Definition at line 282 of file sprayI.H.

const vector & axisOfWedgeNormal (  )  const [inline]

Definition at line 288 of file sprayI.H.

const scalar & angleOfWedge (  )  const [inline]

Definition at line 294 of file sprayI.H.

const interpolation< vector > & UInterpolator (  )  const [inline]

Definition at line 300 of file sprayI.H.

const interpolation< scalar > & rhoInterpolator (  )  const [inline]

Definition at line 306 of file sprayI.H.

const interpolation< scalar > & pInterpolator (  )  const [inline]

Definition at line 312 of file sprayI.H.

const interpolation< scalar > & TInterpolator (  )  const [inline]

Definition at line 318 of file sprayI.H.

vectorField & sms (  )  [inline]

Definition at line 324 of file sprayI.H.

const vectorField & sms (  )  const [inline]

Definition at line 330 of file sprayI.H.

scalarField & shs (  )  [inline]

Definition at line 336 of file sprayI.H.

const scalarField & shs (  )  const [inline]

Definition at line 342 of file sprayI.H.

PtrList< scalarField > & srhos (  )  [inline]

Definition at line 348 of file sprayI.H.

const PtrList< scalarField > & srhos (  )  const [inline]

Definition at line 354 of file sprayI.H.

const scalar & ambientPressure (  )  const [inline]

Definition at line 360 of file sprayI.H.

const scalar & ambientTemperature (  )  const [inline]

Definition at line 366 of file sprayI.H.

scalar injectedMass ( const scalar  t  )  const

Returns the liquid mass that has been injected.

Definition at line 28 of file sprayFunctions.C.

References Foam::sum().

Here is the call graph for this function:

scalar totalMassToInject (  )  const

Returns the liquid mass that will be injected by the injectors.

Definition at line 41 of file sprayFunctions.C.

scalar injectedEnthalpy ( const scalar  t  )  const

Returns the injected enthalpy.

Definition at line 55 of file sprayFunctions.C.

scalar liquidMass (  )  const

Returns current total liquid mass in the domain.

Definition at line 84 of file sprayFunctions.C.

scalar liquidEnthalpy (  )  const

Returns the enthalpy of all the liquid in the domain.

Hdrop = Hgas - Hlat

Definition at line 109 of file sprayFunctions.C.

scalar liquidTotalEnthalpy (  )  const

Returns the enthalpy (total) of all the liquid in the domain.

Hdrop = Hgas - Hlat + (P-Psat)/rhoDrop;

Definition at line 151 of file sprayFunctions.C.

scalar liquidKineticEnergy (  )  const

Returns the kinetic energy of the liquid phase.

Definition at line 196 of file sprayFunctions.C.

scalar injectedLiquidKineticEnergy (  )  const

Returns the injected kinetic energy of the liquid phase.

Definition at line 222 of file sprayFunctions.C.

scalar liquidPenetration ( const label  nozzlei,
const scalar  prc 
) const

Returns the droplet penetration for 'prc' percent of the.

liquid from nozzle 'nozzlei'

Definition at line 235 of file sprayFunctions.C.

scalar liquidPenetration ( const scalar  prc  )  const

Returns the droplet penetration for 'prc' percent of the.

liquid from nozzle 0

Definition at line 228 of file sprayFunctions.C.

scalar smd (  )  const

Return Sauter Mean Diameter.

Definition at line 364 of file sprayFunctions.C.

scalar maxD (  )  const

Return Maximum Diameter.

Definition at line 392 of file sprayFunctions.C.

void calculateAmbientPressure (  ) 

Return Ambient Pressure.

Definition at line 412 of file sprayFunctions.C.

Referenced by spray::evolve().

Here is the caller graph for this function:

void calculateAmbientTemperature (  ) 

Return Ambient Temperature.

Definition at line 418 of file sprayFunctions.C.

Referenced by spray::evolve().

Here is the caller graph for this function:

void writeFields (  )  const [virtual]

Write fields.

Reimplemented from Cloud< parcel >.

Definition at line 351 of file spray.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd