Install
openclaw skills install openfoam-skillsGenerate, review, debug, and recover OpenFOAM case files for CFD workflows. Use when working with OpenFOAM dictionaries, case structure, turbulence fields, boundary conditions, decomposition, numerics, or OpenFOAM runtime errors.
openclaw skills install openfoam-skillsFollow a progressive loading workflow.
references/case-setup.md before creating or editing any OpenFOAM case.references/solver-selection.md when selecting a solver family or pressure convention.references/boundary-condition-playbook.md when mapping physical boundaries to field files.references/turbulence-bc-recipes.md when selecting turbulence models, wall treatment, or near-wall fields.references/turbulence-and-numerics.md when choosing schemes, algorithm controls, turbulence models, or decomposition.references/case-recipes.md when assembling a canonical internal-flow, external-aero, or free-surface case.references/function-object-recipes.md when instrumenting a case with forces, probes, or solver diagnostics.references/validation-parallel-and-observability.md when validating, instrumenting, or post-processing a case.references/cluster-execution-playbook.md when staging an OpenFOAM case for scheduler-backed cluster execution.references/error-recovery.md when a log contains crashes, divergence, or bounded-field warnings.0/, constant/, and system/. Do not edit one layer in isolation if it changes the required fields elsewhere.simpleFoam: steady incompressible RANS; expect U, p, and turbulence fields if RAS.pimpleFoam: transient incompressible; review timestep control and outer correctors.interFoam: multiphase; control both maxCo and maxAlphaCo.blockMesh or the mesh generatorcheckMeshnumberOfSubdomains match the intended MPI rank countscotch for complex geometries unless the user requests a manual layoutcheckMesh warnings as optional if the log is already diverging.Load these on demand:
references/mesh-and-blockmeshdict-manual.md for mesh generation, vertex ordering, and mesh-quality workflowreferences/heat-transfer-and-compressible-cases.md for thermophysical, buoyant, and compressible setupsreferences/fvsolution-and-residual-control.md for algorithm loops, solver blocks, and case termination logicreferences/field-and-dictionary-matrix.md for solver-to-field and file-to-parameter matricesreferences/cluster-execution-playbook.md for decomposition, solver launch, reconstruction, and restart sequencing on clustersUse assets/templates/ when a concrete case skeleton is needed, especially:
simplefoam-minimal/ for a minimal steady incompressible caseinterfoam-minimal/ for a minimal two-phase transient caseopenfoam-parallel-slurm.sh for a minimal scheduled parallel run scaffoldProduce a short case summary that states: