38 #ifndef solidParticle_H 39 #define solidParticle_H 53 class solidParticleCloud;
60 Ostream&
operator<<(Ostream&,
const solidParticle&);
74 static const std::size_t sizeofFields_;
124 inline const vector&
g()
const;
140 const label tetFacei,
188 inline scalar
d()
const;
191 inline const vector&
U()
const;
const polyMesh & mesh() const
Return the mesh database.
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 contiguous< solidParticle >()
scalar d() const
Return diameter.
const dimensionedScalar c
Speed of light in a vacuum.
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
TypeName("solidParticle")
Runtime type information.
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.
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 &)