"timestepping" block¶
Transient stepping is configured in the JSON block "timestepping".
json
{
"timestepping": {
"type": "be",
"dt0": 1.0e-6,
"dtmax": 1.0e-2,
"dtmin": 1.0e-12,
"optimize-iters": 3,
"end-time": 1.0,
"growth-factor": 1.1,
"cutback-factor": 0.85,
"adaptive": true
}
}
Options¶
"type": optional string. Supported values are listed below. If omitted, the parser uses backward Euler."dt0": required positive number. This is the initial time step."dtmax": optional positive number. Default is1.0e-2."dtmin": optional positive number. Default is1.0e-13."optimize-iters": optional positive integer. Default is3."end-time": required positive number."growth-factor": provide this explicitly. The current parser returns an error if it is missing."cutback-factor": provide this explicitly. The current parser returns an error if it is missing."adaptive": optional boolean. Default isfalse.
Supported time-stepping types¶
text
backward-euler
be
BE
cranck-nicolson
cn
CN
static
STATIC
bdf2
BDF2
The accepted string is "cranck-nicolson" because that is what the current parser checks. "crank-nicolson" is not matched in ReadTimeSteppingBlock.cpp.
Most upstream static examples omit "timestepping" entirely and instead use "job": { "type": "static" }, but the parser also accepts "type": "static" inside "timestepping".