45 #ifndef BrownianMotionForce_H 46 #define BrownianMotionForce_H 60 template<
class CloudType>
86 scalar erfInv(
const scalar
y)
const;
130 inline scalar
lambda()
const;
145 const typename CloudType::parcelType::trackingData& td,
A list of keyword definitions, which are a keyword followed by any number of values (e...
const fvMesh & mesh() const
Return the mesh database.
Abstract base class for particle forces.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
const CloudType & owner() const
Return const access to the cloud owner.
bool turbulence() const
Return const access to the turbulence flag.
Helper container for force Su and Sp terms.
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.
TypeName("BrownianMotion")
Runtime type information.
BrownianMotionForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
virtual void cacheFields(const bool store)
Cache fields.
Mesh data needed to do the Finite Volume discretisation.
scalar lambda() const
Return const access to the molecular free path length [m].
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual ~BrownianMotionForce()
Destructor.
A class for managing temporary objects.
Templated base class for dsmc cloud.
scalarField Re(const UList< complex > &cf)
Calculates particle Brownian motion force.