Installation

Requirements

Both dependencies are installed automatically when you install CFDPre from PyPI.

Install from PyPI

pip install cfdpre

Install from source

git clone https://github.com/phsheth/cfdpre.git
cd cfdpre
pip install .

Verify the installation

import cfdpre
print(dir(cfdpre))
# [..., 'yhgrcalc']

from cfdpre import yhgrcalc
yhgrcalc("Air", 25, 1.01325, 0.5, 50, 1, 10)

If the call returns a dictionary of fluid properties and mesh-sizing values, you are ready to go. See the Quickstart next.