openfoam-cfd
Installation
SKILL.md
OpenFOAM CFD Simulation Skill
Automate the full OpenFOAM computational fluid dynamics (CFD) workflow — from case setup and mesh generation through solver execution to post-processing and visualization — using PyFoam, pyvista, and vtk.
When to Use This Skill
Use this skill when you need to:
- Set up and run OpenFOAM cases programmatically (incompressible, multiphase, or turbulent flows).
- Generate or modify blockMesh / snappyHexMesh dictionaries via Python.
- Launch solvers (simpleFoam, interFoam, pisoFoam, etc.) and monitor convergence residuals in real time.
- Post-process OpenFOAM results (velocity, pressure, vorticity) without opening the ParaView GUI.
- Export simulation data to CSV, VTK, or image formats for reporting.
- Automate parameter sweeps or sensitivity studies over multiple OpenFOAM runs.