Skip to content

Commit af7f502

Browse files
fix: LaTeX superscript syntax for GitHub rendering
1 parent c56c936 commit af7f502

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

docs/THEORY.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Where:
3535

3636
The equilibrium composition is found by minimizing the total Gibbs free energy:
3737

38-
$$G = \sum_j n_j \left( \mu_j^0 + RT \ln \frac{n_j P}{n_{total} P^0} \right)$$
38+
$$G = \sum_j n_j \left( \mu_j^{0} + RT \ln \frac{n_j P}{n_{total} P^{0}} \right)$$
3939

4040
Subject to element conservation:
4141

@@ -48,15 +48,15 @@ EnSim uses the Newton-Raphson iteration method described by Gordon & McBride (NA
4848
1. **Initialize**: Estimate species moles from stoichiometry
4949
2. **Iterate**: Solve the linearized system:
5050

51-
$$\begin{bmatrix} \nabla^2 G & A^T \\ A & 0 \end{bmatrix} \begin{bmatrix} \Delta n \\ \lambda \end{bmatrix} = \begin{bmatrix} -\nabla G \\ b - An \end{bmatrix}$$
51+
$$\begin{bmatrix} \nabla^{2} G & A^{T} \\ A & 0 \end{bmatrix} \begin{bmatrix} \Delta n \\ \lambda \end{bmatrix} = \begin{bmatrix} -\nabla G \\ b - An \end{bmatrix}$$
5252

5353
3. **Convergence**: Check $\|\Delta n / n\| < 10^{-7}$
5454

5555
### Adiabatic Flame Temperature
5656

5757
Energy balance for adiabatic combustion:
5858

59-
$$\sum_j n_j H_j(T_{ad}) = \sum_i n_i^0 H_i(T_0)$$
59+
$$\sum_j n_j H_j(T_{ad}) = \sum_i n_i^{0} H_i(T_0)$$
6060

6161
Solved iteratively with equilibrium composition at each temperature.
6262

@@ -66,7 +66,7 @@ Solved iteratively with equilibrium composition at each temperature.
6666

6767
### Characteristic Velocity (C*)
6868

69-
$$C^* = \frac{\sqrt{\gamma R T_c}}{\Gamma}$$
69+
$$C^{*} = \frac{\sqrt{\gamma R T_c}}{\Gamma}$$
7070

7171
where the vandenkerckhove function:
7272

@@ -84,22 +84,22 @@ $$C_F = \Gamma \sqrt{\frac{2\gamma^2}{\gamma - 1} \left[ 1 - \left( \frac{P_e}{P
8484

8585
### Specific Impulse
8686

87-
$$I_{sp} = \frac{C^* \cdot C_F}{g_0}$$
87+
$$I_{sp} = \frac{C^{*} \cdot C_F}{g_0}$$
8888

8989
### Area-Mach Relation
9090

91-
$$\frac{A}{A^*} = \frac{1}{M} \left[ \frac{2}{\gamma + 1} \left( 1 + \frac{\gamma - 1}{2} M^2 \right) \right]^{\frac{\gamma + 1}{2(\gamma - 1)}}$$
91+
$$\frac{A}{A^{*}} = \frac{1}{M} \left[ \frac{2}{\gamma + 1} \left( 1 + \frac{\gamma - 1}{2} M^{2} \right) \right]^{\frac{\gamma + 1}{2(\gamma - 1)}}$$
9292

9393
### Efficiency Corrections
9494

9595
Real-world performance includes losses:
9696

97-
$$C^*_{actual} = \eta_{C^*} \cdot C^*_{ideal}$$
97+
$$C^{*}_{actual} = \eta_{C^{*}} \cdot C^{*}_{ideal}$$
9898

9999
$$C_{F,actual} = \eta_{C_F} \cdot C_{F,ideal}$$
100100

101101
Typical values:
102-
- $\eta_{C^*}$ = 0.94 - 0.99 (combustion efficiency)
102+
- $\eta_{C^{*}}$ = 0.94 - 0.99 (combustion efficiency)
103103
- $\eta_{C_F}$ = 0.96 - 0.99 (nozzle efficiency)
104104

105105
---

0 commit comments

Comments
 (0)