Templated base class for reacting heterogeneous cloud. More...
Public Types | |
typedef CloudType | cloudType |
typedef CloudType::particleType | parcelType |
typedef ReactingHeterogeneousCloud< CloudType > | reactingHeterogeneousCloudType |
![]() | |
typedef ParcelType | parcelType |
![]() | |
typedef ParticleType | particleType |
typedef ParticleType | parcelType |
Public Member Functions | |
ReactingHeterogeneousCloud (const word &cloudName, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const SLGThermo &thermo, bool readFields=true) | |
ReactingHeterogeneousCloud (ReactingHeterogeneousCloud< CloudType > &c, const word &name) | |
ReactingHeterogeneousCloud (const fvMesh &mesh, const word &name, const ReactingHeterogeneousCloud< CloudType > &c) | |
virtual autoPtr< Cloud< parcelType > > | clone (const word &name) |
virtual autoPtr< Cloud< parcelType > > | cloneBare (const word &name) const |
virtual | ~ReactingHeterogeneousCloud ()=default |
const ReactingHeterogeneousCloud & | cloudCopy () const |
label | nF () const |
const HeterogeneousReactingModel< ReactingHeterogeneousCloud< CloudType > > & | heterogeneousReaction () const |
HeterogeneousReactingModel< ReactingHeterogeneousCloud< CloudType > > & | heterogeneousReaction () |
void | setParcelThermoProperties (parcelType &parcel, const scalar lagrangianDt) |
void | checkParcelProperties (parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed) |
void | storeState () |
void | restoreState () |
void | evolve () |
virtual void | autoMap (const mapPolyMesh &) |
void | info () |
virtual void | readObjects (const objectRegistry &obr) |
virtual void | writeFields () const |
virtual void | writeObjects (objectRegistry &obr) const |
![]() | |
DSMCCloud (const word &cloudName, const fvMesh &mesh, bool readFields=true) | |
DSMCCloud (const word &cloudName, const fvMesh &mesh, const IOdictionary &dsmcInitialiseDict) | |
virtual | ~DSMCCloud () |
const word & | cloudName () const |
const fvMesh & | mesh () const |
const IOdictionary & | particleProperties () const |
const List< word > & | typeIdList () const |
scalar | nParticle () const |
const List< DynamicList< ParcelType * > > & | cellOccupancy () const |
volScalarField & | sigmaTcRMax () |
scalarField & | collisionSelectionRemainder () |
const List< typename ParcelType::constantProperties > & | constProps () const |
const ParcelType::constantProperties & | constProps (label typeId) const |
Random & | rndGen () |
volScalarField::Boundary & | qBF () |
volVectorField::Boundary & | fDBF () |
volScalarField::Boundary & | rhoNBF () |
volScalarField::Boundary & | rhoMBF () |
volScalarField::Boundary & | linearKEBF () |
volScalarField::Boundary & | internalEBF () |
volScalarField::Boundary & | iDofBF () |
volVectorField::Boundary & | momentumBF () |
const volScalarField & | boundaryT () const |
const volVectorField & | boundaryU () const |
const volScalarField & | q () const |
const volVectorField & | fD () const |
const volScalarField & | rhoN () const |
const volScalarField & | rhoM () const |
const volScalarField & | dsmcRhoN () const |
const volScalarField & | linearKE () const |
const volScalarField & | internalE () const |
const volScalarField & | iDof () const |
const volVectorField & | momentum () const |
vector | equipartitionLinearVelocity (scalar temperature, scalar mass) |
scalar | equipartitionInternalEnergy (scalar temperature, direction internalDegreesOfFreedom) |
scalar | maxwellianAverageSpeed (scalar temperature, scalar mass) const |
scalarField | maxwellianAverageSpeed (scalarField temperature, scalar mass) const |
scalar | maxwellianRMSSpeed (scalar temperature, scalar mass) const |
scalarField | maxwellianRMSSpeed (scalarField temperature, scalar mass) const |
scalar | maxwellianMostProbableSpeed (scalar temperature, scalar mass) const |
scalarField | maxwellianMostProbableSpeed (scalarField temperature, scalar mass) const |
const BinaryCollisionModel< DSMCCloud< ParcelType > > & | binaryCollision () const |
BinaryCollisionModel< DSMCCloud< ParcelType > > & | binaryCollision () |
const WallInteractionModel< DSMCCloud< ParcelType > > & | wallInteraction () const |
WallInteractionModel< DSMCCloud< ParcelType > > & | wallInteraction () |
const InflowBoundaryModel< DSMCCloud< ParcelType > > & | inflowBoundary () const |
InflowBoundaryModel< DSMCCloud< ParcelType > > & | inflowBoundary () |
scalar | massInSystem () const |
vector | linearMomentumOfSystem () const |
scalar | linearKineticEnergyOfSystem () const |
scalar | internalEnergyOfSystem () const |
void | info () const |
void | dumpParticlePositions () const |
void | addNewParcel (const vector &position, const label celli, const vector &U, const scalar Ei, const label typeId) |
void | evolve () |
void | clear () |
![]() | |
TypeName ("Cloud") | |
Cloud (const polyMesh &mesh, const word &cloudName, const IDLList< ParticleType > &particles) | |
Cloud (const polyMesh &pMesh, const word &cloudName, const bool checkClass=true) | |
const polyMesh & | pMesh () const |
virtual label | nParcels () const |
DynamicList< label > & | labels () const |
void | addParticle (ParticleType *pPtr) |
void | deleteParticle (ParticleType &p) |
void | deleteLostParticles () |
void | cloudReset (const Cloud< ParticleType > &c) |
template<class TrackCloudType > | |
void | move (TrackCloudType &cloud, typename ParticleType::trackingData &td, const scalar trackTime) |
void | autoMap (const mapPolyMesh &) |
IOobject | fieldIOobject (const word &fieldName, const IOobject::readOption r) const |
template<class DataType > | |
void | checkFieldIOobject (const Cloud< ParticleType > &c, const IOField< DataType > &data) const |
template<class DataType > | |
void | checkFieldFieldIOobject (const Cloud< ParticleType > &c, const CompactIOField< Field< DataType >, DataType > &data) const |
template<class Type > | |
bool | readStoreFile (const IOobject &io, const IOobject &ioNew) const |
void | readFromFiles (objectRegistry &obr, const wordRes &selectFields) const |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
void | writePositions () const |
void | storeGlobalPositions () const |
![]() | |
TypeName ("DSMCBaseCloud") | |
DSMCBaseCloud ()=default | |
virtual | ~DSMCBaseCloud ()=default |
![]() | |
TypeName ("reactingHeterogeneousCloud") | |
reactingHeterogeneousCloud ()=default | |
virtual | ~reactingHeterogeneousCloud ()=default |
Protected Member Functions | |
void | setModels () |
void | cloudReset (ReactingHeterogeneousCloud< CloudType > &c) |
Protected Attributes | |
autoPtr< HeterogeneousReactingModel< ReactingHeterogeneousCloud< CloudType > > > | heterogeneousReactionModel_ |
![]() | |
cloud::geometryType | geometryType_ |
Additional Inherited Members | |
![]() | |
static word | cloudPropertiesName |
Templated base class for reacting heterogeneous cloud.
Definition at line 59 of file ReactingHeterogeneousCloud.H.
Definition at line 69 of file ReactingHeterogeneousCloud.H.
typedef CloudType::particleType parcelType |
Definition at line 72 of file ReactingHeterogeneousCloud.H.
Definition at line 76 of file ReactingHeterogeneousCloud.H.
ReactingHeterogeneousCloud | ( | const word & | cloudName, |
const volScalarField & | rho, | ||
const volVectorField & | U, | ||
const dimensionedVector & | g, | ||
const SLGThermo & | thermo, | ||
bool | readFields = true |
||
) |
Definition at line 55 of file ReactingHeterogeneousCloud.C.
References composition, and Foam::readFields().
ReactingHeterogeneousCloud | ( | ReactingHeterogeneousCloud< CloudType > & | c, |
const word & | name | ||
) |
Definition at line 84 of file ReactingHeterogeneousCloud.C.
ReactingHeterogeneousCloud | ( | const fvMesh & | mesh, |
const word & | name, | ||
const ReactingHeterogeneousCloud< CloudType > & | c | ||
) |
Definition at line 98 of file ReactingHeterogeneousCloud.C.
|
virtualdefault |
|
protected |
Definition at line 27 of file ReactingHeterogeneousCloud.C.
References Foam::New().
|
protected |
Definition at line 42 of file ReactingHeterogeneousCloud.C.
References Foam::constant::universal::c.
|
inlinevirtual |
Definition at line 156 of file ReactingHeterogeneousCloud.H.
References Foam::name().
|
inlinevirtual |
Definition at line 165 of file ReactingHeterogeneousCloud.H.
References DSMCCloud< ParcelType >::mesh().
|
inline |
Definition at line 25 of file ReactingHeterogeneousCloudI.H.
|
inline |
Definition at line 50 of file ReactingHeterogeneousCloudI.H.
|
inline |
Definition at line 34 of file ReactingHeterogeneousCloudI.H.
|
inline |
void setParcelThermoProperties | ( | parcelType & | parcel, |
const scalar | lagrangianDt | ||
) |
Definition at line 115 of file ReactingHeterogeneousCloud.C.
References composition, p0, and T0.
void checkParcelProperties | ( | parcelType & | parcel, |
const scalar | lagrangianDt, | ||
const bool | fullyDescribed | ||
) |
Definition at line 156 of file ReactingHeterogeneousCloud.C.
References Foam::abort(), composition, Foam::FatalError, FatalErrorInFunction, and Foam::nl.
void storeState |
Definition at line 195 of file ReactingHeterogeneousCloud.C.
References Foam::name().
void restoreState |
Definition at line 208 of file ReactingHeterogeneousCloud.C.
void evolve |
Definition at line 216 of file ReactingHeterogeneousCloud.C.
References solve().
|
virtual |
Reimplemented from DSMCCloud< ParcelType >.
Definition at line 229 of file ReactingHeterogeneousCloud.C.
void info |
Definition at line 240 of file ReactingHeterogeneousCloud.C.
References Foam::Info.
|
virtual |
Definition at line 256 of file ReactingHeterogeneousCloud.C.
References composition.
|
virtual |
Reimplemented from Cloud.
Definition at line 248 of file ReactingHeterogeneousCloud.C.
References Foam::writeFields().
|
virtual |
Definition at line 264 of file ReactingHeterogeneousCloud.C.
References composition.
|
protected |
Definition at line 109 of file ReactingHeterogeneousCloud.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.