Go to the documentation of this file.
41 #ifndef solidParticle_H
42 #define solidParticle_H
56 class solidParticleCloud;
59 Ostream&
operator<<(Ostream&,
const solidParticle&);
120 inline const vector&
g()
const;
139 const label celli = -1
148 const label tetFacei,
160 bool newFormat =
true
193 inline scalar
d()
const;
196 inline const vector&
U()
const;
static autoPtr< T > New(Args &&... args)
Construct autoPtr of T with forwarding arguments.
Factory class to read-construct particles (for parallel transfer)
A Cloud of solid particles.
void hitWallPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a wallPatch.
Mesh consisting of general polyhedral cells.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
const interpolationCellPoint< vector > & UInterp() const
autoPtr< solidParticle > operator()(Istream &is) const
const barycentric & coordinates() const
Return current particle coordinates.
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
const vector & U() const
Return velocity.
solidParticle(const polyMesh &mesh, const vector &position, const label celli=-1)
Construct from a position and a cell.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
const interpolationCellPoint< scalar > & nuInterp() const
friend Ostream & operator<<(Ostream &, const solidParticle &)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
vector position() const
Return current particle position.
const polyMesh & mesh() const
Return the mesh database.
static void writeFields(const Cloud< solidParticle > &c)
trackingData(const solidParticleCloud &spc, const interpolationCellPoint< scalar > &rhoInterp, const interpolationCellPoint< vector > &UInterp, const interpolationCellPoint< scalar > &nuInterp, const vector &g)
Class used to pass tracking data to the trackToFace function.
static void readFields(Cloud< solidParticle > &c)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A cloud is a registry collection of lagrangian particles.
virtual autoPtr< particle > clone() const
Construct and return a clone.
iNew(const polyMesh &mesh)
bool move(solidParticleCloud &, trackingData &, const scalar)
Move.
Base cloud calls templated on particle type.
scalar d() const
Return diameter.
Simple solid spherical particle class with one-way coupling with the continuous phase.
const dimensionedScalar c
Speed of light in a vacuum.
static const std::size_t sizeofFields
Size in bytes of the fields.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
const interpolationCellPoint< scalar > & rhoInterp() const
bool hitPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a patch.
void hitProcessorPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a.
A template class to specify that a data type can be considered as being contiguous in memory.