36 #ifndef PressureGradientForce_H 37 #define PressureGradientForce_H 52 template<
class CloudType>
82 const word& forceType = typeName
119 const typename CloudType::parcelType::trackingData& td,
130 const typename CloudType::parcelType::trackingData& td,
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.
A list of keyword definitions, which are a keyword followed by any number of values (e...
TypeName("pressureGradient")
Runtime type information.
const fvMesh & mesh() const
Return the mesh database.
Abstract base class for particle forces.
const CloudType & owner() const
Return const access to the cloud owner.
Helper container for force Su and Sp terms.
Calculates particle pressure gradient force.
virtual void cacheFields(const bool store)
Cache fields.
A class for handling words, derived from string.
virtual ~PressureGradientForce()
Destructor.
const interpolation< vector > & DUcDtInterp() const
Return the rate of change of carrier phase velocity interpolator.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
const word UName_
Name of velocity field.
virtual scalar massAdd(const typename CloudType::parcelType &p, const typename CloudType::parcelType::trackingData &td, const scalar mass) const
Return the added mass.
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for interpolation.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
Templated base class for dsmc cloud.
scalarField Re(const UList< complex > &cf)
PressureGradientForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict, const word &forceType=typeName)
Construct from mesh.
autoPtr< interpolation< vector > > DUcDtInterpPtr_
Rate of change of carrier phase velocity interpolator.