32 template<
class CloudType>
43 this->coeffs().template lookupOrDefault<
word>(
"HdotGradH",
"HdotGradH")
45 HdotGradHInterpPtr_(nullptr),
46 magneticSusceptibility_
48 this->coeffs().template lookup<scalar>(
"magneticSusceptibility")
53 template<
class CloudType>
60 HdotGradHName_(pf.HdotGradHName_),
61 HdotGradHInterpPtr_(pf.HdotGradHInterpPtr_),
62 magneticSusceptibility_(pf.magneticSusceptibility_)
68 template<
class CloudType>
75 template<
class CloudType>
81 this->mesh().template lookupObject<volVectorField>(HdotGradHName_);
85 this->owner().
solution().interpolationSchemes(),
96 template<
class CloudType>
100 const typename CloudType::parcelType::trackingData& td,
113 *magneticSusceptibility_/(magneticSusceptibility_ + 3)
117 p.currentTetIndices(td.mesh)
Templated base class for dsmc cloud.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
Generic GeometricField class.
Calculates particle paramagnetic (magnetic field) force.
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.
virtual void cacheFields(const bool store)
Cache fields.
virtual ~ParamagneticForce()
Destructor.
ParamagneticForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
Abstract base class for particle forces.
A list of keyword definitions, which are a keyword followed by any number of values (e....
const Type & value() const
Return const reference to value.
Helper container for force Su and Sp terms.
const vector & Su() const
Return const access to the explicit contribution [kg m/s^2].
Mesh data needed to do the Finite Volume discretisation.
Abstract base class for interpolation.
static autoPtr< interpolation< Type > > New(const word &interpolationType, const VolField< Type > &psi)
Return a reference to the specified interpolation scheme.
virtual Type interpolate(const vector &position, const label celli, const label facei=-1) const =0
Interpolate field to the given point in the given cell.
Selector class for relaxation factors, solver type and solution.
A class for handling words, derived from string.
Template functions to aid in the implementation of demand driven data.
const dimensionedScalar mu0
Magnetic constant/permeability of free space: default SI units: [H/m].
void deleteDemandDrivenData(DataType *&dataPtr)
scalarField Re(const UList< complex > &cf)