hpc-openfoam

hpc-openfoam is a skill for Codex from SciMate-AI/HPC-Skills. It costs 90 tokens per session (1,394 once invoked), scanned A, original, MIT.

A guide for creating and troubleshooting OpenFOAM cases, which are computer simulations of fluid flow and related physical processes. It covers case files, solvers, turbulence, boundaries, numerics, parallel runs, and validation.

In plain words
What is it for?
Use it to prepare internal- or external-flow, multiphase, buoyant, RANS, or LES cases, choose solvers, set wall functions and mesh-related targets, add probes and force calculations, and run cases on clusters.
Why use it?
It helps translate a simulation goal into consistent case settings and diagnose unstable runs, bad boundary conditions, and runtime errors.

Skill for Codex

Written for Codex: agents/openai.yaml present.

Good fit Use it to prepare internal- or external-flow, multiphase, buoyant, RANS, or LES cases, choose solvers, set wall functions and mesh-related targets, add probes and force calculations, and run cases on clusters.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/scimate-ai/hpc-skills/hpc-openfoam
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add SciMate-AI/HPC-Skills --skill hpc-openfoam
Clone the repo
git clone --depth 1 https://github.com/SciMate-AI/HPC-Skills

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hpc-openfoam

README.md
[![agentmods](https://agentmods.dev/badge/skills/scimate-ai/hpc-skills/hpc-openfoam/github.svg)](https://agentmods.dev/skills/scimate-ai/hpc-skills/hpc-openfoam)
Your own site
<a href="https://agentmods.dev/skills/scimate-ai/hpc-skills/hpc-openfoam"><img src="https://agentmods.dev/badge/skills/scimate-ai/hpc-skills/hpc-openfoam/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hpc-openfoam

Your own site · 80×15
<a href="https://agentmods.dev/skills/scimate-ai/hpc-skills/hpc-openfoam"><img src="https://agentmods.dev/badge/skills/scimate-ai/hpc-skills/hpc-openfoam.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,394 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00090 $0.01394
Opus 5 $0.00045 $0.00697
Sonnet 5 $0.00018 $0.00279
Haiku 4.5 $0.00009 $0.00139

Measured 13d ago against content hash 1ca70b4e325e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

hpc-openfoam scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 13d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/templates/openfoam-parallel-slurm.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/hpc-openfoam/SKILL.md · 90 lines

How it starts

The opening of the file, as written. The whole thing — 90 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HPC OpenFOAM

Follow a progressive loading workflow.

Start

  1. Read references/case-setup.md before creating or editing any OpenFOAM case.
  2. Read references/solver-selection.md when selecting a solver family or pressure convention.
  3. Read references/boundary-condition-playbook.md for concrete BC syntax (fixedValue, inletOutlet, wall functions, etc.).
  4. Read references/turbulence-bc-recipes.md for turbulence model setup, inlet value estimation, and wall function selection with y+ guidance.
  5. Read references/numerics-and-schemes-guide.md for fvSchemes and fvSolution tuning with scheme selection tables.
  6. Read references/case-recipes.md for complete case configurations (internal flow, external aero, VOF, PIMPLE, buoyant).
  7. Read references/function-object-recipes.md for probes, forces, yPlus monitoring.
  8. Read references/validation-parallel-and-observability.md for validation, post-processing, and parallel execution.
  9. Read references/cluster-execution-playbook.md for scheduler-backed cluster execution.
  10. Read references/error-recovery.md for diagnostic commands, decision tree, and fix sequences.

Scenario Recipes

Load the relevant recipe when the task involves:

  • references/numerics-and-schemes-guide.md — fvSchemes convection/gradient/time schemes, fvSolution solver settings, relaxation factors, SIMPLE/PISO/PIMPLE algorithm controls, progressive scheme upgrade strategy
  • references/heat-transfer-and-compressible-cases.md — thermophysicalProperties (Boussinesq, ideal gas, Sutherland), buoyant solvers, conjugate heat transfer (chtMultiRegionFoam), solid properties, fluid-solid coupling BCs
  • references/multiphase-vof-recipes.md — interFoam setup, alpha transport, MULES settings, maxAlphaCo, phase initialization (setFields), VOF boundary conditions
  • references/mesh-quality-and-generation-guide.md — checkMesh thresholds and interpretation, blockMesh grading, snappyHexMesh workflow, y+ targeted layer meshing

Work Sequence

Read the full file on GitHub · 90 lines

Files

What ships with it

30 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 13d ago First seen · 90 lines · 90 tokens per session scan A 1ca70b4e325e

Subscribe to this mod's changes

hpc-openfoam is a skill published in the GitHub repository SciMate-AI/HPC-Skills (86 stars, last pushed 5mo ago), licensed MIT. It adds 90 tokens to every session and 1,394 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.