Virtual abstract base class for parcel clouds. As parcelCloudBase but with additional virtualisation of the evolve method, plus some additional methods that are defined below the parcel-cloud layer (i.e., in Cloud). These methods are implemented by forwarding in the ParcelCloud class. More...
Public Member Functions | |
TypeName ("parcelCloud") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, parcelCloud, viscosity,(const word &name, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g),(name, rho, U, mu, g)) | |
declareRunTimeSelectionTable (autoPtr, parcelCloud, thermo,(const word &name, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const fluidThermo &carrierThermo),(name, rho, U, g, carrierThermo)) | |
parcelCloud () | |
Null constructor. More... | |
parcelCloud (const parcelCloud &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~parcelCloud () |
Destructor. More... | |
virtual void | storeGlobalPositions ()=0 |
Call this before a topology change. Stores the particles global. More... | |
virtual void | evolve ()=0 |
Evolve the cloud. More... | |
void | operator= (const parcelCloud &)=delete |
Disallow default bitwise assignment. More... | |
Public Member Functions inherited from parcelCloudBase | |
TypeName ("parcelCloudBase") | |
Runtime type information. More... | |
parcelCloudBase () | |
Null constructor. More... | |
parcelCloudBase (const parcelCloudBase &)=delete | |
Disallow default bitwise copy construction. More... | |
virtual | ~parcelCloudBase () |
Destructor. More... | |
virtual label | nParcels () const =0 |
Number of parcels. More... | |
virtual scalar | massInSystem () const =0 |
Total mass in system. More... | |
virtual const tmp< volScalarField > | vDotSweep () const =0 |
Volume swept rate of parcels per cell. More... | |
virtual const tmp< volScalarField > | theta () const =0 |
Return the particle volume fraction field. More... | |
virtual const tmp< volScalarField > | alpha () const =0 |
Return the particle mass fraction field. More... | |
virtual const tmp< volScalarField > | rhoEff () const =0 |
Return the particle effective density field. More... | |
virtual tmp< fvVectorMatrix > | SU (const volVectorField &U) const =0 |
Return momentum source term [kg m/s^2]. More... | |
virtual tmp< volVectorField::Internal > | UTrans () const =0 |
Momentum transfer [kg m/s]. More... | |
virtual tmp< volScalarField::Internal > | UCoeff () const =0 |
Momentum transfer coefficient [kg]. More... | |
virtual tmp< fvScalarMatrix > | Sh (const volScalarField &hs) const =0 |
Return sensible enthalpy source term [J/s]. More... | |
virtual tmp< volScalarField::Internal > | hsTrans () const =0 |
Sensible enthalpy transfer [J]. More... | |
virtual tmp< volScalarField::Internal > | hsCoeff () const =0 |
Sensible enthalpy transfer coefficient [J/K]. More... | |
virtual tmp< volScalarField > | Ep () const =0 |
Return equivalent particulate emission [kg/m/s^3]. More... | |
virtual tmp< volScalarField > | ap () const =0 |
Return equivalent particulate absorption [1/m]. More... | |
virtual tmp< volScalarField > | sigmap () const =0 |
Return equivalent particulate scattering factor [1/m]. More... | |
virtual tmp< fvScalarMatrix > | SYi (const label i, const volScalarField &Yi) const =0 |
Return mass source term for specie [kg/s]. More... | |
virtual tmp< fvScalarMatrix > | Srho (const volScalarField &rho) const =0 |
Return total mass source term [kg/s]. More... | |
virtual tmp< volScalarField::Internal > | Srho () const =0 |
Return total mass source [kg/m^3/s]. More... | |
virtual void | info ()=0 |
Print cloud information. More... | |
void | operator= (const parcelCloudBase &)=delete |
Disallow default bitwise assignment. More... | |
Static Public Member Functions | |
static autoPtr< parcelCloud > | New (const word &name, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g) |
Selectors. More... | |
static autoPtr< parcelCloud > | New (const word &name, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const fluidThermo &carrierThermo) |
Select and construct with given carrier fields and thermo. More... | |
Virtual abstract base class for parcel clouds. As parcelCloudBase but with additional virtualisation of the evolve method, plus some additional methods that are defined below the parcel-cloud layer (i.e., in Cloud). These methods are implemented by forwarding in the ParcelCloud class.
This class contains the selection table and represents the high level interface used by a solver.
Definition at line 54 of file parcelCloud.H.
parcelCloud | ( | ) |
Null constructor.
Definition at line 40 of file parcelCloud.C.
|
delete |
Disallow default bitwise copy construction.
|
virtual |
Destructor.
Definition at line 46 of file parcelCloud.C.
TypeName | ( | "parcelCloud" | ) |
Runtime type information.
declareRunTimeSelectionTable | ( | autoPtr | , |
parcelCloud | , | ||
viscosity | , | ||
(const word &name, const volScalarField &rho, const volVectorField &U, const volScalarField &mu, const dimensionedVector &g) | , | ||
(name, rho, U, mu, g) | |||
) |
declareRunTimeSelectionTable | ( | autoPtr | , |
parcelCloud | , | ||
thermo | , | ||
(const word &name, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const fluidThermo &carrierThermo) | , | ||
(name, rho, U, g, carrierThermo) | |||
) |
|
static |
Selectors.
Select and construct with given carrier fields
Definition at line 31 of file parcelCloudNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, g, Foam::Info, dictionary::lookup(), DimensionedField< Type, GeoMesh >::mesh(), Foam::constant::physicoChemical::mu, Foam::name(), Foam::nl, rho, Foam::type(), and U.
|
static |
Select and construct with given carrier fields and thermo.
Definition at line 72 of file parcelCloudNew.C.
References dict, Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, g, Foam::Info, dictionary::lookup(), DimensionedField< Type, GeoMesh >::mesh(), Foam::name(), Foam::nl, rho, Foam::type(), and U.
|
pure virtual |
Call this before a topology change. Stores the particles global.
positions in the database for use during mapping.
Implemented in ParcelCloud< CloudType >.
|
pure virtual |
Evolve the cloud.
Implemented in ParcelCloud< CloudType >.
|
delete |
Disallow default bitwise assignment.