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

Calculator : Liquid-Liquid Extraction Solver
Category   : Masstransfer

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

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

  liquid_liquid_extraction < input.txt

-------------------------------------------------------------------------
3. Input Parameter Sequence
-------------------------------------------------------------------------
Extraction configuration (1=Single-stage, 2=Crosscurrent, 3=Countercurrent)
Feed flow F
Feed solute fraction xF
Solvent flow S
Solvent solute fraction yS
Distribution coefficient KD
Number of stages N
Target recovery [%]

Website : https://thermofluidcalc.com
