Skip to content

Albert-Gil/LH2-STM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LH2-STM: Liquid Hydrogen Simplified Transfer Model

This repository contains a MATLAB-based simulation framework for modeling the thermodynamic and mass transfer behavior of liquid hydrogen (LH₂) refueling processes. It supports bottom-fill, top-fill, and pump-based transfer methods with detailed physics including venting, heat transfer, and condensation dynamics.

Features

  • Modular and extensible 0D simulation framework
  • Two-tank system (supply and receiver)
  • Models wall-fluid and interface heat transfer
  • Supports top-fill splash cooling and subcooled jet modeling
  • Integrates CoolProp (via Python) for accurate hydrogen properties
  • Results exportable to .txt/.xls format with automatic logging
  • Generates plots for pressure, temperature, mass flow, venting

Folder Structure

  • STM_Main.m: Main script to run simulations
  • STM_Parameters_*.m: Define parameter sets (Pump, Top-fill, etc.)
  • STM_Simulation_*.m: Simulation scripts for each configuration
  • STM_Plots.m: Visualization tool for key outputs
  • STM_Initialization.m: Initializes variables and vectors
  • SubcooledJet_ConvCoeff.m: Computes h for splash-cooling jets
  • VentFlow.m: Models venting flow rate

How to Run

  1. Set up parameters in one of the STM_Parameters_*.m files.
  2. Run STM_Main.m.
  3. View plots and results in the output folder.

Dependencies

  • MATLAB
  • CoolProp (accessed via Python integration)

Licensing

This project is licensed under the GPL-3.0 License.

Authors

  • Albert Gil, University of California, Irvine (PhD Research)

About

LH2 Simplified Transfer Model

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages