Metadata-Version: 2.5
Name: thermofluids
Version: 2.0.0
Summary: Physically-consistent thermal and fluids modeling tools
Project-URL: Homepage, https://gitlab.com/ericksonla/thermofluids
Author: Luke Erickson, Russell Goldfarbmuren
Author-email: russell@rebound-tech.com
License-Expression: MIT
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >3.11
Requires-Dist: coolprop
Requires-Dist: pint
Description-Content-Type: text/markdown

# Thermofluids

Thermofluids makes modeling thermofluid systems easier. The essential element is the `statepoint`. `statepoint` objects work like physical statepoints: they have two independent variables, many dependent variables, and sometimes extensive variables. You can use them like this:
````python
sp = Statepoint(fluid='water',  # define a fluid
                t=25.0,         # define one independent variable
                p=1.0,          # define a second independent variable
                m=0.1)          # define extensive varible

sp.rho, sp.h, sp.visc
# (<Quantity(997.047039, 'kilogram / meter ** 3')>, <Quantity(104.918893, 'kilojoule / kilogram')>, <Quantity(0.000890022674, 'kilogram / meter / second')>)
````

A set of functions are made available to analyze statepoint systems in physically meaningful ways.