how to set different fixed time steps for different time periods #29087
-
Check these boxes if you have followed the posting rules.
QuestionHello, I would like to set different fixed time steps for different time periods in one transient simulation. Can I set it directly in the [Executioner] of the input file? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hello Different time step cannot be done directly in the Executioner block. You can only do the "ConstantDT" behavior there.
The current time is accessible when coding a time stepper using the
If you already know the size of the fixed time step and the start and end time of the periods, you could use a FunctionDT with a PiecewiseConstant function |
Beta Was this translation helpful? Give feedback.
Hello
Different time step cannot be done directly in the Executioner block. You can only do the "ConstantDT" behavior there.
You can use the TimeStepper or the TimeSteppers block.
The current time is accessible when coding a time stepper using the
_time
attribute. The time is retrieved from the problem.If you already know the size of the fixed time step and the start and end time of the periods, you could u…