30 template<
class CloudType>
43 this->coeffDict().subDict(CorrectionLimitingMethod::typeName)
49 template<
class CloudType>
56 stressAverage_(cm.stressAverage_->clone()),
59 cm.correctionLimiting_->clone()
66 template<
class CloudType>
73 template<
class CloudType>
86 cloudName +
":volumeAverage" 91 cloudName +
":rhoAverage" 96 cloudName +
":uAverage" 101 cloudName +
":uSqrAverage" 104 volumeAverage_ = &volumeAverage;
105 uAverage_ = &uAverage;
113 cloudName +
":stressAverage",
114 this->owner().db().time().
timeName(),
123 this->particleStressModel_->tau
132 volumeAverage_ = NULL;
134 stressAverage_.
clear();
139 template<
class CloudType>
151 this->volumeAverage_->interpolate(p.position(), tetIs);
153 this->volumeAverage_->interpolateGrad(p.position(), tetIs);
155 this->uAverage_->interpolate(p.position(), tetIs);
159 stressAverage_->interpolateGrad(p.position(), tetIs);
162 const vector uRelative = p.U() - uMean;
175 if ((uRelative & alphaGrad) > 0)
177 dU = - deltaT*tauGrad/(p.rho()*alpha);
182 correctionLimiting_->limitedVelocity
Mesh data needed to do the Finite Volume discretisation.
const word cloudName(propsDict.lookup("cloudName"))
void clear()
Clear the PtrList, i.e. set size to zero deleting all the.
virtual ~Explicit()
Destructor.
A class for handling words, derived from string.
Explicit model for applying an inter-particle stress to the particles.
Base class for packing models.
A list of keyword definitions, which are a keyword followed by any number of values (e...
Selector class for relaxation factors, solver type and solution.
autoPtr< BasicCompressibleTurbulenceModel > New(const volScalarField &rho, const volVectorField &U, const surfaceScalarField &phi, const typename BasicCompressibleTurbulenceModel::transportModel &transport, const word &propertiesName)
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual void cacheFields(const bool store)
Calculate the inter particles stresses.
Explicit(const dictionary &dict, CloudType &owner)
Construct from components.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
Templated base class for dsmc cloud.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
virtual vector velocityCorrection(typename CloudType::parcelType &p, const scalar deltaT) const
Calculate the velocity correction.