34template<
class CloudType>
51template<
class CloudType>
61 UName_(this->coeffs().template getOrDefault<
word>(
"U",
"U")),
62 curlUcInterpPtr_(nullptr)
66template<
class CloudType>
71 curlUcInterpPtr_(nullptr)
77template<
class CloudType>
84template<
class CloudType>
87 static word fName(
"curlUcDt");
89 bool fieldExists = this->
mesh().template foundObject<volVectorField>(fName);
96 lookupObject<volVectorField>(UName_);
105 lookupObject<volVectorField>(fName);
107 curlUcInterpPtr_.reset
111 this->owner().
solution().interpolationSchemes(),
118 curlUcInterpPtr_.clear();
123 this->
mesh().template lookupObjectRef<volVectorField>(fName);
131template<
class CloudType>
145 curlUcInterp().interpolate(
p.coordinates(),
p.currentTetIndices());
147 scalar Cl = this->Cl(
p, td, curlUc,
Re, muc);
149 value.
Su() = mass/
p.rho()*td.rhoc()*Cl*((td.Uc() -
p.U())^curlUc);
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Base class for particle lift force models.
virtual void cacheFields(const bool store)
Cache fields.
virtual ~LiftForce()
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 non-coupled force.
Abstract base class for particle forces.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
Class used to pass data into container.
Helper container for force Su and Sp terms.
const vector & Su() const
Return const access to the explicit contribution [kg.m/s2].
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for volume field interpolation.
bool checkOut()
Remove all file watches and remove object from registry.
Selector class for relaxation factors, solver type and solution.
A class for handling words, derived from Foam::string.
Calculate the curl of the given volField by constructing the Hodge-dual of the symmetric part of the ...
tmp< GeometricField< Type, fvPatchField, volMesh > > curl(const GeometricField< Type, fvPatchField, volMesh > &vf)
GeometricField< vector, fvPatchField, volMesh > volVectorField
scalarField Re(const UList< complex > &cf)
Extract real component.
static constexpr const zero Zero
Global zero (0)