# arensaid2002-lab/cmfsn architecture

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

- Interactive diagram: https://gitdiagram.com/arensaid2002-lab/cmfsn
- Repository: https://github.com/arensaid2002-lab/cmfsn

## Overview

CMFSN is presented as a computational fluid-and-structure simulation project for transonic aircraft, with a stated goal of modeling three-dimensional viscous subsonic and transonic flow and structural deformation. The tree suggests CAD exchange, mesh exchange, fluid and structural solvers, a solver handler, and a UI as distinct product areas. However, the sampled implementation is skeletal: main.cpp only prints a greeting, and the sampled CAD/mesh source files are empty. The available evidence does not establish a runtime user-to-result workflow or connections among these subsystems.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_cad["CAD Exchange"]
  node_cad_in["CAD input<br/>[InCAD.cpp]"]
  node_cad_out["CAD output<br/>[OutOfCAD.cpp]"]
end

subgraph group_mesh["Mesh Exchange"]
  node_mesh_in["Mesh input<br/>[MeshInCAD.cpp]"]
  node_mesh_out["Mesh output<br/>[MeshOutOfCAD.cpp]"]
end

subgraph group_solver["Simulation Solvers"]
  node_solver_handler["Solver handler"]
  node_fluid_solver["Fluid solver"]
  node_structure_solver["Structure solver"]
end

subgraph group_app["Application"]
  node_main["Executable entry<br/>[main.cpp]"]
  node_ui["User interface"]
end

click node_main "https://github.com/arensaid2002-lab/cmfsn/blob/main/Main/main.cpp"
click node_cad_in "https://github.com/arensaid2002-lab/cmfsn/blob/main/CAD/src/InCAD.cpp"
click node_cad_out "https://github.com/arensaid2002-lab/cmfsn/blob/main/CAD/src/OutOfCAD.cpp"
click node_mesh_in "https://github.com/arensaid2002-lab/cmfsn/blob/main/Mesh/src/MeshInCAD.cpp"
click node_mesh_out "https://github.com/arensaid2002-lab/cmfsn/blob/main/Mesh/src/MeshOutOfCAD.cpp"
click node_solver_handler "https://github.com/arensaid2002-lab/cmfsn/tree/main/Solver/src/SolverHandler"
click node_fluid_solver "https://github.com/arensaid2002-lab/cmfsn/tree/main/Solver/src/SolverFluid"
click node_structure_solver "https://github.com/arensaid2002-lab/cmfsn/tree/main/Solver/src/SolverStructure"
click node_ui "https://github.com/arensaid2002-lab/cmfsn/tree/main/UI"

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_cad_in,node_cad_out toneBlue
class node_mesh_in,node_mesh_out toneAmber
class node_solver_handler,node_fluid_solver,node_structure_solver toneMint
class node_main,node_ui toneRose
```

## Components

### CAD Exchange

- [CAD input](https://github.com/arensaid2002-lab/cmfsn/blob/main/CAD/src/InCAD.cpp): `CAD/src/InCAD.cpp`
- [CAD output](https://github.com/arensaid2002-lab/cmfsn/blob/main/CAD/src/OutOfCAD.cpp): `CAD/src/OutOfCAD.cpp`

### Mesh Exchange

- [Mesh input](https://github.com/arensaid2002-lab/cmfsn/blob/main/Mesh/src/MeshInCAD.cpp): `Mesh/src/MeshInCAD.cpp`
- [Mesh output](https://github.com/arensaid2002-lab/cmfsn/blob/main/Mesh/src/MeshOutOfCAD.cpp): `Mesh/src/MeshOutOfCAD.cpp`

### Simulation Solvers

- [Solver handler](https://github.com/arensaid2002-lab/cmfsn/tree/main/Solver/src/SolverHandler): `Solver/src/SolverHandler`
- [Fluid solver](https://github.com/arensaid2002-lab/cmfsn/tree/main/Solver/src/SolverFluid): `Solver/src/SolverFluid`
- [Structure solver](https://github.com/arensaid2002-lab/cmfsn/tree/main/Solver/src/SolverStructure): `Solver/src/SolverStructure`

### Application

- [Executable entry](https://github.com/arensaid2002-lab/cmfsn/blob/main/Main/main.cpp): `Main/main.cpp`
- [User interface](https://github.com/arensaid2002-lab/cmfsn/tree/main/UI): `UI`
