30 template<
class CloudType>
39 phi_(this->coeffs().template lookup<scalar>(
"phi")),
40 a_(
exp(2.3288 - 6.4581*phi_ + 2.4486*
sqr(phi_))),
41 b_(0.0964 + 0.5565*phi_),
42 c_(
exp(4.9050 - 13.8944*phi_ + 18.4222*
sqr(phi_) - 10.2599*
pow3(phi_))),
43 d_(
exp(1.4681 + 12.2584*phi_ - 20.7322*
sqr(phi_) + 15.8855*
pow3(phi_)))
45 if (phi_ <= 0 || phi_ > 1)
48 <<
"Ratio of surface of sphere having same volume as particle to " 49 <<
"actual surface area of particle (phi) must be greater than 0 " 55 template<
class CloudType>
72 template<
class CloudType>
79 template<
class CloudType>
83 const typename CloudType::parcelType::trackingData& td,
91 24*(1 + a_*
pow(Re, b_)) + Re*c_/(1 + d_/(Re + rootVSmall));
const scalar a_
Coefficient.
errorManipArg< error, int > exit(error &err, const int errNo=1)
A list of keyword definitions, which are a keyword followed by any number of values (e...
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
dimensionedSymmTensor sqr(const dimensionedVector &dv)
Abstract base class for particle forces.
const scalar phi_
The ratio of the surface area of a sphere with the same volume as.
Helper container for force Su and Sp terms.
dimensionedScalar exp(const dimensionedScalar &ds)
ParcelType parcelType
Type of parcel the cloud was instantiated for.
dimensionedScalar pow(const dimensionedScalar &ds, const dimensionedScalar &expt)
dimensionedScalar pow3(const dimensionedScalar &ds)
const scalar c_
Coefficient.
virtual ~NonSphereDragForce()
Destructor.
Mesh data needed to do the Finite Volume discretisation.
const scalar b_
Coefficient.
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.
const scalar d_
Coefficient.
Drag model for non-spherical particles.
Templated base class for dsmc cloud.
NonSphereDragForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.