Skip to content

the open source parametric flow passage generator

License

Notifications You must be signed in to change notification settings

OpenOrion/paraflow

Repository files navigation

drawing

the open source parametric flow passage generator

chat on Discord donate to Patreon

About

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.

Install

pip install git+https://github.com/OpenOrion/paraflow.git#egg=paraflow

Example

Passage

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")

Passage

Simulation

Rocket Nozzle Simulation Example simulation.ipynb Passage

Devlopement Setup

git clone https://github.com/OpenOrion/paraflow.git
cd paraflow
pip install -r requirements_dev.txt

About

the open source parametric flow passage generator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published