31 template<
class CloudType>
43 template<
class CloudType>
55 template<
class CloudType>
62 template<
class CloudType>
66 const typename CloudType::parcelType::trackingData& td,
74 const scalar
y =
min(
max(
p.y(), 0), 1);
81 mass*0.75*muc*CdRe*(1 + 2.632*
y)/(
p.rho()*
sqr(
p.d()))
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Drag model for distorted spheres.
virtual ~DistortedSphereDragForce()
Destructor.
DistortedSphereDragForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
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.
Abstract base class for particle forces.
static scalar CdRe(const scalar Re)
Drag coefficient multiplied by Reynolds number.
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...
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)
dimensioned< Type > min(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
dimensioned< Type > max(const DimensionedField< Type, GeoMesh, PrimitiveField > &df)
scalarField Re(const UList< complex > &cf)