Skip to content

Analysis Stages & Orchestrators

These nodes form the top level of a Kratos case. An orchestrator drives one or more analysis stages, and each stage ties together the problem data, solver, processes and outputs for a single physics.

Orchestrators

Directory: public/js/nodes/orchestrators/

NodeTypePurpose
Sequential OrchestratorOrchestrators/SequentialOrchestratorRuns stages one after another (execution_list). The default orchestrator injected by an analysis stage when none is connected.
Orchestrator (base)Orchestrators/Base/OrchestratorBase class for orchestrator nodes.

An analysis stage that has no orchestrator input automatically emits a default SequentialOrchestrator block, so a single stage is usable on its own.

Analysis stages

Directory: public/js/nodes/analysis_stages/

The base Analysis stage node (base/analysis_stage.js) defines the common inputs/outputs. Its inputs are:

InputSlot typeFeeds
Stagestage_flowChains additional stages into the same orchestrator.
Stage Prestage_prestage_preprocess block.
Stage Poststage_poststage_postprocess block.
Problem Dataproblem_dataproblem_data block.
Solver Settingssolver_settingssolver_settings block.
Processesprocess_listprocesses.boundary_conditions_process_list.
Output Processesoutput_process_listoutput_processes.output_process_list.

Outputs: Stage (stage_flow) and Name (string). On execute it builds the stages.<stage_name> entry and appends the stage to the orchestrator's execution_list.

Concrete stages

NodeType
Structural Mechanics AnalysisAnalysis stages/StructuralMechanicsAnalysis
Fluid Dynamics AnalysisAnalysis stages/FluidDynamicsAnalysis
Convection Diffusion AnalysisAnalysis stages/ConvectionDiffusionAnalysis
Potential Flow AnalysisAnalysis stages/PotentialFlowAnalysis
FSI AnalysisAnalysis stages/FsiAnalysis

Each sets its analysis_stage type string to the corresponding Kratos application module.

Components

NodeTypePurpose
Problem DataAnalysis stages/Components/ProblemDataEmits the problem_data block: problem name, parallel type (OpenMP/MPI), echo level, start/end time.
PreprocessAnalysis stages/Components/Preprocessstage_preprocess operations/modelers.
PostProcessAnalysis stages/Components/PostProcessstage_postprocess operations.

The Problem Data node is the simplest way to see the tool in action — connect it to a JSON Viewer to inspect its output:

Problem Data feeding the JSON viewer

📖 Kratos reference: AnalysisStage

Released under the AGPL-3.0-or-later License.