This is a collection of Python modules for routine CFD calculation but also as a sandbox for more complicated calculations.
- Colebrook-White friction factor check with single phase pipe
- Calculation of turbulence intensities for inlet BC specification
- Wheeler and PD moment inversion algorithms
- Method of classes method
Simple pressure drop calculation based on Colebrook-White. Tested with efunda calculator.
Also known as Modified Chebyshev algorithm (Gautschi 2004). Obtains a set of weights and abcissas from the set of moments.
Checks whether Hadamard matrices have non-negative determinants