Cardinal
|
Time stepper that reads time step information directly from nekRS. More...
#include <NekTimeStepper.h>
Public Member Functions | |
NekTimeStepper (const InputParameters ¶meters) | |
virtual Real | minDT () const |
virtual void | setReferenceTime (const Real &L, const Real &U) |
virtual Real | nondimensionalDT (const Real &dimensional_dt) const |
Static Public Member Functions | |
static InputParameters | validParams () |
Protected Member Functions | |
virtual Real | computeInitialDT () override |
virtual Real | computeDT () override |
Protected Attributes | |
Real | _min_dt |
Minimum allowable time step (dimensional) that MOOSE can set in NekRS. More... | |
Real | _nek_dt |
Real | _t_ref |
Reference time scale. More... | |
Time stepper that reads time step information directly from nekRS.
This time stepper performs the very simple action of reading stepping information from nekRS. This is necessary for the correct simulation time and time step size to be reflected through the Moose App running nekRS. This class will ignore any constantDT-type time stepping parameters set directly within the [Executioner] block, instead reading all stepping information (start time, end time, number of time steps, and time step size) directly from nekRS data structures. The only situation for which some control can be exerted from the MOOSE side is if Nek is run as a sub-application, in which case the simulation end time is controlled from the master application.
NekTimeStepper::NekTimeStepper | ( | const InputParameters & | parameters | ) |
|
overrideprotectedvirtual |
|
overrideprotectedvirtual |
|
virtual |
|
virtual |
Compute the nondimensional version of a dt
[in] | dimensional_dt | time step in dimensional form |
|
virtual |
Set the reference time scale that nekRS's nondimensional form is based on
[in] | L | characteristic length |
[in] | U | characteristic velocity |
|
static |
|
protected |
Minimum allowable time step (dimensional) that MOOSE can set in NekRS.
|
protected |
The initial time step size in NekRS, in non-dimensional form. This does not reflect the time step as it changes adaptively.
|
protected |
Reference time scale.