the open source parametric flow passage generator
ParaFlow is a declarative tool that parametrically generates turbomachinery flow passages with B-splines such as diffusers and nozzles. The purpose is to generate passages from different parameters during fluid simulation optimizations.
pip install git+https://github.com/OpenOrion/paraflow.git#egg=paraflow
Rocket Nozzle Passage
from paraflow import SymmetricPassage
import numpy as np
passage = SymmetricPassage(
inlet_radius=0.1,
area_ratio=3.0,
axial_length=1,
contour_props=[0.25, 0.25, 0.5, 0.75],
contour_angles=np.radians([-15.0, -5.0, 15.0, 15.0]).tolist()
)
passage.visualize("Bell Nozzle")
Rocket Nozzle Simulation Example simulation.ipynb
git clone https://github.com/OpenOrion/paraflow.git
cd paraflow
pip install -r requirements_dev.txt