KinematicCloud< ParcelType > Class Template ReferenceTemplated base class for kinematic cloud.
More...
List of all members.
|
Public Types |
| typedef ParcelType | parcelType |
| | Type of parcel the cloud was instantiated for.
|
Public Member Functions |
| | KinematicCloud (const word &cloudName, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g) |
| | Construct given carrier gas fields.
|
| virtual | ~KinematicCloud () |
| | Destructor.
|
| label | parcelTypeId () const |
| | Return the parcel type id.
|
| const fvMesh & | mesh () const |
| | Return refernce to the mesh.
|
| const IOdictionary & | particleProperties () const |
| | Return particle properties dictionary.
|
const
ParcelType::constantProperties & | constProps () const |
| | Return the constant properties.
|
| const Switch | coupled () const |
| | Return coupled flag.
|
| const Switch | cellValueSourceCorrection () const |
| | Return cell value correction flag.
|
| Random & | rndGen () |
| | Return refernce to the random object.
|
| const volVectorField & | U () const |
| | Return carrier gas velocity.
|
| const volScalarField & | rho () const |
| | Return carrier gas density.
|
| const volScalarField & | mu () const |
| | Return carrier gas dynamic viscosity.
|
| const dimensionedVector & | g () const |
| | Gravity.
|
| const particleForces & | forces () const |
| | Optional particle forces.
|
| const dictionary & | interpolationSchemes () const |
| | Return reference to the interpolation dictionary.
|
const DispersionModel
< KinematicCloud< ParcelType > > & | dispersion () const |
| | Return const-access to the dispersion model.
|
DispersionModel
< KinematicCloud< ParcelType > > & | dispersion () |
| | Return reference to the dispersion model.
|
const DragModel
< KinematicCloud< ParcelType > > & | drag () const |
| | Return const-access to the drag model.
|
const InjectionModel
< KinematicCloud< ParcelType > > & | injection () const |
| | Return const access to the injection model.
|
InjectionModel< KinematicCloud
< ParcelType > > & | injection () |
| | Return reference to the injection model.
|
const PatchInteractionModel
< KinematicCloud< ParcelType > > & | patchInteraction () const |
| | Return const-access to the patch interaction model.
|
PostProcessingModel
< KinematicCloud< ParcelType > > & | postProcessing () |
| | Return reference to post-processing model.
|
| const vectorIntegrationScheme & | UIntegrator () const |
| | Return reference to velocity integration.
|
DimensionedField< vector,
volMesh > & | UTrans () |
| | Return reference to momentum source.
|
tmp< DimensionedField< vector,
volMesh > > | SU () const |
| | Return tmp momentum source term - fully explicit.
|
| scalar | massInjected () const |
| | Total mass injected.
|
| scalar | massInSystem () const |
| | Total mass in system.
|
| void | info () const |
| | Print cloud information.
|
| const tmp< volScalarField > | theta () const |
| | Return the particle volume fraction field.
|
| const tmp< volScalarField > | alpha () const |
| | Return the particle mass fraction field.
|
| const tmp< volScalarField > | rhoEff () const |
| | Return the particle effective density field.
|
| void | checkParcelProperties (ParcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed) |
| | Check parcel properties.
|
| void | resetSourceTerms () |
| | Reset the spray source terms.
|
| void | evolve () |
| | Evolve the spray (inject, inject).
|
Protected Member Functions |
| void | preEvolve () |
| | Pre-evolve.
|
| void | postEvolve () |
| | Post-evolve.
|
Protected Attributes |
| const fvMesh & | mesh_ |
| | References to the mesh and time databases.
|
| IOdictionary | particleProperties_ |
| | Dictionary of particle properties.
|
| ParcelType::constantProperties | constProps_ |
| | Parcel constant properties.
|
| const label | parcelTypeId_ |
| | Parcel type id - used to flag the type of parcels issued by this.
|
| const Switch | coupled_ |
| | Flag to indicate whether parcels are coupled to the carrier phase.
|
| const Switch | cellValueSourceCorrection_ |
| | Flag to correct cell values with latest transfer information.
|
| Random | rndGen_ |
| | Random number generator - used by some injection routines.
|
| const volScalarField & | rho_ |
| | Density.
|
| const volVectorField & | U_ |
| | Velocity.
|
| const volScalarField & | mu_ |
| | Dynamic viscosity.
|
| const dimensionedVector & | g_ |
| | Gravity.
|
| particleForces | forces_ |
| | Optional particle forces.
|
| dictionary | interpolationSchemes_ |
| | Interpolation schemes dictionary.
|
autoPtr< DispersionModel
< KinematicCloud< ParcelType > > > | dispersionModel_ |
| | Dispersion model.
|
autoPtr< DragModel
< KinematicCloud< ParcelType > > > | dragModel_ |
| | Drag transfer model.
|
autoPtr< InjectionModel
< KinematicCloud< ParcelType > > > | injectionModel_ |
| | Injector model.
|
autoPtr< PatchInteractionModel
< KinematicCloud< ParcelType > > > | patchInteractionModel_ |
| | Patch interaction model.
|
autoPtr< PostProcessingModel
< KinematicCloud< ParcelType > > > | postProcessingModel_ |
| | Post-processing model.
|
| autoPtr< vectorIntegrationScheme > | UIntegrator_ |
| | Velocity integration.
|
| DimensionedField< vector, volMesh > | UTrans_ |
| | Momentum.
|
Detailed Description
template<class ParcelType>
class Foam::KinematicCloud< ParcelType >
Templated base class for kinematic cloud.
- Kinematic only
- Dispersion model
- Drag model
- Injection model
- Wall interaction model
- Source files
-
Definition at line 79 of file KinematicCloud.H.
Member Typedef Documentation
Type of parcel the cloud was instantiated for.
Reimplemented in ReactingCloud< ParcelType >, ReactingMultiphaseCloud< ParcelType >, ThermoCloud< ParcelType >, ReactingCloud< CoalParcel< ThermoType > >, ReactingCloud< BasicReactingParcel< ThermoType > >, ReactingCloud< BasicReactingMultiphaseParcel< ThermoType > >, ReactingCloud< ParcelType >, ReactingMultiphaseCloud< CoalParcel< ThermoType > >, ReactingMultiphaseCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< CoalParcel< ThermoType > >, ThermoCloud< ParcelType >, ThermoCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< BasicReactingParcel< ThermoType > >, and ThermoCloud< basicThermoParcel >.
Definition at line 216 of file KinematicCloud.H.
Constructor & Destructor Documentation
Member Function Documentation
| void preEvolve |
( |
|
) |
[inline, protected] |
Pre-evolve.
Reimplemented in ReactingCloud< ParcelType >, ReactingMultiphaseCloud< ParcelType >, ThermoCloud< ParcelType >, ReactingCloud< CoalParcel< ThermoType > >, ReactingCloud< BasicReactingParcel< ThermoType > >, ReactingCloud< BasicReactingMultiphaseParcel< ThermoType > >, ReactingCloud< ParcelType >, ReactingMultiphaseCloud< CoalParcel< ThermoType > >, ReactingMultiphaseCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< CoalParcel< ThermoType > >, ThermoCloud< ParcelType >, ThermoCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< BasicReactingParcel< ThermoType > >, and ThermoCloud< basicThermoParcel >.
Definition at line 168 of file KinematicCloud.C.
References DimensionedField< Type, GeoMesh >::field(), and KinematicCloud< ParcelType >::UTrans_.
| void postEvolve |
( |
|
) |
[inline, protected] |
Post-evolve.
Reimplemented in ReactingCloud< ParcelType >, ReactingMultiphaseCloud< ParcelType >, ThermoCloud< ParcelType >, ReactingCloud< CoalParcel< ThermoType > >, ReactingCloud< BasicReactingParcel< ThermoType > >, ReactingCloud< BasicReactingMultiphaseParcel< ThermoType > >, ReactingCloud< ParcelType >, ReactingMultiphaseCloud< CoalParcel< ThermoType > >, ReactingMultiphaseCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< CoalParcel< ThermoType > >, ThermoCloud< ParcelType >, ThermoCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< BasicReactingParcel< ThermoType > >, and ThermoCloud< basicThermoParcel >.
Definition at line 176 of file KinematicCloud.C.
References particleForces::cacheFields(), DispersionModel< CloudType >::cacheFields(), KinematicCloud< ParcelType >::dispersion(), and KinematicCloud< ParcelType >::forces_.
| const ParcelType::constantProperties & constProps |
( |
|
) |
const [inline] |
Return the constant properties.
Reimplemented in ReactingCloud< ParcelType >, ReactingMultiphaseCloud< ParcelType >, ThermoCloud< ParcelType >, ReactingCloud< CoalParcel< ThermoType > >, ReactingCloud< BasicReactingParcel< ThermoType > >, ReactingCloud< BasicReactingMultiphaseParcel< ThermoType > >, ReactingCloud< ParcelType >, ReactingMultiphaseCloud< CoalParcel< ThermoType > >, ReactingMultiphaseCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< CoalParcel< ThermoType > >, ThermoCloud< ParcelType >, ThermoCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< BasicReactingParcel< ThermoType > >, and ThermoCloud< basicThermoParcel >.
Definition at line 46 of file KinematicCloudI.H.
| const Foam::Switch cellValueSourceCorrection |
( |
|
) |
const [inline] |
Return const-access to the patch interaction model.
Definition at line 147 of file KinematicCloudI.H.
| scalar massInjected |
( |
|
) |
const [inline] |
| void info |
( |
|
) |
const [inline] |
Print cloud information.
Reimplemented from IOobject.
Reimplemented in ReactingCloud< ParcelType >, ReactingMultiphaseCloud< ParcelType >, ThermoCloud< ParcelType >, ReactingCloud< CoalParcel< ThermoType > >, ReactingCloud< BasicReactingParcel< ThermoType > >, ReactingCloud< BasicReactingMultiphaseParcel< ThermoType > >, ReactingCloud< ParcelType >, ReactingMultiphaseCloud< CoalParcel< ThermoType > >, ReactingMultiphaseCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< CoalParcel< ThermoType > >, ThermoCloud< ParcelType >, ThermoCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< BasicReactingParcel< ThermoType > >, and ThermoCloud< basicThermoParcel >.
Definition at line 240 of file KinematicCloud.C.
Return the particle volume fraction field.
Note: for particles belonging to this cloud only
Definition at line 241 of file KinematicCloudI.H.
Return the particle mass fraction field.
Note: for particles belonging to this cloud only
Definition at line 278 of file KinematicCloudI.H.
Return the particle effective density field.
Note: for particles belonging to this cloud only
Definition at line 315 of file KinematicCloudI.H.
| void checkParcelProperties |
( |
ParcelType & |
parcel, |
|
|
const scalar |
lagrangianDt, |
|
|
const bool |
fullyDescribed | |
|
) |
| | [inline] |
Check parcel properties.
Reimplemented in ReactingCloud< ParcelType >, ReactingMultiphaseCloud< ParcelType >, ThermoCloud< ParcelType >, ReactingCloud< CoalParcel< ThermoType > >, ReactingCloud< BasicReactingParcel< ThermoType > >, ReactingCloud< BasicReactingMultiphaseParcel< ThermoType > >, ReactingCloud< ParcelType >, ReactingMultiphaseCloud< CoalParcel< ThermoType > >, ReactingMultiphaseCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< CoalParcel< ThermoType > >, ThermoCloud< ParcelType >, ThermoCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< BasicReactingParcel< ThermoType > >, and ThermoCloud< basicThermoParcel >.
Definition at line 144 of file KinematicCloud.C.
| void resetSourceTerms |
( |
|
) |
[inline] |
Reset the spray source terms.
Reimplemented in ReactingCloud< ParcelType >, ReactingMultiphaseCloud< ParcelType >, ThermoCloud< ParcelType >, ReactingCloud< CoalParcel< ThermoType > >, ReactingCloud< BasicReactingParcel< ThermoType > >, ReactingCloud< BasicReactingMultiphaseParcel< ThermoType > >, ReactingCloud< ParcelType >, ReactingMultiphaseCloud< CoalParcel< ThermoType > >, ReactingMultiphaseCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< CoalParcel< ThermoType > >, ThermoCloud< ParcelType >, ThermoCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< BasicReactingParcel< ThermoType > >, and ThermoCloud< basicThermoParcel >.
Definition at line 161 of file KinematicCloud.C.
Evolve the spray (inject, inject).
Reimplemented in ReactingCloud< ParcelType >, ReactingMultiphaseCloud< ParcelType >, ThermoCloud< ParcelType >, ReactingCloud< CoalParcel< ThermoType > >, ReactingCloud< BasicReactingParcel< ThermoType > >, ReactingCloud< BasicReactingMultiphaseParcel< ThermoType > >, ReactingCloud< ParcelType >, ReactingMultiphaseCloud< CoalParcel< ThermoType > >, ReactingMultiphaseCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< CoalParcel< ThermoType > >, ThermoCloud< ParcelType >, ThermoCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< BasicReactingParcel< ThermoType > >, and ThermoCloud< basicThermoParcel >.
Definition at line 191 of file KinematicCloud.C.
Member Data Documentation
References to the mesh and time databases.
Definition at line 98 of file KinematicCloud.H.
Parcel constant properties.
Reimplemented in ReactingCloud< ParcelType >, ReactingMultiphaseCloud< ParcelType >, ThermoCloud< ParcelType >, ReactingCloud< CoalParcel< ThermoType > >, ReactingCloud< BasicReactingParcel< ThermoType > >, ReactingCloud< BasicReactingMultiphaseParcel< ThermoType > >, ReactingCloud< ParcelType >, ReactingMultiphaseCloud< CoalParcel< ThermoType > >, ReactingMultiphaseCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< CoalParcel< ThermoType > >, ThermoCloud< ParcelType >, ThermoCloud< BasicReactingMultiphaseParcel< ThermoType > >, ThermoCloud< BasicReactingParcel< ThermoType > >, and ThermoCloud< basicThermoParcel >.
Definition at line 104 of file KinematicCloud.H.
Parcel type id - used to flag the type of parcels issued by this.
cloud
Definition at line 110 of file KinematicCloud.H.
Flag to indicate whether parcels are coupled to the carrier phase.
i.e. whether or not to generate source terms for carrier phase
Definition at line 116 of file KinematicCloud.H.
Flag to correct cell values with latest transfer information.
during the lagrangian timestep
Definition at line 122 of file KinematicCloud.H.
The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd
|