Skip to content

murilovarela/vle-gamma-phi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gamma-phi vapor-liquid equilibrium (VLE) formulation

This is a package of fortran code to generate vapor-liquid equilibrium predicition points using the gamma-phi formulation. You can learn more about VLE calculation with this article.

Features

There are code to evaluate bulble and dew points fixing pressure or temperature.

  • BULB-P
  • DEW-P
  • BULB-T
  • DEW-T

Installation

Compiler

You may need to download a fortran compiler. I recommend gfotran.

$ sudo apt-get install gfortran

Running the code

$ git clone git@github.com:sergiomurilovarela/vle-gamma-phi.git
$ cd vle-gamma-phi
$ gfortran BULBP.f90 -o BULBP
$ ./BULBP

Then open the output.txt file generated in the root-pragram folder.