FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

spray Class Reference

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

#include <dieselSpray/spray.H>


Detailed Description

A spray is a cloud of parcels.

Definition at line 66 of file spray.H.

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, bool readFields=true)
 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.

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,
bool   readFields = true  
)
~spray (  )

Definition at line 357 of file spray.C.


Member Function Documentation

void move (  )

Move the spray parcels.

Definition at line 75 of file sprayOps.C.

References forAll, and Vector< Cmpt >::zero.

Referenced by spray::evolve().

const fvMesh & mesh (  ) const [inline]

Definition at line 39 of file sprayI.H.

Referenced by parcel::move().

const volScalarField & rho (  ) const [inline]

Definition at line 51 of file sprayI.H.

Referenced by spray::liquidTotalEnthalpy(), and spray::smd().

const volScalarField & T (  ) const [inline]

Definition at line 63 of file sprayI.H.

Referenced by spray::liquidEnthalpy(), spray::liquidTotalEnthalpy(), and spray::smd().

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

Definition at line 75 of file sprayI.H.

const atomizationModel & atomization (  ) const [inline]

Definition at line 81 of file sprayI.H.

Referenced by spray::atomizationLoop().

const breakupModel & breakup (  ) const [inline]

Definition at line 87 of file sprayI.H.

Referenced by spray::breakupLoop(), and spray::inject().

const collisionModel & collisions (  ) const [inline]

Definition at line 93 of file sprayI.H.

Referenced by spray::evolve().

const dispersionModel & dispersion (  ) const [inline]

Definition at line 99 of file sprayI.H.

Referenced by spray::evolve().

const dragModel & drag (  ) const [inline]

Definition at line 105 of file sprayI.H.

const evaporationModel & evaporation (  ) const [inline]

Definition at line 111 of file sprayI.H.

const heatTransferModel & heatTransfer (  ) const [inline]

Definition at line 117 of file sprayI.H.

const injectorModel & injection (  ) const [inline]

Definition at line 123 of file sprayI.H.

Referenced by spray::inject().

const wallModel & wall (  ) const [inline]

Definition at line 129 of file sprayI.H.

tmp< volScalarField > evaporationSource ( const label   i  ) const [inline]
tmp< volScalarField > heatTransferSource (  ) const [inline]
Random & rndGen (  ) [inline]
label subCycles (  ) const [inline]

Definition at line 230 of file sprayI.H.

Referenced by parcel::move().

const vector & g (  ) const [inline]

Definition at line 236 of file sprayI.H.

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

Definition at line 248 of file sprayI.H.

Referenced by spray::liquidEnthalpy(), spray::liquidTotalEnthalpy(), and parcel::move().

const basicMultiComponentMixture & composition (  ) const [inline]

Definition at line 254 of file sprayI.H.

Referenced by parcel::move().

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

Definition at line 260 of file sprayI.H.

Referenced by parcel::move().

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

Definition at line 266 of file sprayI.H.

Referenced by parcel::move().

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

Definition at line 272 of file sprayI.H.

Referenced by parcel::move().

const vector & axisOfSymmetry (  ) const [inline]

Definition at line 284 of file sprayI.H.

Referenced by parcel::move().

const vector & axisOfWedge (  ) const [inline]

Definition at line 290 of file sprayI.H.

const vector & axisOfWedgeNormal (  ) const [inline]

Definition at line 296 of file sprayI.H.

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

Definition at line 308 of file sprayI.H.

Referenced by spray::atomizationLoop(), spray::breakupLoop(), and parcel::move().

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

Definition at line 314 of file sprayI.H.

Referenced by parcel::move().

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

Definition at line 320 of file sprayI.H.

Referenced by parcel::move().

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

Definition at line 326 of file sprayI.H.

Referenced by parcel::move().

vectorField & sms (  ) [inline]

Definition at line 332 of file sprayI.H.

Referenced by parcel::move().

const vectorField & sms (  ) const [inline]

Definition at line 338 of file sprayI.H.

scalarField & shs (  ) [inline]

Definition at line 344 of file sprayI.H.

Referenced by parcel::move().

const scalarField & shs (  ) const [inline]

Definition at line 350 of file sprayI.H.

PtrList< scalarField > & srhos (  ) [inline]

Definition at line 356 of file sprayI.H.

Referenced by parcel::move().

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

Definition at line 362 of file sprayI.H.

const scalar & ambientPressure (  ) const [inline]

Definition at line 368 of file sprayI.H.

Referenced by hollowConeInjector::hollowConeInjector().

const scalar & ambientTemperature (  ) const [inline]

Definition at line 374 of file sprayI.H.

scalar injectedMass ( const scalar   t  ) const

Returns the liquid mass that has been injected.

Definition at line 36 of file sprayFunctions.C.

References forAll, and Foam::sum().

scalar totalMassToInject (  ) const

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

Definition at line 49 of file sprayFunctions.C.

References forAll, and Foam::sum().

scalar injectedEnthalpy ( const scalar   t  ) const

Returns the injected enthalpy.

Definition at line 63 of file sprayFunctions.C.

References forAll, gasProperties(), k(), Foam::mathematicalConstant::pi(), Foam::sum(), and Foam::T().

scalar liquidMass (  ) const

Returns current total liquid mass in the domain.

Definition at line 92 of file sprayFunctions.C.

References spray::angleOfWedge(), Cloud< parcel >::begin(), elmnt, Cloud< parcel >::end(), Foam::mathematicalConstant::pi(), Foam::reduce(), Foam::sum(), and spray::twoD().

scalar liquidKineticEnergy (  ) const
scalar injectedLiquidKineticEnergy (  ) const

Returns the injected kinetic energy of the liquid phase.

Definition at line 230 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 243 of file sprayFunctions.C.

References d, dist, elmnt, Foam::mag(), mTot, Foam::reduce(), and Vector< Cmpt >::zero.

Referenced by spray::liquidPenetration().

scalar liquidPenetration ( const scalar   prc  ) const

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

liquid from nozzle 0

Definition at line 236 of file sprayFunctions.C.

References spray::liquidPenetration().

scalar smd (  ) const

Return Sauter Mean Diameter.

Definition at line 372 of file sprayFunctions.C.

References Cloud< parcel >::begin(), d, elmnt, Cloud< parcel >::end(), spray::p(), Foam::pow(), Foam::reduce(), spray::rho(), and spray::T().

scalar maxD (  ) const

Return Maximum Diameter.

Definition at line 400 of file sprayFunctions.C.

References Cloud< parcel >::begin(), d, elmnt, Cloud< parcel >::end(), Foam::max(), and Foam::reduce().

void calculateAmbientPressure (  )

Return Ambient Pressure.

Definition at line 420 of file sprayFunctions.C.

References DimensionedField< Type, GeoMesh >::average(), and dimensioned< Type >::value().

Referenced by spray::evolve().

void calculateAmbientTemperature (  )

Return Ambient Temperature.

Definition at line 426 of file sprayFunctions.C.

References DimensionedField< Type, GeoMesh >::average(), and dimensioned< Type >::value().

Referenced by spray::evolve().


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