Interactive Streamlit app for designing sensor layouts on blade geometries.
This project uses uv for dependency management. If you don't have uv installed:
curl -LsSf https://astral.sh/uv/install.sh | shThen sync the project dependencies:
uv syncStart the Streamlit app with:
uv run streamlit run app.pyThe app will open in your default web browser at http://localhost:8501.
- Upload a blade geometry file (.dat or .txt) using the sidebar
- Configure the wing dimensions (chord length in meters)
- Set up sensor patches:
- Number of patches
- Position along the chord (0.0 to 1.0)
- Surface side (pressure or suction)
- Reference sensor index (0-23)
- Click "Generate Layout" to visualize the sensor arrangement
- Download the resulting image if needed
The blade geometry file should contain airfoil coordinates in a standard format (x,y pairs representing the airfoil shape).