45 template<
class CloudType>
106 const typename CloudType::parcelType::trackingData& td,
117 const typename CloudType::parcelType::trackingData& td,
128 const typename CloudType::parcelType::trackingData& td,
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Abstract base class for particle forces.
const CloudType & owner() const
Return const access to the cloud owner.
const fvMesh & mesh() const
Return the mesh database.
Particle force model scaled by a constant value.
TypeName("scaled")
Runtime type information.
virtual forceSuSp calcNonCoupled(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.
ScaledForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
virtual scalar massAdd(const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
Return the added mass.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
virtual ~ScaledForce()
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.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A list of keyword definitions, which are a keyword followed by any number of values (e....
Helper container for force Su and Sp terms.
Mesh data needed to do the Finite Volume discretisation.
scalarField Re(const UList< complex > &cf)