BASIC PROGRAMS, EXECUTABLE MODULES and DATA FILES

This area contains the BASIC programs discussed in the third edition of Chemical and Engineering Thermodynamics by S.I. Sandler. These programs are copyrighted. You may not distribute them to others.


bulletHome


square gray bullet Basic


bulletVisual Basic


bulletMathcad


bulletUtilities
separator
      bulletPR1       bulletVLMU       bulletUNIFAC       bulletCHEMEQ

All of these programs must be run in DOS or in a DOS window in WINDOWS.

Documentation files (.txt) should be read before using a program.
Program files (.bas.bin) can be read into a BASIC interpreter or compiler to study the programming methods used, and, if desired, to make changes in the code (for example, to change the equation of state) before running the program. Alternatively, the program files may be read into a word processor in order to study the coding and structure of the programs. However, remember that programs changed in a word processing program can not be recompiled. When downloading these files, make sure to save them with a .bas extension.
Executable modules (.exe) can be downloaded and run directly.
Data files (.dat or .dta) contain data. The .dat files are example data files and may be changed. .dat files may be viewed or edited with a word processing program but should then be saved in ASCII (txt) format. The .dta files, on the other hand, contain data used by the programs and should NOT be changed.


PR1

 

PR1.txt

Documentation file for PR1. Read this before using PR1.

 

PR1.bas.bin

Program file: BASIC language pure component Peng-Robinson equation-of-state program. Save this program file as pr1.bas. To run pr1.bas, load into a BASIC compiler.

 

PR1.exe

Executable module: stand-alone runtime module for the program PR1. This program will run without a BASIC compiler.

 

OXY.dat

Data file with example input for PR1. It contains data for oxygen. This file is in ASCII format. It may be changed, but must be saved in ASCII (txt) format.

 

PRZ.zip

ZIP-compressed file containing the entire PR1 package. Download ALL OF THE ABOVE PR1 FILES here with one mouse click.

 

VLMU

 

VLMU.txt

Documentation file for VLMU. Read this before using VLMU.

 

VLMU.bas.bin

Program file: BASIC language Peng-Robinson equation-of-state program that does thermodynamic properties, flash, and other VLE calculations for multicomponent mixtures. Save this program file as vlmu.bas.

 

VLMU.exe

Executable module: stand-alone runtime module for the program VLMU. This program will run without a BASIC compiler.

 

CO2&NC4.dat

Data file with example input for VLMU. It contains data for the binary mixture of carbon dioxide and n-butane. This file is in ASCII format. It may be changed, but must be saved in ASCII (txt) format.

 

VLMU.zip

ZIP-compressed file containing the entire VLMU package. Download ALL OF THE ABOVE VLMU FILES here with one mouse click.

 

UNIFAC

 

UNIFAC.txt

Documentation file for UNIFAC. Read this before using UNIFAC.

 

UNIFAC.bas.bin

Program file: BASIC language UNIFAC program for calculation of activity coefficients and binary low pressure VLE. This program requires that the two data files below be in the same directory. Save this program file as unifac.bas.

 

UNIFAC.exe

Executable module: stand-alone runtime module for the program UNIFAC. This program will run without a BASIC compiler.

 

UFNRQM.dta

Data file for UNIFAC. It contains group numbers, r and q parameters, and molecular weights (which are not used). This file and the following one must be in the same directory as the UNIFAC program. This data file should NOT be changed.

 

UFA44.dta

Data file with example input for UNIFAC. It contains group-group interaction parameters. This file must be in the same directory as the UNIFAC program. This data file should NOT be changed.

 

UNIFAC.zip

ZIP-compressed file containing the entire UNIFAC package. Download ALL OF THE ABOVE UNIFAC FILES here with one mouse click.

 

CHEMEQ

 

CHEMEQ.txt

Documentation file for CHEMEQ. Read this before using CHEMEQ.

 

CHEMEQ.bas.bin

Program file: BASIC language program for the calculation of the standard state heat and free energy of reaction and the chemical equilibrium constant as a function of temperature. This program requires that the data file react.dta be in the same directory. Save this program file as chemeq.bas.

 

CHEMEQ.exe

Executable module: stand-alone runtime module for the program CHEMEQ. This program will run without a BASIC compiler.

 

REACT.dta

Data file for CHEMEQ. It contains species names, standard state free energies and heats of formation, and constants for the heat capacity equation. This file must be in the same directory as the CHEMEQ program. This data file should NOT be changed.

 

CHEMEQ.zip

ZIP-compressed file containing the entire CHEMEQ package. Download ALL OF THE ABOVE CHEMEQ FILES here with one mouse click.

 

Home   |   Basic   |   Visual Basic   |   Mathcad   |   Utilities