=========================================================================
  ThermoFluidCalc — Standalone Fortran Execution Guide
=========================================================================

Calculator : PCM Latent Heat Thermal Storage
Category   : Thermo

Files Included:
  - pcm_latent_thermal_energy_storage.f90 (Fortran 90/2008 Source Code)
  - input.txt (Pre-configured Sample Input)

-------------------------------------------------------------------------
1. How to Compile
-------------------------------------------------------------------------
Make sure you have GNU Fortran (gfortran) or Intel Fortran (ifort) installed.
Run the following compilation command in your terminal:

  gfortran -O3 pcm_latent_thermal_energy_storage.f90 -o pcm_latent_thermal_energy_storage

-------------------------------------------------------------------------
2. How to Execute
-------------------------------------------------------------------------
Run the compiled binary and pipe the input.txt file into stdin:

  pcm_latent_thermal_energy_storage < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
PCM Type (1=Paraffin, 2=Salt Hydrate, 3=Erythritol, 4=Nitrate Salt)\nPCM Mass [kg]\nHTF Charging Inlet Temp [°C]\nInitial Storage Temp [°C]\nHTF Mass Flow [kg/s]\nOverall Heat Transfer UA [W/K]

Website : https://thermofluidcalc.com
