🌡️ SEUIF97 WASM Demo

High-speed IAPWS-IF97 water/steam properties calculation running directly in your browser via WebAssembly

🔧 WASM Loading Status

Loading WebAssembly module...

📊 Calculate Properties (p, t → h, s, v)

Input: Pressure p (MPa) and Temperature t (°C)

🔄 Backward Equations

Example: Given enthalpy and entropy, find pressure and temperature

📋 Property ID Reference

PropertyIDUnit
Pressure0MPa
Temperature1°C
Density2kg/m³
Specific Volume3m³/kg
Specific Enthalpy4kJ/kg
Specific Entropy5kJ/(kg·K)
Speed of Sound10m/s
Dynamic Viscosity24Pa·s

📖 Usage Instructions

  1. Build WASM: Run wasm-pack build --release --features wasm --target web in the project root
  2. Serve: Open this HTML file via a local server (e.g., python -m http.server 8080)
  3. Use: The WASM module loads automatically and provides IF97 calculations
Note: Due to CORS restrictions, WASM files must be served via HTTP, not opened directly from filesystem.