Go to the documentation of this file.
36 #ifndef BrownianMotionForce_H
37 #define BrownianMotionForce_H
51 template<
class CloudType>
77 scalar
erfInv(
const scalar
y)
const;
121 inline scalar
lambda()
const;
const CloudType & owner() const
Return const access to the cloud owner.
BrownianMotionForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
A class for managing temporary objects.
virtual ~BrownianMotionForce()
Destructor.
scalarField Re(const UList< complex > &cf)
virtual void cacheFields(const bool store)
Cache fields.
TypeName("BrownianMotion")
Runtime type information.
bool turbulence() const
Return const access to the turbulence flag.
scalar erfInv(const scalar y) const
Inverse erf for Gaussian distribution.
scalar lambda() const
Return const access to the molecular free path length [m].
Helper container for force Su and Sp terms.
Abstract base class for particle forces.
Templated base class for dsmc cloud.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Mesh data needed to do the Finite Volume discretisation.
Calculates particle Brownian motion force.
const volScalarField * kPtr_
Pointer to the turbulence kinetic energy field.
virtual forceSuSp calcCoupled(const typename CloudType::parcelType &p, const scalar dt, const scalar mass, const scalar Re, const scalar muc) const
Calculate the non-coupled force.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
bool ownK_
Flag that indicates ownership of turbulence k field.
const scalar lambda_
Molecular free path length [m].
ParcelType parcelType
Type of parcel the cloud was instantiated for.
const fvMesh & mesh() const
Return the mesh database.
Generic GeometricField class.
bool turbulence_
Turbulence flag.
cachedRandom & rndGen_
Reference to the cloud random number generator.
tmp< volScalarField > kModel() const
Return the k field from the turbulence model.