Blog | Tools | Glossary | Search

Share:   |  feedback   |  Join us  

Python libraries: Two-phase flow and CoolProp

From petrofaq
Jump to navigation Jump to search

About the Author

More By Olyher

Crain's Petrophysical Handbook
1 vote, 0 comments
Volume at standard and reservoir conditions
1 vote, 0 comments
Absolute and gauge pressure
1 vote, 0 comments

Two-phase flow

The two-phase flow is a Python library that implements two-phase flows models and make easy to get the flow properties such as flow pattern, elongated bubble velocity, homogenous model properties etc. This library is structured in a way that the user can program using a simple and easy-to-use objects or in a more advanced manner can use the functions of the library directly.
The fluid properties are by default automatically obtained from the CoolProp. However, you can also pass your own functions, determined experimentally or from any source you want.
The library has also some basic plot utils for some flow pattern maps.


CoolProp is a thermophysical property database and wrappers for a selection of programming environments. It offers similar functionality to REFPROP, but CoolProp is open-source and free.

Add your comment
petrofaq welcomes all comments. If you do not want to be anonymous, register or log in. It is free.