# byuflowlab/flowunsteady architecture

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

- Interactive diagram: https://gitdiagram.com/byuflowlab/flowunsteady
- Repository: https://github.com/byuflowlab/flowunsteady

## Overview

FLOWUnsteady is a Julia variable-fidelity framework for unsteady aerodynamics and aeroacoustics. Its documented product workflow is to configure and run a simulation of wings, rotors, or maneuvering vehicles; aerodynamic actuator models compute forces and embed associated vorticity in the rVPM flow domain. Supporting capabilities include geometry import, noise prediction, and result processing. The README establishes these high-level relationships, but no source excerpts were provided, so implementation-level call paths are not inferred.

Main entry points: [`src/FLOWUnsteady_simulation.jl`](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation.jl) (Simulation run), [`src/FLOWUnsteady_rotor.jl`](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_rotor.jl) (Rotor blade elements), [`src/FLOWUnsteady_vehicle.jl`](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_vehicle.jl) (Vehicle models), [`src/FLOWUnsteady_vehicle_vlm.jl`](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_vehicle_vlm.jl) (Wing VLM models)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_simulation["Simulation orchestration"]
  node_simrun["Simulation run"]
  node_simtypes["Simulation types"]
  node_maneuver["Maneuver kinematics"]
end

subgraph group_aero["Aerodynamic models"]
  node_vehicle["Vehicle models"]
  node_wing["Wing VLM models"]
  node_rotor["Rotor blade elements"]
  node_airfoils[("Airfoil lookup data")]
  node_rotordata[("Rotor geometry data")]
end

subgraph group_flow["Flow solver"]
  node_rvpm["rVPM solver"]
  node_viscous["Viscous and SFS models"]
  node_quasisteady["Quasi-steady solver"]
end

subgraph group_support["Geometry and acoustics"]
  node_openvsp["OpenVSP geometry import"]
  node_noise_fwh["FW-H noise prediction"]
  node_noise_bpm["BPM noise prediction"]
end

subgraph group_results["Monitoring and results"]
  node_monitor["Simulation monitors"]
  node_postprocess["Postprocessing"]
end

node_engineer(("Simulation user"))
node_external_xfoil["XFOIL"]
node_external_wopwop["PSU-WOPWOP"]

node_engineer -->|"runs"| node_simrun
node_simrun -->|"simulates vehicles"| node_vehicle
node_vehicle -->|"uses wing models"| node_wing
node_vehicle -->|"uses rotor models"| node_rotor
node_wing -->|"embeds vorticity"| node_rvpm
node_rotor -->|"embeds vorticity"| node_rvpm
node_wing -->|"looks up drag"| node_airfoils
node_rotor -->|"uses airfoil data"| node_airfoils
node_simrun -->|"supports kinematics"| node_maneuver
node_simrun -->|"supports geometry import"| node_openvsp
node_simrun -->|"supports noise prediction"| node_noise_fwh
node_simrun -->|"supports noise prediction"| node_noise_bpm
node_noise_fwh -->|"integrates"| node_external_wopwop
node_rotor -->|"generates lookup tables"| node_external_xfoil
node_simrun -->|"supports monitoring"| node_monitor
node_simrun -->|"supports postprocessing"| node_postprocess

click node_simrun "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation.jl"
click node_simtypes "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation_types.jl"
click node_maneuver "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_maneuver.jl"
click node_vehicle "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_vehicle.jl"
click node_wing "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_vehicle_vlm.jl"
click node_rotor "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_rotor.jl"
click node_airfoils "https://github.com/byuflowlab/flowunsteady/tree/master/database/airfoils"
click node_rotordata "https://github.com/byuflowlab/flowunsteady/tree/master/database/rotors"
click node_rvpm "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation_types_unsteady.jl"
click node_viscous "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation_types_unsteady.jl"
click node_quasisteady "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation_types_quasisteady.jl"
click node_openvsp "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_openvsp.jl"
click node_noise_fwh "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_noise_wopwop.jl"
click node_noise_bpm "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_noise_bpm.jl"
click node_monitor "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_monitors.jl"
click node_postprocess "https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_postprocessing.jl"

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_simrun,node_simtypes,node_maneuver,node_engineer toneBlue
class node_vehicle,node_wing,node_rotor,node_airfoils,node_rotordata toneAmber
class node_rvpm,node_viscous,node_quasisteady toneMint
class node_openvsp,node_noise_fwh,node_noise_bpm toneRose
class node_monitor,node_postprocess,node_external_xfoil,node_external_wopwop toneIndigo
```

## Components

### Simulation orchestration

- [Simulation run](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation.jl): `src/FLOWUnsteady_simulation.jl`
- [Simulation types](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation_types.jl): `src/FLOWUnsteady_simulation_types.jl`
- [Maneuver kinematics](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_maneuver.jl): `src/FLOWUnsteady_maneuver.jl`

### Aerodynamic models

- [Vehicle models](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_vehicle.jl): `src/FLOWUnsteady_vehicle.jl`
- [Wing VLM models](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_vehicle_vlm.jl): `src/FLOWUnsteady_vehicle_vlm.jl`
- [Rotor blade elements](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_rotor.jl): `src/FLOWUnsteady_rotor.jl`
- [Airfoil lookup data](https://github.com/byuflowlab/flowunsteady/tree/master/database/airfoils): `database/airfoils`
- [Rotor geometry data](https://github.com/byuflowlab/flowunsteady/tree/master/database/rotors): `database/rotors`

### Flow solver

- [rVPM solver](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation_types_unsteady.jl): `src/FLOWUnsteady_simulation_types_unsteady.jl`
- [Viscous and SFS models](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation_types_unsteady.jl): `src/FLOWUnsteady_simulation_types_unsteady.jl`
- [Quasi-steady solver](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_simulation_types_quasisteady.jl): `src/FLOWUnsteady_simulation_types_quasisteady.jl`

### Geometry and acoustics

- [OpenVSP geometry import](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_openvsp.jl): `src/FLOWUnsteady_openvsp.jl`
- [FW-H noise prediction](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_noise_wopwop.jl): `src/FLOWUnsteady_noise_wopwop.jl`
- [BPM noise prediction](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_noise_bpm.jl): `src/FLOWUnsteady_noise_bpm.jl`

### Monitoring and results

- [Simulation monitors](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_monitors.jl): `src/FLOWUnsteady_monitors.jl`
- [Postprocessing](https://github.com/byuflowlab/flowunsteady/blob/master/src/FLOWUnsteady_postprocessing.jl): `src/FLOWUnsteady_postprocessing.jl`

### Other components

- **Simulation user**
- **XFOIL**
- **PSU-WOPWOP**

## Connections

- Simulation user → Simulation run: runs (evidence: `README.md`)
- Simulation run → Vehicle models: simulates vehicles (evidence: `README.md`)
- Vehicle models → Wing VLM models: uses wing models (evidence: `README.md`)
- Vehicle models → Rotor blade elements: uses rotor models (evidence: `README.md`)
- Wing VLM models → rVPM solver: embeds vorticity (evidence: `README.md`)
- Rotor blade elements → rVPM solver: embeds vorticity (evidence: `README.md`)
- Wing VLM models → Airfoil lookup data: looks up drag (evidence: `README.md`)
- Rotor blade elements → Airfoil lookup data: uses airfoil data (evidence: `README.md`)
- Simulation run → Maneuver kinematics: supports kinematics (evidence: `README.md`)
- Simulation run → OpenVSP geometry import: supports geometry import (evidence: `README.md`)
- Simulation run → FW-H noise prediction: supports noise prediction (evidence: `README.md`)
- Simulation run → BPM noise prediction: supports noise prediction (evidence: `README.md`)
- FW-H noise prediction → PSU-WOPWOP: integrates (evidence: `README.md`)
- Rotor blade elements → XFOIL: generates lookup tables (evidence: `README.md`)
- Simulation run → Simulation monitors: supports monitoring (evidence: `README.md`)
- Simulation run → Postprocessing: supports postprocessing (evidence: `README.md`)
