38 #ifndef solidParticle_H 39 #define solidParticle_H 52 class solidParticleCloud;
59 Ostream&
operator<<(Ostream&,
const solidParticle&);
73 static const std::size_t sizeofFields_;
123 inline const vector&
g()
const;
135 const label tetFacei,
183 inline scalar
d()
const;
186 inline const vector&
U()
const;
const polyMesh & mesh() const
Return the mesh database.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
trackingData(const solidParticleCloud &spc, const interpolationCellPoint< scalar > &rhoInterp, const interpolationCellPoint< vector > &UInterp, const interpolationCellPoint< scalar > &nuInterp, const vector &g)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
Template function to specify if the data of a type are contiguous.
bool hitPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a patch.
bool contiguous< solidParticle >()
const dimensionedScalar & c
Speed of light in a vacuum.
scalar d() const
Return diameter.
const vector & U() const
Return velocity.
A cloud is a collection of lagrangian particles.
A Cloud of solid particles.
const interpolationCellPoint< scalar > & rhoInterp() const
const interpolationCellPoint< scalar > & nuInterp() const
Base cloud calls templated on particle type.
Factory class to read-construct particles used for.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const interpolationCellPoint< vector > & UInterp() const
Class used to pass tracking data to the trackToFace function.
static void writeFields(const Cloud< solidParticle > &c)
solidParticle(const polyMesh &mesh, const barycentric &coordinates, const label celli, const label tetFacei, const label tetPti, const scalar d, const vector &U)
Construct from components.
void hitProcessorPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a.
virtual autoPtr< particle > clone() const
Construct and return a clone.
Ostream & operator<<(Ostream &, const ensightPart &)
bool move(solidParticleCloud &, trackingData &, const scalar)
Move.
const barycentric & coordinates() const
Return current particle coordinates.
virtual void transformProperties(const transformer &)
Transform the physical properties of the particle.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Mesh consisting of general polyhedral cells.
void hitWallPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a wallPatch.
static void readFields(Cloud< solidParticle > &c)
Simple solid spherical particle class with one-way coupling with the continuous phase.
friend Ostream & operator<<(Ostream &, const solidParticle &)