32template<
class CloudType>
36 { contaminationType::PURE,
"pure" },
37 { contaminationType::SLIGHT,
"slight" },
38 { contaminationType::FULL,
"full" },
44template<
class CloudType>
45Foam::scalar Foam::TomiyamaDragForce<CloudType>::CdRe(
const scalar Re)
const
47 const scalar
f = 1 + 0.15*
pow(Re, 0.687);
49 switch (contaminationType_)
51 case contaminationType::PURE:
56 case contaminationType::SLIGHT:
61 case contaminationType::FULL:
76template<
class CloudType>
85 sigma_(this->coeffs().getScalar(
"sigma")),
93template<
class CloudType>
101 contaminationType_(df.contaminationType_)
107template<
class CloudType>
111 const typename CloudType::parcelType::trackingData&
td,
118 const scalar Eo =
p.Eo(
td, sigma_);
119 const scalar CdRe =
max(this->CdRe(
Re),
Re*8/3*Eo/(Eo + 4));
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
Abstract base class for particle forces.
const fvMesh & mesh() const noexcept
Return the mesh database.
const CloudType & owner() const noexcept
Return const access to the cloud owner.
ParticleForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType, const bool readCoeffs)
Construct from mesh.
const dictionary & coeffs() const noexcept
Return the force coefficients dictionary.
Particle-drag model wherein drag forces (per unit carrier-fluid velocity) are dynamically computed us...
TomiyamaDragForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
static const Enum< contaminationType > contaminationTypeNames
Names for the contaminationType options.
virtual forceSuSp calcCoupled(const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const
Calculate the coupled force.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Helper container for force Su and Sp terms.
Mesh data needed to do the Finite Volume discretisation.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
label max(const labelHashSet &set, label maxValue=labelMin)
Find the max value in labelHashSet, optionally limited by second argument.
DSMCCloud< dsmcParcel > CloudType
dimensionedSymmTensor sqr(const dimensionedVector &dv)
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
const word GlobalIOList< Tuple2< scalar, vector > >::typeName("scalarVectorTable")
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
static constexpr const zero Zero
Global zero (0).
scalarField Re(const UList< complex > &cmplx)
Extract real component.