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
A list of keyword definitions, which are a keyword followed by any number of values (e...
Base class for packing models.
const word cloudName(propsDict.lookup("cloudName"))
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Explicit model for applying an inter-particle stress to the particles.
const Type & lookupObject(const word &name) const
Lookup and return the object of the given Type.
virtual vector velocityCorrection(typename CloudType::parcelType &p, const scalar deltaT) const
Calculate the velocity correction.
A class for handling words, derived from string.
Storage and named access for the indices of a tet which is part of the decomposition of a cell...
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Explicit(const dictionary &dict, CloudType &owner)
Construct from components.
virtual ~Explicit()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
void clear()
Clear the PtrList, i.e. set size to zero deleting all the.
virtual void cacheFields(const bool store)
Calculate the inter particles stresses.
Selector class for relaxation factors, solver type and solution.
const dimensionedScalar alpha
Fine-structure constant: default SI units: [].
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
Templated base class for dsmc cloud.