Stores all relevant solution info for cloud. More...
#include <cloudSolution.H>
Public Member Functions | |
| cloudSolution (const fvMesh &mesh) | |
| Construct null from mesh reference. | |
| cloudSolution (const fvMesh &mesh, const dictionary &dict) | |
| Construct from mesh and dictionary. | |
| cloudSolution (const cloudSolution &cs) | |
| Construct copy. | |
| ~cloudSolution ()=default | |
| Destructor. | |
| void | read () |
| Read properties from dictionary. | |
| scalar | relaxCoeff (const word &fieldName) const |
| Return relaxation coefficient for field. | |
| bool | semiImplicit (const word &fieldName) const |
| Return semi-implicit flag coefficient for field. | |
| const fvMesh & | mesh () const |
| Return reference to the mesh. | |
| const dictionary & | dict () const |
| Return const access to the dictionary. | |
| const Switch | active () const |
| Return the active flag. | |
| const Switch | transient () const |
| Return const access to the transient flag. | |
| const Switch | steadyState () const |
| Return const access to the steady flag. | |
| label | calcFrequency () const |
| Return const access to the calculation frequency. | |
| scalar | maxCo () const |
| Return const access to the max particle Courant number. | |
| label | iter () const |
| Return const access to the current cloud iteration. | |
| label | nextIter () |
| Increment and return iter counter. | |
| scalar | trackTime () const |
| Return the particle track time. | |
| scalar | deltaTMax () const |
| Return the maximum integration time step. | |
| const Switch | coupled () const |
| Return const access to the coupled flag. | |
| Switch & | coupled () |
| Return non-const access to the coupled flag. | |
| const Switch | cellValueSourceCorrection () const |
| Return const access to the cell value correction flag. | |
| scalar | maxTrackTime () const |
| Return const access to the particle track time. | |
| const Switch | resetSourcesOnStartup () const |
| Return const access to the reset sources flag. | |
| const dictionary & | sourceTermDict () const |
| Source terms dictionary. | |
| const dictionary & | interpolationSchemes () const |
| Interpolation schemes dictionary. | |
| const dictionary & | integrationSchemes () const |
| Integration schemes dictionary. | |
| bool | solveThisStep () const |
| Returns true if performing a cloud iteration this calc step. | |
| bool | canEvolve () |
| Returns true if possible to evolve the cloud and sets timestep parameters. | |
| bool | log () const |
| Returns true if possible to log this step. | |
| bool | output () const |
| Returns true if writing this step. | |
| scalar | deltaTMax (const scalar trackTime) const |
| Return the maximum integration time. | |
| scalar | deltaLMax (const scalar lRef) const |
| Return the maximum integration length. | |
Static Public Attributes | |
| static int | debug |
| Debug switch. | |
Stores all relevant solution info for cloud.
Definition at line 49 of file cloudSolution.H.
| cloudSolution | ( | const fvMesh & | mesh | ) |
Construct null from mesh reference.
Definition at line 99 of file cloudSolution.C.
References mesh().
Referenced by cloudSolution().


| cloudSolution | ( | const fvMesh & | mesh, |
| const dictionary & | dict ) |
Construct from mesh and dictionary.
Definition at line 35 of file cloudSolution.C.
References dict(), Foam::endl(), Foam::Info, mesh(), read(), and dictionary::readIfPresent().

| cloudSolution | ( | const cloudSolution & | cs | ) |
Construct copy.
Definition at line 79 of file cloudSolution.C.
References cloudSolution().

|
default |
| void read | ( | ) |
Read properties from dictionary.
Definition at line 121 of file cloudSolution.C.
References localEulerDdt::enabled(), Foam::endl(), Foam::exit(), Foam::FatalError, FatalErrorInFunction, forAll, IOWarningInFunction, dictionary::lookup(), UList< T >::size(), steadyState(), and dictionary::toc().
Referenced by cloudSolution().


| Foam::scalar relaxCoeff | ( | const word & | fieldName | ) | const |
Return relaxation coefficient for field.
Definition at line 204 of file cloudSolution.C.
References debug, Foam::endl(), and WarningInFunction.

| bool semiImplicit | ( | const word & | fieldName | ) | const |
Return semi-implicit flag coefficient for field.
Definition at line 225 of file cloudSolution.C.
References debug, Foam::endl(), and WarningInFunction.

|
inline |
Return reference to the mesh.
Definition at line 21 of file cloudSolutionI.H.
Referenced by cloudSolution(), and cloudSolution().

|
inline |
Return const access to the dictionary.
Definition at line 27 of file cloudSolutionI.H.
Referenced by cloudSolution().

|
inline |
Return the active flag.
Definition at line 33 of file cloudSolutionI.H.
|
inline |
Return const access to the transient flag.
Definition at line 57 of file cloudSolutionI.H.
|
inline |
Return const access to the steady flag.
Definition at line 63 of file cloudSolutionI.H.
Referenced by read().

|
inline |
Return const access to the calculation frequency.
Definition at line 69 of file cloudSolutionI.H.
|
inline |
Return const access to the max particle Courant number.
Definition at line 75 of file cloudSolutionI.H.
|
inline |
Return const access to the current cloud iteration.
Definition at line 81 of file cloudSolutionI.H.
|
inline |
Increment and return iter counter.
Definition at line 87 of file cloudSolutionI.H.
|
inline |
Return the particle track time.
Definition at line 93 of file cloudSolutionI.H.
Referenced by deltaTMax(), and ~cloudSolution().

|
inline |
Return the maximum integration time step.
Definition at line 99 of file cloudSolutionI.H.
|
inline |
Return const access to the coupled flag.
Definition at line 111 of file cloudSolutionI.H.
|
inline |
Return non-const access to the coupled flag.
Definition at line 105 of file cloudSolutionI.H.
|
inline |
Return const access to the cell value correction flag.
Definition at line 117 of file cloudSolutionI.H.
|
inline |
Return const access to the particle track time.
Definition at line 123 of file cloudSolutionI.H.
|
inline |
Return const access to the reset sources flag.
Definition at line 129 of file cloudSolutionI.H.
|
inline |
Source terms dictionary.
Definition at line 39 of file cloudSolutionI.H.
References dictionary::subDict().

|
inline |
Interpolation schemes dictionary.
Definition at line 45 of file cloudSolutionI.H.
References dictionary::subDict().

|
inline |
Integration schemes dictionary.
Definition at line 51 of file cloudSolutionI.H.
References dictionary::subDict().

| bool solveThisStep | ( | ) | const |
Returns true if performing a cloud iteration this calc step.
Definition at line 246 of file cloudSolution.C.
Referenced by canEvolve().

| bool canEvolve | ( | ) |
Returns true if possible to evolve the cloud and sets timestep parameters.
Definition at line 257 of file cloudSolution.C.
References solveThisStep().

| bool log | ( | ) | const |
Returns true if possible to log this step.
Definition at line 272 of file cloudSolution.C.
| bool output | ( | ) | const |
Returns true if writing this step.
Definition at line 281 of file cloudSolution.C.
| Foam::scalar deltaTMax | ( | const scalar | trackTime | ) | const |
Return the maximum integration time.
Definition at line 287 of file cloudSolution.C.
References Foam::min(), and trackTime().

| Foam::scalar deltaLMax | ( | const scalar | lRef | ) | const |
Return the maximum integration length.
Definition at line 300 of file cloudSolution.C.
|
static |
Debug switch.
Definition at line 159 of file cloudSolution.H.
Referenced by relaxCoeff(), and semiImplicit().