Skip to content

Latest commit

 

History

History
48 lines (36 loc) · 1.12 KB

README.md

File metadata and controls

48 lines (36 loc) · 1.12 KB

drawing

the open source parametric flow passage generator

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