74 #ifndef diskInjection_H
75 #define diskInjection_H
94 public LagrangianInjection
101 autoPtr<Function1<point>> centre_;
104 autoPtr<Function1<vector>> axis_;
107 scalar innerDiameter_;
110 scalar outerDiameter_;
113 autoPtr<Function1<scalar>> numberRate_;
116 mutable scalar numberDeferred_;
119 mutable restartableRandomGenerator rndGen_;
122 mutable label timeIndex_;
125 mutable autoPtr<LagrangianSubVectorField> axisPtr_;
128 mutable autoPtr<LagrangianSubScalarField> rFracPtr_;
131 mutable autoPtr<LagrangianSubVectorField> radialPtr_;
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Class containing Lagrangian geometry and topology.
const LagrangianMesh & mesh() const
The mesh.
const word & name() const
The source name.
Mesh that relates to a sub-section of a Lagrangian mesh. This is used to construct fields that relate...
const LagrangianSubVectorField & radial() const
Access the cached radial vectors. Only valid during injection.
virtual void writeState(Ostream &os) const
Write state.
LagrangianSubMesh modify(LagrangianMesh &mesh, const LagrangianSubMesh &) const
Create new elements in the Lagrangian mesh.
diskInjection(const word &name, const LagrangianMesh &mesh, const dictionary &modelDict, const dictionary &stateDict)
Construct from components.
const LagrangianSubVectorField & axis() const
Access the cached axes. Only valid during injection.
const dimensionedScalar area() const
Return the area of the disk.
virtual bool read(const dictionary &modelDict)
Read dictionary.
TypeName("diskInjection")
Runtime type information.
const LagrangianSubScalarField & rFrac() const
Access the cached radius fractions. Only valid during injection.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
A list of keywords followed by any number of values (e.g. words and numbers) or sub-dictionaries.
static dictionary stateDict(const word &name, const objectRegistry &db)
Construct and return the state dictionary for reading.
A class for handling words, derived from string.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.