Templated base class for thermodynamic cloud. More...
Public Types | |
typedef CloudType | cloudType |
typedef CloudType::particleType | parcelType |
typedef ThermoCloud< CloudType > | thermoCloudType |
![]() | |
typedef ParcelType | parcelType |
![]() | |
typedef ParticleType | particleType |
typedef ParticleType | parcelType |
Public Member Functions | |
ThermoCloud (const word &cloudName, const volScalarField &rho, const volVectorField &U, const dimensionedVector &g, const SLGThermo &thermo, bool readFields=true) | |
ThermoCloud (ThermoCloud< CloudType > &c, const word &name) | |
ThermoCloud (const fvMesh &mesh, const word &name, const ThermoCloud< CloudType > &c) | |
virtual autoPtr< Cloud< parcelType > > | clone (const word &name) |
virtual autoPtr< Cloud< parcelType > > | cloneBare (const word &name) const |
virtual | ~ThermoCloud ()=default |
const ThermoCloud & | cloudCopy () const |
const parcelType::constantProperties & | constProps () const |
parcelType::constantProperties & | constProps () |
const SLGThermo & | thermo () const |
const volScalarField & | T () const |
const volScalarField & | p () const |
const HeatTransferModel< ThermoCloud< CloudType > > & | heatTransfer () const |
const integrationScheme & | TIntegrator () const |
bool | radiation () const |
volScalarField::Internal & | radAreaP () |
const volScalarField::Internal & | radAreaP () const |
volScalarField::Internal & | radT4 () |
const volScalarField::Internal & | radT4 () const |
volScalarField::Internal & | radAreaPT4 () |
const volScalarField::Internal & | radAreaPT4 () const |
volScalarField::Internal & | hsTrans () |
const volScalarField::Internal & | hsTrans () const |
volScalarField::Internal & | hsCoeff () |
const volScalarField::Internal & | hsCoeff () const |
tmp< fvScalarMatrix > | Sh (volScalarField &hs) const |
tmp< volScalarField > | Ep () const |
tmp< volScalarField > | ap () const |
tmp< volScalarField > | sigmap () const |
scalar | Tmax () const |
scalar | Tmin () const |
void | setParcelThermoProperties (parcelType &parcel, const scalar lagrangianDt) |
void | checkParcelProperties (parcelType &parcel, const scalar lagrangianDt, const bool fullyDescribed) |
void | storeState () |
void | restoreState () |
void | resetSourceTerms () |
void | relaxSources (const ThermoCloud< CloudType > &cloudOldTime) |
void | scaleSources () |
void | preEvolve (const typename parcelType::trackingData &td) |
void | evolve () |
virtual void | autoMap (const mapPolyMesh &) |
void | info () |
![]() | |
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 void | writeFields () const |
virtual bool | writeObject (IOstreamOption streamOpt, const bool valid) const |
void | writePositions () const |
void | storeGlobalPositions () const |
![]() | |
TypeName ("DSMCBaseCloud") | |
DSMCBaseCloud ()=default | |
virtual | ~DSMCBaseCloud ()=default |
![]() | |
TypeName ("thermoCloud") | |
thermoCloud ()=default | |
virtual | ~thermoCloud ()=default |
Protected Member Functions | |
void | setModels () |
void | cloudReset (ThermoCloud< CloudType > &c) |
Protected Attributes | |
parcelType::constantProperties | constProps_ |
const SLGThermo & | thermo_ |
const volScalarField & | T_ |
const volScalarField & | p_ |
autoPtr< HeatTransferModel< ThermoCloud< CloudType > > > | heatTransferModel_ |
autoPtr< integrationScheme > | TIntegrator_ |
Switch | radiation_ |
autoPtr< volScalarField::Internal > | radAreaP_ |
autoPtr< volScalarField::Internal > | radT4_ |
autoPtr< volScalarField::Internal > | radAreaPT4_ |
autoPtr< volScalarField::Internal > | hsTrans_ |
autoPtr< volScalarField::Internal > | hsCoeff_ |
![]() | |
cloud::geometryType | geometryType_ |
Additional Inherited Members | |
![]() | |
static word | cloudPropertiesName |
Templated base class for thermodynamic cloud.
Definition at line 62 of file ThermoCloud.H.
Definition at line 72 of file ThermoCloud.H.
typedef CloudType::particleType parcelType |
Definition at line 75 of file ThermoCloud.H.
typedef ThermoCloud<CloudType> thermoCloudType |
Definition at line 78 of file ThermoCloud.H.
ThermoCloud | ( | const word & | cloudName, |
const volScalarField & | rho, | ||
const volVectorField & | U, | ||
const dimensionedVector & | g, | ||
const SLGThermo & | thermo, | ||
bool | readFields = true |
||
) |
Definition at line 124 of file ThermoCloud.C.
References Foam::readFields().
ThermoCloud | ( | ThermoCloud< CloudType > & | c, |
const word & | name | ||
) |
Definition at line 207 of file ThermoCloud.C.
References Foam::constant::universal::c, Foam::name(), and timeName.
ThermoCloud | ( | const fvMesh & | mesh, |
const word & | name, | ||
const ThermoCloud< CloudType > & | c | ||
) |
Definition at line 316 of file ThermoCloud.C.
|
virtualdefault |
|
protected |
Definition at line 30 of file ThermoCloud.C.
References Foam::dimArea, Foam::dimLength, Foam::dimTemperature, mesh, Foam::name(), Foam::New(), Foam::pow4(), Foam::sqr(), timeName, and Foam::Zero.
|
protected |
Definition at line 109 of file ThermoCloud.C.
References Foam::constant::universal::c.
|
inlinevirtual |
Definition at line 196 of file ThermoCloud.H.
References Foam::name().
|
inlinevirtual |
Definition at line 205 of file ThermoCloud.H.
References DSMCCloud< ParcelType >::mesh().
|
inline |
Definition at line 30 of file ThermoCloudI.H.
|
inline |
Definition at line 38 of file ThermoCloudI.H.
|
inline |
|
inline |
Definition at line 53 of file ThermoCloudI.H.
|
inline |
Definition at line 60 of file ThermoCloudI.H.
|
inline |
Definition at line 67 of file ThermoCloudI.H.
|
inline |
Definition at line 75 of file ThermoCloudI.H.
|
inline |
Definition at line 83 of file ThermoCloudI.H.
|
inline |
Definition at line 90 of file ThermoCloudI.H.
|
inline |
Definition at line 98 of file ThermoCloudI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by ThermoCloud< CloudType >::relaxSources().
|
inline |
|
inline |
Definition at line 128 of file ThermoCloudI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by ThermoCloud< CloudType >::relaxSources().
|
inline |
|
inline |
Definition at line 158 of file ThermoCloudI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorInFunction.
Referenced by ThermoCloud< CloudType >::relaxSources().
|
inline |
|
inline |
Definition at line 188 of file ThermoCloudI.H.
Referenced by ThermoCloud< CloudType >::relaxSources().
|
inline |
|
inline |
Definition at line 204 of file ThermoCloudI.H.
Referenced by ThermoCloud< CloudType >::relaxSources().
|
inline |
|
inline |
Definition at line 220 of file ThermoCloudI.H.
References coupled(), Cp, Foam::expressions::patchExpr::debug, Foam::dimEnergy, Foam::dimTime, Foam::endl(), Foam::Info, Foam::max(), mesh, Foam::min(), tmp::New(), Foam::nl, tmp::ref(), fvMatrix::source(), and Foam::fvm::SuSp().
|
inlinevirtual |
Implements thermoCloud.
Definition at line 259 of file ThermoCloudI.H.
References Foam::dimLength, Foam::dimMass, Foam::dimTime, epsilon, mesh, Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, Foam::pow3(), tmp::ref(), Foam::constant::physicoChemical::sigma, timeName, dimensioned::value(), and Foam::Zero.
|
inlinevirtual |
Implements thermoCloud.
Definition at line 295 of file ThermoCloudI.H.
References Foam::dimLength, Foam::dimless, epsilon, mesh, Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, tmp::ref(), timeName, and Foam::Zero.
|
inlinevirtual |
Implements thermoCloud.
Definition at line 332 of file ThermoCloudI.H.
References Foam::dimLength, Foam::dimless, epsilon, f(), mesh, Foam::name(), IOobject::NO_READ, IOobject::NO_WRITE, tmp::ref(), timeName, and Foam::Zero.
|
inline |
Definition at line 369 of file ThermoCloudI.H.
References Foam::max(), p, and Foam::returnReduce().
|
inline |
Definition at line 390 of file ThermoCloudI.H.
References Foam::min(), p, and Foam::returnReduce().
void setParcelThermoProperties | ( | parcelType & | parcel, |
const scalar | lagrangianDt | ||
) |
Definition at line 344 of file ThermoCloud.C.
void checkParcelProperties | ( | parcelType & | parcel, |
const scalar | lagrangianDt, | ||
const bool | fullyDescribed | ||
) |
Definition at line 358 of file ThermoCloud.C.
void storeState |
Definition at line 369 of file ThermoCloud.C.
References Foam::name().
void restoreState |
Definition at line 382 of file ThermoCloud.C.
void resetSourceTerms |
Definition at line 390 of file ThermoCloud.C.
void relaxSources | ( | const ThermoCloud< CloudType > & | cloudOldTime | ) |
Definition at line 407 of file ThermoCloud.C.
References ThermoCloud< CloudType >::hsCoeff(), ThermoCloud< CloudType >::hsTrans(), ThermoCloud< CloudType >::radAreaP(), ThermoCloud< CloudType >::radAreaPT4(), ThermoCloud< CloudType >::radT4(), and relax().
void scaleSources |
Definition at line 426 of file ThermoCloud.C.
void preEvolve | ( | const typename parcelType::trackingData & | td | ) |
Definition at line 444 of file ThermoCloud.C.
void evolve |
Definition at line 455 of file ThermoCloud.C.
References solve().
|
virtual |
Reimplemented from DSMCCloud< ParcelType >.
Definition at line 467 of file ThermoCloud.C.
void info |
Definition at line 476 of file ThermoCloud.C.
References Foam::endl(), and Foam::Info.
|
protected |
Definition at line 103 of file ThermoCloud.H.
|
protected |
Definition at line 109 of file ThermoCloud.H.
|
protected |
Definition at line 112 of file ThermoCloud.H.
|
protected |
Definition at line 115 of file ThermoCloud.H.
|
protected |
Definition at line 122 of file ThermoCloud.H.
|
protected |
Definition at line 128 of file ThermoCloud.H.
|
protected |
Definition at line 134 of file ThermoCloud.H.
|
protected |
Definition at line 137 of file ThermoCloud.H.
|
protected |
Definition at line 140 of file ThermoCloud.H.
|
protected |
Definition at line 143 of file ThermoCloud.H.
|
protected |
Definition at line 149 of file ThermoCloud.H.
|
protected |
Definition at line 152 of file ThermoCloud.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.