Skip to main content

Thermodynamics operators

17 operators in the thermodynamics category of the live registry. Each is a named formula you can compose inside a state contract or call directly through POST /api/zeq/compute. KO42 is always on; add up to three more per call (total ≤ 4), per the 7-step protocol.

OperatorDescriptionEquation
FEP0Helmholtz free energy from the partition function: F = -k_BT ln Z.∫(∂log f/∂θ)² f dx
RTEO9Heat equation with volumetric source term governing temperature evolution by diffusion.\frac{\partial T}{\partial t} = \alpha\nabla^2 T + \frac{q}{\rho c_p}
TH1First law of thermodynamics: internal energy change equals heat added minus work done.\Delta U = Q - W
TH10Thermal pressure coefficient relating pressure change to temperature change at constant volume.\left(\frac{\partial P}{\partial T}\right)_V = \frac{\alpha}{\kappa_T}
TH11Enthalpy defined as internal energy plus pressure-volume product.H = U + PV
TH12Chemical potential: partial derivative of Gibbs free energy with respect to particle number.\mu = \left(\frac{\partial G}{\partial N}\right)_{T,P}
TH13Fundamental thermodynamic relation combining first and second laws with chemical work.dU = TdS - PdV + \mu dN
TH14Heat capacity at constant volume as the partial derivative of internal energy with respect to temperature.C_V = \left(\frac{\partial U}{\partial T}\right)_V
TH15Thermal conductivity defined through Fourier's law of heat conduction.\kappa = \frac{dQ/dt}{A \cdot dT/dx}
TH2Ideal gas law relating pressure, volume, amount, and temperature of an ideal gas.PV = nRT
TH3Second law of thermodynamics: entropy of an isolated system never decreases.\Delta S \geq \frac{Q}{T}
TH4Carnot efficiency: maximum possible efficiency of a heat engine between two temperatures.\eta = 1 - \frac{T_C}{T_H}
TH5Boltzmann entropy: S = k_B ln(Omega), connecting thermodynamic entropy to microstates.S = k_B \ln \Omega
TH6Helmholtz free energy: thermodynamic potential for systems at constant temperature and volume.F = U - TS
TH7Gibbs free energy: thermodynamic potential for systems at constant temperature and pressure.G = H - TS
TH8Mayer relation: difference between heat capacities at constant pressure and constant volume.C_p - C_v = nR
TH9Adiabatic process law: pressure times volume to the gamma power is constant.PV^\gamma = \text{const}

Compute with one of these

curl -sS -X POST https://zeqsdk.com/api/zeq/compute \
-H "Authorization: Bearer $ZEQ_KEY" \
-H "Content-Type: application/json" \
-d '{"operators":["FEP0"],"inputs":{}}'

The response carries the bare physics value, its unit and uncertainty, the generated master equation, and a signed envelope you can verify on any node.

See also