Step 1 — Write total Gibbs energy. For a mix of N species with mole numbers ni:
G=∑i=1NniμiWhy this step?G is extensive; each species contributes its chemical potential μi times how much of it there is.
Step 2 — Chemical potential of a gas. For an ideal gas at partial pressure pi:
μi=μi∘(T)+RTlnp∘pi,pi=ntotnipWhy this step?μi∘ is the standard chemical potential (from JANNAF/CEA thermo tables, fitted as polynomials in T). The log term encodes how being dilute lowers a species' "escaping tendency" — this is what drives mixing and dissociation.
Step 3 — Constraints: conserve atoms. For each element j (C, H, O, N…), with aij = number of atoms of element j in species i, and bj = total moles of element j supplied by the propellant:
∑iaijni=bjfor every element jWhy this step? Reactions rearrange atoms; they never create or destroy them. These are the only things held fixed.
Step 4 — Lagrange multipliers. Minimize G subject to the constraints. Form
L=∑iniμi−∑jλj(∑iaijni−bj)
Set ∂L/∂ni=0:
μi=j∑λjaijWhy this step? This is the master equilibrium condition: at equilibrium every species' chemical potential equals a weighted sum of "elemental potentials" λj. Equivalently, for any reaction ∑νi(species)=0, this forces ∑iνiμi=0 — exactly the law of mass action (Kp relations) for every reaction at once. CEA solves these coupled equations numerically (Newton iteration on the λj and ni).
Step 1 — Energy → velocity. Steady adiabatic flow conserves stagnation enthalpy:
hc=he+21ve2⇒ve=2(hc−he)Why this step? Enthalpy "stored" in the hot chamber gas becomes exhaust kinetic energy.
Step 2 — Define specific impulse. With mass flow m˙ and (matched-pressure) thrust F=m˙ve:
Isp=g0ve(seconds),g0=9.81m/s2Why this step?Isp is thrust per unit weight flow rate. Units of seconds make it independent of the engine size — a clean efficiency figure.
Recall What quantity does CEA minimize, and subject to what constraint?
Minimizes total Gibbs free energyG=∑niμi, subject to conservation of each chemical element (∑iaijni=bj).
Recall Why does peak
Isp occur fuel-rich, not at stoichiometric?
Because Isp∝Tc/M. Fuel-rich lowers exhaust molar mass M (leftover H2) more than it lowers Tc, so the ratio peaks rich.
Recall What is the difference between CEA "equilibrium" and "frozen" nozzle modes?
Equilibrium: composition re-solves as gas cools, recombination releases heat → higher Isp. Frozen: composition fixed → lower Isp. Real engines lie between.
Recall Why does including dissociation
lower predicted Tc?
Dissociation reactions are endothermic; they soak up combustion heat, so the equilibrium flame temperature is lower than the "complete combustion" estimate.
Recall Derive the exit velocity used for
Isp.
From adiabatic flow hc=he+21ve2, so ve=2(hc−he) and Isp=ve/g0.
Recall (Feynman, explain to a 12-year-old)
Imagine throwing a bunch of LEGO bricks (atoms) into a super-hot blender (the rocket chamber). The bricks snap together into different little toys (molecules), and at that crazy heat they keep snapping apart and back together until the mix settles into the "laziest," lowest-energy arrangement. CEA is a smart calculator that figures out exactly which toys you end up with, how hot the blender gets, and how fast the hot gas shoots out the back — which tells you how good your rocket is. The trick: you can never lose or gain LEGO bricks, only rearrange them.
Dekho, jab rocket chamber mein fuel aur oxidizer jalte hain (jaise H2 aur O2), to itni zyada garmi par sirf saaf-suthre CO2 aur H2O nahi bante. Itne high temperature (3000+ K) par molecules tut-tut ke OH, H, O, CO jaise tukde bhi ban jaate hain — ek poora "soup" ban jaata hai. Yeh sab ek saath chemical equilibrium mein hote hain. Inko haath se nikalna matlab dozen-bhar coupled equations solve karna. NASA-CEA exactly yahi kaam karta hai: woh Gibbs free energy ko minimum karta hai, is condition ke saath ki har element ke atoms conserve rahein (atom na bante hain na khatam hote). Iska output: chamber temperature Tc, kaun-kaun se products bane aur kitne, aur sabse important — specific impulse Isp.