33 template<
class CloudType>
37 return 24.0*(1.0 + a_*
pow(
Re, b_)) +
Re*c_/(1 + d_/(
Re + ROOTVSMALL));
43 template<
class CloudType>
52 phi_(this->coeffs().getScalar(
"phi")),
53 a_(
exp(2.3288 - 6.4581*phi_ + 2.4486*
sqr(phi_))),
54 b_(0.0964 + 0.5565*phi_),
55 c_(
exp(4.9050 - 13.8944*phi_ + 18.4222*
sqr(phi_) - 10.2599*
pow3(phi_))),
56 d_(
exp(1.4681 + 12.2584*phi_ - 20.7322*
sqr(phi_) + 15.8855*
pow3(phi_)))
58 if (phi_ <= 0 || phi_ > 1)
61 <<
"Ratio of surface of sphere having same volume as particle to " 62 <<
"actual surface area of particle (phi) must be greater than 0 " 68 template<
class CloudType>
71 const NonSphereDragForce<CloudType>& df
85 template<
class CloudType>
89 const typename CloudType::parcelType::trackingData& td,
DSMCCloud< dsmcParcel > CloudType
errorManipArg< error, int > exit(error &err, const int errNo=1)
error FatalError
Error stream (stdout output on all processes), with additional 'FOAM FATAL ERROR' header text and sta...
A list of keyword definitions, which are a keyword followed by a number of values (eg...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Abstract base class for particle forces.
Helper container for force Su and Sp terms.
dimensionedScalar exp(const dimensionedScalar &ds)
ParcelType parcelType
Type of parcel the cloud was instantiated for.
scalarField Re(const UList< complex > &cmplx)
Extract real component.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3(const dimensionedScalar &ds)
Mesh data needed to do the Finite Volume discretisation.
scalar CdRe(const scalar Re) const
Drag coefficient multiplied by Reynolds number.
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 non-coupled force.
Templated base class for dsmc cloud.
NonSphereDragForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
static constexpr const zero Zero
Global zero (0)