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

Calculator : Heat Sink & Fin Array Calculator
Category   : Conduction

Files Included:
  - heat_sink_calculator.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 heat_sink_calculator.f90 -o heat_sink_calc

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

  heat_sink_calc < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Heat sink type (1=Plate fin, 2=Pin fin)
Base width W [mm]
Base depth D [mm]
Base thickness t_base [mm]
Number of fins N_fins
Fin height H_fin [mm]
Fin thickness/diameter t_fin [mm]
Spacing s_fin [mm] (dummy)
Material (1=Aluminum, 2=Copper, 3=Custom)
Custom thermal conductivity k [W/m-K]
Flow mode (1=Forced, 2=Natural)
Inlet velocity v_in [m/s]
Input power Q [W]
Ambient temperature T_amb [Â°C]
Custom h flag (0=Auto, 1=Manual)
Manual convection coefficient h [W/m2-K]

Website : https://thermofluidcalc.com
