pyCALC-RANS

pyCALC-RANS is a 2D finite volume code. It is fully vectorized (i.e. no for loops). The solution procedure is based on the pressure-correction method (SIMPLEC). Two metnods for dicretizing the convection terms are available, second-order central differencing and a hybrid scheme of first-order upwind and second-order central differencing. The discretized equations are solved with Pythons sparse matrix solvers. The standard k-omega model is implented.
  • Download the code here (19 MB)
  • Download the pyCALC-RANS report. In Section 7.3 you find instructions on how to run the code.








Department of Mechanics and Maritime Sciences
Division of Fluid Dynamice