Go to the documentation of this file.
31 template<
class CloudType>
34 const typename CloudType::parcelType&
p,
47 template<
class CloudType>
57 UName_(this->coeffs().
template lookupOrDefault<word>(
"U",
"U")),
58 curlUcInterpPtr_(NULL)
62 template<
class CloudType>
67 curlUcInterpPtr_(NULL)
73 template<
class CloudType>
80 template<
class CloudType>
83 static word fName(
"curlUcDt");
85 bool fieldExists = this->
mesh().template foundObject<volVectorField>(fName);
92 lookupObject<volVectorField>(UName_);
101 lookupObject<volVectorField>(fName);
103 curlUcInterpPtr_.reset
107 this->owner().
solution().interpolationSchemes(),
114 curlUcInterpPtr_.clear();
119 lookupObject<volVectorField>(fName);
127 template<
class CloudType>
140 curlUcInterp().interpolate(
p.position(),
p.currentTetIndices());
142 scalar Cl = this->Cl(
p, curlUc,
Re, muc);
144 value.
Su() = mass/
p.rho()*
p.rhoc()*Cl*((
p.Uc() -
p.U())^curlUc);
tmp< GeometricField< Type, fvPatchField, volMesh > > curl(const GeometricField< Type, fvPatchField, volMesh > &vf)
Selector class for relaxation factors, solver type and solution.
A class for handling words, derived from string.
scalarField Re(const UList< complex > &cf)
LiftForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType)
Construct from mesh.
Calculate the curl of the given volField by constructing the Hodge-dual of the symmetric part of the ...
Helper container for force Su and Sp terms.
Abstract base class for particle forces.
Templated base class for dsmc cloud.
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.
Base class for particle lift force models.
Abstract base class for interpolation.
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.
Vector< scalar > vector
A scalar version of the templated Vector.
GeometricField< vector, fvPatchField, volMesh > volVectorField
virtual void cacheFields(const bool store)
Cache fields.
virtual ~LiftForce()
Destructor.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Generic GeometricField class.
const vector & Su() const
Return const access to the explicit contribution [kg.m/s2].