# idaholab/moose architecture

> Architecture diagram of the GitHub repository idaholab/moose, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-08). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/idaholab/moose
- Repository: https://github.com/idaholab/moose

## Overview

MOOSE is a finite-element multiphysics simulation framework. A scientist configures and runs an application, which assembles a problem from mesh and physics components, solves it, and produces results; adaptivity and parallel execution support that workflow. The graph also captures documented GUI and modular-extension capabilities. Source excerpts establish the application entry point and selected action/material-storage details; README statements support broader product capabilities, but do not establish every internal call path.

Main entry points: [`framework/include/actions/Action.h`](https://github.com/idaholab/moose/blob/next/framework/include/actions/Action.h) (Action system), [`framework/include/actioncomponents/ActionComponent.h`](https://github.com/idaholab/moose/blob/next/framework/include/actioncomponents/ActionComponent.h) (Physics components), [`framework/include/problems/FEProblemBase.h`](https://github.com/idaholab/moose/blob/next/framework/include/problems/FEProblemBase.h) (Finite-element problem), [`framework/include/base/MooseMain.h`](https://github.com/idaholab/moose/blob/next/framework/include/base/MooseMain.h) (Application entry)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_run["Simulation runtime"]
  node_input["Simulation input"]
  node_entry["Application entry<br/>[MooseMain.h]"]
  node_app["MOOSE application<br/>[MooseApp.h]"]
  node_actions["Action system<br/>[Action.h]"]
  node_factory["Object factory<br/>[Factory.h]"]
end

subgraph group_physics["Physics and mesh"]
  node_mesh["Mesh and adaptivity<br/>[Adaptivity.h]"]
  node_components["Physics components<br/>[ActionComponent.h]"]
  node_materials["Material properties<br/>[MaterialProperty.h]"]
  node_modules["Physics modules"]
end

subgraph group_solve["Solve and state"]
  node_property_storage[("Property storage")]
  node_projection_action["State projection"]
  node_problem["Finite-element problem<br/>[FEProblemBase.h]"]
  node_solver["Nonlinear solver"]
  node_parallel["Parallel execution"]
end

subgraph group_results["Results and interfaces"]
  node_output["Simulation output"]
  node_gui["Pluggable GUI<br/>[PluginManager.py]"]
  node_exodus_viewer["Exodus viewer"]
end

node_scientist(("Scientist"))

node_scientist -->|"defines"| node_input
node_scientist -->|"runs"| node_entry
node_entry -->|"creates and runs"| node_app
node_app -.->|"configures"| node_actions
node_actions -.->|"creates objects"| node_factory
node_actions -.->|"configures mesh"| node_mesh
node_actions -.->|"adds components"| node_components
node_components -.->|"uses"| node_materials
node_components -.->|"contribute to"| node_problem
node_modules -->|"specialize"| node_components
node_problem -->|"solves"| node_solver
node_solver -->|"executes in parallel"| node_parallel
node_mesh -->|"supports adaptivity"| node_problem
node_materials -->|"stores state in"| node_property_storage
node_projection_action -.->|"projects state"| node_property_storage
node_problem -->|"produces"| node_output
node_scientist -->|"uses"| node_gui
node_gui -->|"hosts viewer"| node_exodus_viewer
node_exodus_viewer -.->|"views results"| node_output

click node_entry "https://github.com/idaholab/moose/blob/next/framework/include/base/MooseMain.h"
click node_app "https://github.com/idaholab/moose/blob/next/framework/include/base/MooseApp.h"
click node_actions "https://github.com/idaholab/moose/blob/next/framework/include/actions/Action.h"
click node_factory "https://github.com/idaholab/moose/blob/next/framework/include/base/Factory.h"
click node_mesh "https://github.com/idaholab/moose/blob/next/framework/include/base/Adaptivity.h"
click node_components "https://github.com/idaholab/moose/blob/next/framework/include/actioncomponents/ActionComponent.h"
click node_materials "https://github.com/idaholab/moose/blob/next/framework/include/materials/MaterialProperty.h"
click node_property_storage "https://github.com/idaholab/moose/blob/next/framework/include/materials/MaterialPropertyStorage.h"
click node_projection_action "https://github.com/idaholab/moose/blob/next/framework/src/actions/ProjectedStatefulMaterialStorageAction.C"
click node_problem "https://github.com/idaholab/moose/blob/next/framework/include/problems/FEProblemBase.h"
click node_gui "https://github.com/idaholab/moose/blob/next/python/peacock/base/PluginManager.py"
click node_exodus_viewer "https://github.com/idaholab/moose/blob/next/python/peacock/ExodusViewer/ExodusPluginManager.py"
click node_modules "https://github.com/idaholab/moose/tree/next/modules"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_input,node_entry,node_app,node_actions,node_factory toneBlue
class node_mesh,node_components,node_materials,node_modules toneAmber
class node_property_storage,node_projection_action,node_problem,node_solver,node_parallel toneMint
class node_output,node_gui,node_exodus_viewer toneRose
class node_scientist toneIndigo
```

## Components

### Simulation runtime

- **Simulation input**
- [Application entry](https://github.com/idaholab/moose/blob/next/framework/include/base/MooseMain.h): `framework/include/base/MooseMain.h`
- [MOOSE application](https://github.com/idaholab/moose/blob/next/framework/include/base/MooseApp.h): `framework/include/base/MooseApp.h`
- [Action system](https://github.com/idaholab/moose/blob/next/framework/include/actions/Action.h): `framework/include/actions/Action.h`
- [Object factory](https://github.com/idaholab/moose/blob/next/framework/include/base/Factory.h): `framework/include/base/Factory.h`

### Physics and mesh

- [Mesh and adaptivity](https://github.com/idaholab/moose/blob/next/framework/include/base/Adaptivity.h): `framework/include/base/Adaptivity.h`
- [Physics components](https://github.com/idaholab/moose/blob/next/framework/include/actioncomponents/ActionComponent.h): `framework/include/actioncomponents/ActionComponent.h`
- [Material properties](https://github.com/idaholab/moose/blob/next/framework/include/materials/MaterialProperty.h): `framework/include/materials/MaterialProperty.h`
- [Physics modules](https://github.com/idaholab/moose/tree/next/modules): `modules`

### Solve and state

- [Property storage](https://github.com/idaholab/moose/blob/next/framework/include/materials/MaterialPropertyStorage.h): `framework/include/materials/MaterialPropertyStorage.h`
- [State projection](https://github.com/idaholab/moose/blob/next/framework/src/actions/ProjectedStatefulMaterialStorageAction.C): `framework/src/actions/ProjectedStatefulMaterialStorageAction.C`
- [Finite-element problem](https://github.com/idaholab/moose/blob/next/framework/include/problems/FEProblemBase.h): `framework/include/problems/FEProblemBase.h`
- **Nonlinear solver**
- **Parallel execution**

### Results and interfaces

- **Simulation output**
- [Pluggable GUI](https://github.com/idaholab/moose/blob/next/python/peacock/base/PluginManager.py): `python/peacock/base/PluginManager.py`
- [Exodus viewer](https://github.com/idaholab/moose/blob/next/python/peacock/ExodusViewer/ExodusPluginManager.py): `python/peacock/ExodusViewer/ExodusPluginManager.py`

### Other components

- **Scientist**

## Connections

- Scientist → Simulation input: defines
- Scientist → Application entry: runs
- Application entry → MOOSE application: creates and runs (evidence: `framework/include/base/MooseMain.h`)
- MOOSE application → Action system: configures
- Action system → Object factory: creates objects
- Action system → Mesh and adaptivity: configures mesh
- Action system → Physics components: adds components
- Physics components → Material properties: uses
- Physics components → Finite-element problem: contribute to
- Physics modules → Physics components: specialize
- Finite-element problem → Nonlinear solver: solves
- Nonlinear solver → Parallel execution: executes in parallel
- Mesh and adaptivity → Finite-element problem: supports adaptivity (evidence: `framework/include/problems/FEProblemBase.h`)
- Material properties → Property storage: stores state in (evidence: `framework/src/materials/MaterialPropertyStorage.C`)
- State projection → Property storage: projects state
- Finite-element problem → Simulation output: produces
- Scientist → Pluggable GUI: uses
- Pluggable GUI → Exodus viewer: hosts viewer (evidence: `python/peacock/ExodusViewer/ExodusPluginManager.py`)
- Exodus viewer → Simulation output: views results
