41 #ifndef PressureGradientForce_H 42 #define PressureGradientForce_H 57 template<
class CloudType>
87 const word& forceType = typeName
124 const typename CloudType::parcelType::trackingData& td,
135 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 a number of values (eg...
TypeName("pressureGradient")
Runtime type information.
Abstract base class for particle forces.
Helper container for force Su and Sp terms.
const fvMesh & mesh() const noexcept
Return the mesh database.
Calculates particle pressure gradient force.
virtual void cacheFields(const bool store)
Cache fields.
A class for handling words, derived from Foam::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.
scalarField Re(const UList< complex > &cmplx)
Extract real component.
const CloudType & owner() const noexcept
Return const access to the cloud owner.
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 volume field interpolation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
Templated base class for dsmc cloud.
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.