code wiki / (root) / nx_steam.nx

nx_steam.nx

buildroot/runtime/nx_steam.nx

3643 B90 linesdepth 2pulls 2 transitivereach 1 importersview sourcekind librarytopic steam
docsdependenciesstructsconstsfunctions

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

nx_syscalls.nx nx_steam.nx nx_steam_test.nx

imports: nx_syscalls.nx

imported by: nx_steam_test.nx

structs

none

consts

20const ST_MAGIC_2407: i64 = 2407
21const ST_MAGIC_2358: i64 = 2358
22const ST_MAGIC_2308: i64 = 2308
23const ST_MAGIC_2257: i64 = 2257
24const ST_MAGIC_2230: i64 = 2230
25const ST_MAGIC_2216: i64 = 2216
26const ST_MAGIC_2200: i64 = 2200
28const ST_CP_WATER_X1000: i64 = 4186 // J/g.K x1000
29const ST_ATM_KPA: i64 = 101 // 1 atm (for gauge pressure)

functions

33func st_sat_pressure_kpa(temp_c: i64) -> i64
45func st_latent_heat_kjkg(temp_c: i64) -> i64
59func st_sensible_heat_j(mass_g: i64, cp_x1000: i64, delta_t: i64) -> i64
65func st_latent_energy_j(mass_g: i64, hfg_kjkg: i64) -> i64
70func st_energy_to_boil_j(mass_g: i64, start_c: i64) -> i64
78func st_condensation_energy_j(mass_steam_g: i64, temp_c: i64) -> i64
called by 1: main calls 1: st_latent_heat_kjkg
86func st_retort_gauge_kpa(temp_c: i64) -> i64
called by 1: main calls 1: st_sat_pressure_kpa