Example project, cases and tests for classy_blocks.
NOTE! This is an archived version that does not work with version 1 and newer. Please refer to readme and examples in the classy_blocks repository.
- Prerequisites
- OpenFOAM (just about any version)
- python3
pip install git+https://github.com/damogranlabs/classy_blocks.git
- Run
run.py
- Open
case/case.foam
with ParaView to inspect the mesh.
These are some screenshots of parametric models, built with classy_blocks.
Rectangular ducts (Extrude and Revolve Operations)
3D pipes with twists and turns (Elbow and Cylinder Shapes)
A simple tank with rounded edges
A flywheel in a case. VTK Blocking output for debug is shown in the middle.
Coriolis flowmeter with meshed fluid (blue) and solid section (white), ready for an FSI simulation.
2D mesh for studying Karman Vortex Street
Helmholtz nozzle, a resonator with sharp edges. See this sketch.
A real-life square volute with a blunt cutwater:
Edges and faces, projected to an STL surface
Mesh for studying flow around a sphere, with projected edges and faces
A parametric, Low-Re mesh of a real-life impeller (not included in examples):