41 #ifndef Foam_solidParticle_H 42 #define Foam_solidParticle_H 56 class solidParticleCloud;
58 Ostream&
operator<<(Ostream&,
const solidParticle&);
153 const label celli = -1
167 const label tetFacei,
184 bool newFormat =
true 196 const polyMesh& mesh_;
const interpolationCellPoint< scalar > & rhoInterp() const noexcept
const interpolationCellPoint< vector > & UInterp() const noexcept
const barycentric & coordinates() const noexcept
Return current particle coordinates.
wallPoints::trackData td(isBlockedFace, regionToBlockSize)
const interpolationCellPoint< scalar > & nuInterp() const noexcept
An Istream is an abstract base class for all input systems (streams, files, token lists etc)...
bool hitPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a patch.
scalar d() const noexcept
Return diameter.
const vector & U() const noexcept
Return velocity.
A cloud is a registry collection of lagrangian particles.
A Cloud of solid particles.
Base cloud calls templated on particle type.
autoPtr< solidParticle > operator()(Istream &is) const
static autoPtr< particle > Clone(const Derived &p)
Clone a particle.
An Ostream is an abstract base class for all output systems (streams, files, token lists...
const vector & g() const noexcept
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Class used to pass tracking data to the trackToFace function.
static void writeFields(const Cloud< solidParticle > &c)
solidParticle(const polyMesh &mesh, const vector &position, const label celli=-1)
Construct from a position and a cell.
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)
Ostream & operator<<(Ostream &, const boundaryPatch &p)
Write boundaryPatch as dictionary entries (without surrounding braces)
void hitProcessorPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a.
const polyMesh & mesh() const noexcept
Return the mesh database.
virtual autoPtr< particle > clone() const
Return a clone.
A template class to specify that a data type can be considered as being contiguous in memory...
const dimensionedScalar c
Speed of light in a vacuum.
bool move(solidParticleCloud &, trackingData &, const scalar)
Move.
static const std::size_t sizeofFields
Size in bytes of the fields.
trackingData(const solidParticleCloud &cld, const interpolationCellPoint< scalar > &rhoInterp, const interpolationCellPoint< vector > &UInterp, const interpolationCellPoint< scalar > &nuInterp, const vector &g)
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
Mesh consisting of general polyhedral cells.
iNew(const polyMesh &mesh)
static autoPtr< T > New(Args &&... args)
Construct autoPtr with forwarding arguments.
virtual void transformProperties(const tensor &T)
Transform the physical properties of the particle.
Tensor of scalars, i.e. Tensor<scalar>.
void hitWallPatch(solidParticleCloud &cloud, trackingData &td)
Overridable function to handle the particle hitting a wallPatch.
vector position() const
Return current particle position.
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 &)
static constexpr const zero Zero
Global zero (0)