41 #ifndef Foam_ParamagneticForce_H 42 #define Foam_ParamagneticForce_H 56 template<
class CloudType>
64 const word HdotGradHName_;
70 const scalar magneticSusceptibility_;
116 return magneticSusceptibility_;
129 const typename CloudType::parcelType::trackingData&
td,
virtual void cacheFields(const bool store)
Cache fields.
const word & HdotGradHName() const noexcept
Return the name of paramagnetic field strength field.
TypeName("paramagnetic")
Runtime type information.
Calculates particle paramagnetic (magnetic field) force.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
ParamagneticForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
Abstract base class for particle forces.
virtual forceSuSp calcNonCoupled(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.
Helper container for force Su and Sp terms.
const fvMesh & mesh() const noexcept
Return the mesh database.
A class for handling words, derived from Foam::string.
virtual ~ParamagneticForce()
Destructor.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
scalar magneticSusceptibility() const noexcept
Return the magnetic susceptibility of particle.
scalarField Re(const UList< complex > &cmplx)
Extract real component.
const CloudType & owner() const noexcept
Return const access to the cloud owner.
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...
Templated base class for dsmc cloud.
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.