create_multistage_project
Scaffold a Kratos multi-stage project that chains analyses in sequence, enabling continuation runs and coupled workflows with mesh reuse across stages.
Instructions
Scaffold a Kratos multi-stage (orchestrated) case that chains several analyses in sequence, e.g. a continuation run or a coupled workflow where a later physics reads fields the earlier one wrote on the same mesh. Each element of 'stages' is {"name": "", "template": "", "overrides": {...}} (overrides optional). Stages are composed via Kratos' SequentialOrchestrator (orchestrator + stages + execution_list) and run with run_simulation like any case.
Mesh sharing: the first stage imports its mesh (mdpa); a later stage whose solver model_part_name matches an earlier stage's REUSES that already-populated model part (input_type 'use_input_model_part'), which is how state flows between stages. A later stage with a distinct model_part_name imports its own mesh instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | case | |
| stages | Yes | ||
| directory | Yes | ||
| create_demo_mesh | No | ||
| stage_checkpoints | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||