What problem does it solve?
This Skill removes the manual, error-prone overhead of setting up, running, and analyzing OpenFOAM CFD cases by automating the workflow with Python-based tooling and programmatic post-processing.
Core Features & Use Cases
- Case setup automation: Generate and edit core OpenFOAM dictionaries (e.g.,
0/, constant/, system/) from Python so you can rapidly start new simulations.
- Solver execution & monitoring: Launch solvers (e.g.,
simpleFoam, pisoFoam, interFoam) and parse solver logs to track convergence residuals.
- Headless post-processing & exports: Convert results for visualization, compute derived fields (like velocity magnitude), render plots off-screen, and export analysis-ready outputs (images/CSV/VTK).
- Parameter sweeps: Run batches of simulations by varying parameters (e.g., viscosity) and aggregate metrics into tabular results for comparison.
Quick Start
Use the openfoam-cfd skill to run an OpenFOAM cavity case, parse residuals during icoFoam, and generate a velocity-magnitude rendering using pyvista and vtk.