Skip to content

willbribeiro/ThermoPy

Repository files navigation

ThermoPy

ThermoPy is a Python program designed to solve thermodynamics problems in the terminal. It offers a range of functionalities including calculations for saturation pressure, pressure, and molar volume based on various equations of state, fugacity coefficient, equilibrium liquid-vapor, and application in equipment such as turbines and compressors.

Installation

ThermoPy is a command-line tool written in Python. To use it, follow these steps:

  1. Clone the repository:
git clone https://github.com/willbribeiro/ThermoPy.git
  1. Navigate to the project directory:
cd ThermoPy
  1. Install the required dependencies:
pip install -r requirements.txt
  1. Run the main script:
python principal.py

Usage

Once the program is running, follow the on-screen prompts to input the necessary parameters and perform the desired thermodynamic calculations.

Features

ThermoPy provides the following key features:

  • Calculation of saturation pressure using Antoine and Lee-Kesler equations.
  • Pressure and molar volume calculations based on equations of state:
    • Ideal gas equation
    • Virial coefficient equation
    • Van der Waals equation
    • Redlich-Kwong equation
    • Soave-Redlich-Kwong equation
    • Peng-Robinson equation
  • Fugacity coefficient calculations.
  • Equilibrium liquid-vapor calculations.
  • Application in equipment such as turbines and compressors.

License

ThermoPy is licensed under the GNU General Public License v3.0. See the LICENSE file for details. You are free to use, modify, and distribute the code for any purpose.

Contributions

Contributions are welcome! If you have any ideas for improvements, new features, or find any issues, please open an issue or submit a pull request on the GitHub repository.


Disclaimer: ThermoPy is provided as-is without any warranty. Use it at your own risk.

About

Project of chemical engineering thermodynamics software

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages