openfoam
OpenFOAM AI Interface Skill — case setup, CLI execution, output parsing, failure diagnosis, validation
Best use case
openfoam is best used when you need a repeatable AI agent workflow instead of a one-off prompt.
OpenFOAM AI Interface Skill — case setup, CLI execution, output parsing, failure diagnosis, validation
Teams using openfoam should expect a more consistent output, faster repeated execution, less prompt rewriting.
When to use this skill
- You want a reusable workflow that can be run more than once with consistent structure.
When not to use this skill
- You only need a quick one-off answer and do not need a reusable workflow.
- You cannot install or maintain the underlying files, dependencies, or repository context.
Installation
Claude Code / Cursor / Codex
Manual Installation
- Download SKILL.md from GitHub
- Place it in
.claude/skills/openfoam/SKILL.mdinside your project - Restart your AI agent — it will auto-discover the skill
How openfoam Compares
| Feature / Agent | openfoam | Standard Approach |
|---|---|---|
| Platform Support | Not specified | Limited / Varies |
| Context Awareness | High | Baseline |
| Installation Complexity | Unknown | N/A |
Frequently Asked Questions
What does this skill do?
OpenFOAM AI Interface Skill — case setup, CLI execution, output parsing, failure diagnosis, validation
Where can I find the source code?
You can find the source code on GitHub using the link provided at the top of the page.
SKILL.md Source
# Openfoam ## When to Use This Skill Use this skill when you need to: - Set up an OpenFOAM CFD case from scratch (geometry, mesh, BCs, solver) - Generate valid system dictionaries (controlDict, fvSchemes, fvSolution) - Run solvers in serial or parallel (simpleFoam, pimpleFoam, interFoam) - Parse solver logs for residuals, convergence, and Courant numbers - Diagnose solver failures (FPE, divergence, mesh quality, BC mismatches) - Validate results against known benchmarks (cavity, pitzDaily, damBreak) - Convert results for visualization (foamToVTK for ParaView) ## Sub-Skills - [Installation](installation/SKILL.md) - [1.1 Case Directory Structure (+3)](11-case-directory-structure/SKILL.md) - [1.5 fvSolution (+3)](15-fvsolution/SKILL.md) - [1.9 blockMeshDict (+1)](19-blockmeshdict/SKILL.md) - [2.1 Environment Setup (+6)](21-environment-setup/SKILL.md) - [3.1 Solver Log Residual Format (+5)](31-solver-log-residual-format/SKILL.md) - [4.1 Error Message Format (+2)](41-error-message-format/SKILL.md) - [5.1 y+ Verification (+5)](51-y-verification/SKILL.md) - [6.1 Upstream: Gmsh to OpenFOAM (+3)](61-upstream-gmsh-to-openfoam/SKILL.md)
Related Skills
openfoam-analysis
End-to-end CFD analysis workflow using OpenFOAM — from problem definition through meshing, solving, and post-processing to calculation report generation. Integrates with calculation-methodology (6-phase structure) and calculation-report (YAML → HTML rendering). Use when performing CFD analyses, not just setting up cases.
comprehensive-learning
Single fire-and-forget command that runs the full session learning pipeline: insights → reflect → knowledge → improve → action-candidates → report. All machines run local Phases 1–9 against logs/orchestrator/ and commit derived state. dev-primary additionally runs Phase 10a (cross-machine compilation) and Phase 10 (report). Safe for cron scheduling. Use when session ends, nightly cron fires, or you want to harvest learnings from recent sessions. Replaces running 4 skills manually.
cc-best-practice-adoption
Use when onboarding new Codex features, reviewing external best-practice repos, or expanding the daily learning catalog. Covers: gap analysis against native CC capabilities, tips catalog expansion, daily-learning script, native .Codex/ structure (agents, commands, settings).
gmsh-openfoam-orcaflex-stub-mode-details
Sub-skill of gmsh-openfoam-orcaflex: Stub Mode Details.
gmsh-openfoam-orcaflex-real-mode-requirements
Sub-skill of gmsh-openfoam-orcaflex: Real Mode Requirements.
gmsh-openfoam-orcaflex-quick-invocation
Sub-skill of gmsh-openfoam-orcaflex: Quick Invocation.
gmsh-openfoam-orcaflex-gate-1-mesh-quality
Sub-skill of gmsh-openfoam-orcaflex: Gate 1 — Mesh Quality (+1).
gmsh-openfoam-orcaflex-file-map
Sub-skill of gmsh-openfoam-orcaflex: File Map.
gmsh-openfoam-orcaflex-error-propagation-map
Sub-skill of gmsh-openfoam-orcaflex: Error Propagation Map.
gmsh-openfoam-orcaflex-converter-1-gmsh-msh-openfoam-polymesh
Sub-skill of gmsh-openfoam-orcaflex: Converter 1: Gmsh .msh → OpenFOAM polyMesh (+1).
gmsh-openfoam-orcaflex-agent-usage-pattern
Sub-skill of gmsh-openfoam-orcaflex: Agent Usage Pattern.
gmsh-openfoam-orcaflex
Multi-physics simulation pipeline — Gmsh mesh generation → OpenFOAM CFD → OrcaFlex structural/mooring analysis. Agent-callable end-to-end workflow that passes geometry, fluid loads, and structural response through three solvers in sequence with validated handoffs at each step. Stub/mock fallbacks for environments without solver licenses.