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.
Foam::fvMesh mesh(Foam::IOobject(regionName, runTime.name(), runTime, Foam::IOobject::MUST_READ), false)
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
layerAndWeight max(const layerAndWeight &a, const layerAndWeight &b)
void sqr(LagrangianPatchField< typename outerProduct< Type, Type >::type > &f, const LagrangianPatchField< Type > &f1)
scalarField Re(const UList< complex > &cf)