# ansys/pyfluent-examples architecture

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

- Interactive diagram: https://gitdiagram.com/ansys/pyfluent-examples
- Repository: https://github.com/ansys/pyfluent-examples

## Overview

This is a collection of runnable examples demonstrating PyFluent libraries, not a shared application runtime. The documented workflow is to run an example script with Python; the tree identifies released examples spanning several engineering domains. The README describes the collection generally, but no source excerpts were provided, so the graph does not infer internal calls or individual example behavior.

Main entry points: [`examples/00-released_examples/00-ablation.py`](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/00-ablation.py) (Ablation), [`examples/00-released_examples/00-ahmed_body_workflow.py`](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/00-ahmed_body_workflow.py) (Ahmed body), [`examples/00-released_examples/01-brake.py`](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/01-brake.py) (Brake), [`examples/00-released_examples/02-DOE_ML.py`](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/02-DOE_ML.py) (DOE and ML)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_examples["Example workflows"]
  node_ablation["Ablation<br/>[00-ablation.py]"]
  node_ahmed["Ahmed body"]
  node_brake["Brake<br/>[01-brake.py]"]
  node_doe["DOE and ML<br/>[02-DOE_ML.py]"]
  node_cht["Conjugate heat<br/>[03-CHT.py]"]
  node_modes["Acoustic modes"]
  node_headlamp["Headlamp radiation"]
  node_lunar["Lunar thermal"]
end

node_user(("Example runner"))
node_pyfluent["PyFluent libraries"]

node_user -->|"runs"| node_ablation
node_user -->|"runs"| node_ahmed
node_user -->|"runs"| node_brake
node_user -->|"runs"| node_doe
node_user -->|"runs"| node_cht
node_user -->|"runs"| node_modes
node_user -->|"runs"| node_headlamp
node_user -->|"runs"| node_lunar
node_ablation -->|"demonstrates"| node_pyfluent
node_ahmed -->|"demonstrates"| node_pyfluent
node_brake -->|"demonstrates"| node_pyfluent
node_doe -->|"demonstrates"| node_pyfluent
node_cht -->|"demonstrates"| node_pyfluent
node_modes -->|"demonstrates"| node_pyfluent
node_headlamp -->|"demonstrates"| node_pyfluent
node_lunar -->|"demonstrates"| node_pyfluent

click node_ablation "https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/00-ablation.py"
click node_ahmed "https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/00-ahmed_body_workflow.py"
click node_brake "https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/01-brake.py"
click node_doe "https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/02-DOE_ML.py"
click node_cht "https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/03-CHT.py"
click node_modes "https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/04-TylerSofrinModes.py"
click node_headlamp "https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/05-radiation_headlamp.py"
click node_lunar "https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/06-lunar_lander_thermal.py"

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_ablation,node_ahmed,node_brake,node_doe,node_cht,node_modes,node_headlamp,node_lunar toneBlue
class node_user,node_pyfluent toneIndigo
```

## Components

### Example workflows

- [Ablation](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/00-ablation.py): `examples/00-released_examples/00-ablation.py`
- [Ahmed body](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/00-ahmed_body_workflow.py): `examples/00-released_examples/00-ahmed_body_workflow.py`
- [Brake](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/01-brake.py): `examples/00-released_examples/01-brake.py`
- [DOE and ML](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/02-DOE_ML.py): `examples/00-released_examples/02-DOE_ML.py`
- [Conjugate heat](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/03-CHT.py): `examples/00-released_examples/03-CHT.py`
- [Acoustic modes](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/04-TylerSofrinModes.py): `examples/00-released_examples/04-TylerSofrinModes.py`
- [Headlamp radiation](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/05-radiation_headlamp.py): `examples/00-released_examples/05-radiation_headlamp.py`
- [Lunar thermal](https://github.com/ansys/pyfluent-examples/blob/main/examples/00-released_examples/06-lunar_lander_thermal.py): `examples/00-released_examples/06-lunar_lander_thermal.py`

### Other components

- **Example runner**
- **PyFluent libraries**

## Connections

- Example runner → Ablation: runs (evidence: `README.rst`)
- Example runner → Ahmed body: runs (evidence: `README.rst`)
- Example runner → Brake: runs (evidence: `README.rst`)
- Example runner → DOE and ML: runs (evidence: `README.rst`)
- Example runner → Conjugate heat: runs (evidence: `README.rst`)
- Example runner → Acoustic modes: runs (evidence: `README.rst`)
- Example runner → Headlamp radiation: runs (evidence: `README.rst`)
- Example runner → Lunar thermal: runs (evidence: `README.rst`)
- Ablation → PyFluent libraries: demonstrates (evidence: `README.rst`)
- Ahmed body → PyFluent libraries: demonstrates (evidence: `README.rst`)
- Brake → PyFluent libraries: demonstrates (evidence: `README.rst`)
- DOE and ML → PyFluent libraries: demonstrates (evidence: `README.rst`)
- Conjugate heat → PyFluent libraries: demonstrates (evidence: `README.rst`)
- Acoustic modes → PyFluent libraries: demonstrates (evidence: `README.rst`)
- Headlamp radiation → PyFluent libraries: demonstrates (evidence: `README.rst`)
- Lunar thermal → PyFluent libraries: demonstrates (evidence: `README.rst`)
