Python is a general purpose, high level, object-oriented programming language. It comes “battery included”, meaning you can easily find libraries for virtually anything.
numenGo is proud to open thermofluids perspectives to python users, thanks to its API.
All C++ methods can be called from python, but the classes were extended in order to make them more “pythonic”.
It is architectured by packages :
- interp : the module for interpolations
- geo : module with geometry utilities
- obj : the base objects used by numenGo components
- objxml : XML representation of numenGo base objects
- mps : the API for the media property server, to perform physical properties computation
- mps1 : single phase property collection
- mps2 : pure fluid two-phase property collection
- ffc : the API for fluid flow and heat transfer computations
- sim : base objects needed for simulation objects
- fl : base models for fluid library
- fluid : simulation submodels
It can be used for computing fluid properties, sizing a system, or make sensitivity analysis. User can easily create packages for his own redudant calculation.
Most results are given as “quantities”, meaning the result is given with its unit. User can perform operations between consistent quantities, and unit conversion is automatically handled.
numenGo’s libraries provide many features which can be really useful in a scripting environment : media database access, elements periodic table, unit conversion and quantity operations, geometry utilities…