Go to the documentation of this file.
32 template<
class CloudType>
42 UName_(this->coeffs().
template lookupOrDefault<word>(
"U",
"U")),
47 template<
class CloudType>
61 template<
class CloudType>
68 template<
class CloudType>
71 static word fName(
"DUcDt");
73 bool fieldExists = this->
mesh().template foundObject<volVectorField>(fName);
80 lookupObject<volVectorField>(UName_);
92 lookupObject<volVectorField>(fName);
98 this->owner().
solution().interpolationSchemes(),
105 DUcDtInterpPtr_.clear();
110 lookupObject<volVectorField>(fName);
118 template<
class CloudType>
131 DUcDtInterp().interpolate(
p.position(),
p.currentTetIndices());
133 value.
Su() = mass*
p.rhoc()/
p.rho()*DUcDt;
139 template<
class CloudType>
tmp< GeometricField< typename outerProduct< vector, Type >::type, fvPatchField, volMesh >> grad(const GeometricField< Type, fvsPatchField, surfaceMesh > &ssf)
Selector class for relaxation factors, solver type and solution.
A class for handling words, derived from string.
PressureGradientForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType=typeName)
Construct from mesh.
scalarField Re(const UList< complex > &cf)
virtual ~PressureGradientForce()
Destructor.
virtual void cacheFields(const bool store)
Cache fields.
Calculates particle pressure gradient force.
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.
Helper container for force Su and Sp terms.
Abstract base class for particle forces.
virtual scalar massAdd(const typename CloudType::parcelType &p, const scalar mass) const
Return the added mass.
const word UName_
Name of velocity field.
Templated base class for dsmc cloud.
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.
GeometricField< vector, fvPatchField, volMesh > volVectorField
Calculate the gradient of the given field.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Calculate the first temporal derivative.
tmp< GeometricField< Type, fvPatchField, volMesh > > ddt(const dimensioned< Type > dt, const fvMesh &mesh)
Generic GeometricField class.
const vector & Su() const
Return const access to the explicit contribution [kg.m/s2].