31 template<
class CloudType>
43 template<
class CloudType>
56 template<
class CloudType>
68 template<
class CloudType>
75 template<
class CloudType>
79 const typename CloudType::parcelType::trackingData& td,
87 this->alphacInterp().interpolate
90 p.currentTetIndices(td.mesh)
98 0.75*(
mass/
p.rho())*CdRe*muc*
pow(alphac, -2.65)/(alphac*
sqr(
p.d()))
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
static scalar CdRe(const scalar Re)
Drag coefficient multiplied by Reynolds number.
Wen-Yu drag model for spheres.
WenYuDragForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
virtual ~WenYuDragForce()
Destructor.
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 keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
Helper container for force Su and Sp terms.
Mesh data needed to do the Finite Volume discretisation.
Template function which returns the un-mangled name of a given type. Useful for types which do not ha...
A class for handling words, derived from string.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
tmp< DimensionedField< typename outerProduct< Type, Type >::type, GeoMesh, Field >> sqr(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
tmp< DimensionedField< typename powProduct< Type, r >::type, GeoMesh, Field > > pow(const DimensionedField< Type, GeoMesh, PrimitiveField > &df, typename powProduct< Type, r >::type)
scalarField Re(const UList< complex > &cf)