session_advance
Advance a Kratos Multiphysics simulation by a specified number of solution steps or until a target time, executing the full solution loop. Returns progress and completion status.
Instructions
Advance the simulation by steps solution steps (or until the
model time reaches until_time), running the same sequence as
AnalysisStage.RunSolutionLoop: AdvanceInTime, InitializeSolutionStep,
SolveSolutionStep, FinalizeSolutionStep and, if output=True, the
configured output processes. Stops early at the case's end_time.
Returns the new time, whether the run is finished, why it stopped
(steps_completed / until_time_reached / end_time_reached) and a
per-step history (step, time, converged, wall_seconds). If the call
exceeds timeout seconds it returns busy=True and the worker keeps
running; poll session_status until busy is false.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | ||
| output | No | ||
| timeout | No | ||
| session_id | Yes | ||
| until_time | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||