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.
ThermoPy is a command-line tool written in Python. To use it, follow these steps:
- Clone the repository:
git clone https://github.com/willbribeiro/ThermoPy.git
- Navigate to the project directory:
cd ThermoPy
- Install the required dependencies:
pip install -r requirements.txt
- Run the main script:
python principal.py
Once the program is running, follow the on-screen prompts to input the necessary parameters and perform the desired thermodynamic calculations.
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.
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 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.