nx_steam.nx
buildroot/runtime/nx_steam.nx
about
nx_steam.nx -- FOOD-SCIENCE SUITE / STEAM & THERMODYNAMICS rung. The
physics of steam that runs retorts, blanchers, evaporators, and driers:
the saturated-steam pressure/temperature table, latent heat of
vaporization, and the sensible + latent energy of a process.
Data-driven (steam tables ARE tabulated data -> integer-exact, no float):
temperature in C, pressure in kPa (absolute), latent heat hfg in kJ/kg,
energy in joules, specific heat x1000 (water cp = 4.186 J/g.K -> 4186).
THE exceed: a retort chart gives a fixed time; this gives the SATURATION
pressure a retort temperature demands, the latent heat a condensing-steam
process delivers, and the total energy to bring + boil a mass -- the
thermodynamics a process engineer actually sizes on.
grounded: iapws_saturated_steam_tables + latent_heat_of_vaporization
+ retort_saturated_steam_121C_15psig
genealogy_id: steam_thermodynamics + nishi_food_science_suite
dependencies 1 imports · 1 importers
imports: nx_syscalls.nx
imported by: nx_steam_test.nx
structs
| none |
consts
| 20 | const ST_MAGIC_2407: i64 = 2407 |
| 21 | const ST_MAGIC_2358: i64 = 2358 |
| 22 | const ST_MAGIC_2308: i64 = 2308 |
| 23 | const ST_MAGIC_2257: i64 = 2257 |
| 24 | const ST_MAGIC_2230: i64 = 2230 |
| 25 | const ST_MAGIC_2216: i64 = 2216 |
| 26 | const ST_MAGIC_2200: i64 = 2200 |
| 28 | const ST_CP_WATER_X1000: i64 = 4186 // J/g.K x1000 |
| 29 | const ST_ATM_KPA: i64 = 101 // 1 atm (for gauge pressure) |
functions
| 33 | func st_sat_pressure_kpa(temp_c: i64) -> i64 |
| 45 | func st_latent_heat_kjkg(temp_c: i64) -> i64 |
| 59 | func st_sensible_heat_j(mass_g: i64, cp_x1000: i64, delta_t: i64) -> i64 |
| 65 | func st_latent_energy_j(mass_g: i64, hfg_kjkg: i64) -> i64 |
| 70 | func st_energy_to_boil_j(mass_g: i64, start_c: i64) -> i64 |
| 78 | func st_condensation_energy_j(mass_steam_g: i64, temp_c: i64) -> i64 |
| 86 | func st_retort_gauge_kpa(temp_c: i64) -> i64 |