# gbarivazhagan/nozzle_design architecture

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

- Interactive diagram: https://gitdiagram.com/gbarivazhagan/nozzle_design
- Repository: https://github.com/gbarivazhagan/nozzle_design

## Overview

This is a small MATLAB nozzle-design utility. Its documented main workflow takes the specific-heat ratio and nozzle exit-to-throat ratio, then solves for isentropic nozzle geometry using the method of characteristics. The README also describes a simpler code version for examining stagnation-pressure and temperature variation; the file tree suggests the second script may serve that role, but no source excerpts are available to confirm its behavior or how the scripts are wired.

Main entry points: [`Nozzle_design_AESIR-1.m`](https://github.com/gbarivazhagan/nozzle_design/blob/master/Nozzle_design_AESIR-1.m) (MOC nozzle design)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_nozzle["Nozzle design"]
  node_design["MOC nozzle design"]
  node_parameter["Parameter change"]
end

node_user(("Designer"))
node_geometry["Nozzle geometry"]

node_user -->|"provides inputs"| node_design
node_design -->|"solves for"| node_geometry

click node_design "https://github.com/gbarivazhagan/nozzle_design/blob/master/Nozzle_design_AESIR-1.m"
click node_parameter "https://github.com/gbarivazhagan/nozzle_design/blob/master/Nozzle_parameter_change.m"

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_design,node_parameter toneBlue
class node_user,node_geometry toneIndigo
```

## Components

### Nozzle design

- [MOC nozzle design](https://github.com/gbarivazhagan/nozzle_design/blob/master/Nozzle_design_AESIR-1.m): `Nozzle_design_AESIR-1.m`
- [Parameter change](https://github.com/gbarivazhagan/nozzle_design/blob/master/Nozzle_parameter_change.m): `Nozzle_parameter_change.m`

### Other components

- **Designer**
- **Nozzle geometry**

## Connections

- Designer → MOC nozzle design: provides inputs
- MOC nozzle design → Nozzle geometry: solves for
