Go to the documentation of this file.
36 #ifndef cloudSolution_H
37 #define cloudSolution_H
157 inline const Switch transient()
const;
166 inline scalar
maxCo()
const;
221 scalar
deltaLMax(
const scalar lRef)
const;
scalar maxTrackTime() const
Return const access to the particle track time.
dictionary dict_
Dictionary used during construction.
Switch resetSourcesOnStartup_
Flag to indicate whether coupling source terms should be.
const Switch active() const
Return the active flag.
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
A class for handling words, derived from string.
scalar deltaTMax() const
Return the maximum integation time step.
label nextIter()
Increment and return iter counter.
const Switch resetSourcesOnStartup() const
Return const access to the reset sources flag.
label iter_
Current cloud iteration.
bool canEvolve()
Returns true if possible to evolve the cloud and sets timestep.
scalar deltaLMax(const scalar lRef) const
Return the maximum integration length.
scalar trackTime() const
Return the particle track time.
void operator=(const cloudSolution &)
Disallow default bitwise assignment.
const Switch coupled() const
Return const access to the coupled flag.
const dictionary & sourceTermDict() const
Source terms dictionary.
const dictionary & integrationSchemes() const
Integration schemes dictionary.
Switch transient_
Transient flag.
scalar maxCo() const
Return const access to the max particle Courant number.
Switch cellValueSourceCorrection_
Flag to correct cell values with latest transfer information.
bool output() const
Returns true if writing this step.
const Switch cellValueSourceCorrection() const
Return const access to the cell value correction flag.
scalar deltaTMax_
Maximum integration time step (optional)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
bool solveThisStep() const
Returns true if performing a cloud iteration this calc step.
scalar maxCo_
Maximum particle Courant number.
label calcFrequency_
Calculation frequency - carrier steps per cloud step.
Stores all relevant solution info for cloud.
const dictionary & dict() const
Return const access to the dictionary.
bool semiImplicit(const word &fieldName) const
Return semi-implicit flag coefficient for field.
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar trackTime_
Particle track time.
Mesh data needed to do the Finite Volume discretisation.
const fvMesh & mesh() const
Return reference to the mesh.
label calcFrequency() const
Return const access to the calculation frequency.
List< Tuple2< word, Tuple2< bool, scalar > > > schemes_
List schemes, e.g. U semiImplicit 1.
label iter() const
Return const access to the current cloud iteration.
scalar relaxCoeff(const word &fieldName) const
Return relaxation coefficient for field.
scalar maxTrackTime_
Maximum particle track time [s].
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
void read()
Read properties from dictionary.
cloudSolution(const fvMesh &mesh)
Construct null from mesh reference.
const fvMesh & mesh_
Reference to the mesh.
virtual ~cloudSolution()
Destructor.
const dictionary & interpolationSchemes() const
Interpolation schemes dictionary.
const Switch active_
Cloud active flag.
Switch coupled_
Flag to indicate whether parcels are coupled to the carrier.
const Switch steadyState() const
Return const access to the steady flag.