111 #ifndef Foam_CoulombForce_H 112 #define Foam_CoulombForce_H 130 template<
class CloudType>
133 public ParticleForce<CloudType>
138 autoPtr<Function1<scalar>> qPtr_;
144 mutable std::unique_ptr<interpolation<vector>> EInterpPtr_;
201 const typename CloudType::parcelType::trackingData&
td,
void operator=(const CoulombForce< CloudType > &)=delete
No copy assignment.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual autoPtr< ParticleForce< CloudType > > clone() const
Construct and return a clone.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
GeometricField< vector, fvPatchField, volMesh > volVectorField
Helper container for force Su and Sp terms.
const fvMesh & mesh() const noexcept
Return the mesh database.
TypeName("Coulomb")
Runtime type information.
virtual void cacheFields(const bool store)
Cache fields.
ParcelType parcelType
Type of parcel the cloud was instantiated for.
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 ~CoulombForce()=default
Destructor.
scalarField Re(const UList< complex > &cmplx)
Extract real component.
const CloudType & owner() const noexcept
Return const access to the cloud owner.
Particle electric force model involving the Coulomb force calculation.
Mesh data needed to do the Finite Volume discretisation.
CoulombForce(CloudType &owner, const fvMesh &mesh, const dictionary &dict)
Construct from mesh.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Templated base class for dsmc cloud.