| name | openfoam-analysis |
| description | 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.
|
| type | reference |
| version | 1.0.0 |
| updated | "2026-03-16T00:00:00.000Z" |
| category | engineering/cfd |
| triggers | ["cfd analysis","openfoam analysis","run cfd","cfd calculation","flow simulation","drag calculation","wave loading cfd","openfoam run"] |
| tags | ["openfoam","cfd","analysis","workflow","calculation","marine","drag","vof","convergence"] |
| platforms | ["linux"] |
| depends_on | ["openfoam","gmsh-meshing","calculation-methodology","calculation-report"] |
| capabilities | ["analysis_execution","convergence_monitoring","post_processing","calculation_report_generation"] |
| requires | ["OpenFOAM v2312"] |
| see_also | ["openfoam","gmsh-meshing","freecad-automation","calculation-report"] |
OpenFOAM Analysis Workflow
Run CFD analyses end-to-end: define → mesh → solve → validate → report.
Reference skill (openfoam) has dict syntax; this skill has the workflow.
Quick Start
cp references/analysis-templates/current-drag.yaml my-analysis.yaml
bash scripts/openfoam-analysis/run-analysis.sh my-analysis.yaml
uv run --no-project python scripts/openfoam-analysis/generate-calc-yaml.py my-analysis.yaml
uv run --no-project python scripts/reporting/generate-calc-report.py my-analysis-calc.yaml
Workflow Stages
This skill maps to the calculation-methodology 6-phase structure:
| Stage | Calc-Methodology Phase | Micro-skill | Key Output |
|---|
| 1 | Phase 1: Problem Definition | stage-01-problem-definition.md | Analysis YAML with scope, objective, acceptance criteria |
| 2 | Phase 2-3: Inputs + Method | stage-02-case-setup.md | OpenFOAM case directory with all dicts |
| 3 | — (CFD-specific) | stage-03-meshing.md | Validated mesh (checkMesh PASS) |
| 4 | Phase 4: Computation | stage-04-execution.md | Converged solution + logs |
| 5 | Phase 5: Validation | stage-05-post-processing.md | Extracted results + validation checks |
| 6 | Phase 6: Reporting | stage-06-reporting.md | calculation-report YAML → HTML |
Analysis Templates
Pre-configured templates in references/analysis-templates/:
| Template | Solver | Physics | Marine Use Case |
|---|
current-drag.yaml | simpleFoam |