
Kernelcad cfd
Runs OpenFOAM CFD on kernelCAD parts for pressure drop, flow split and drag
Kernelcad cfd is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 37
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Kernelcad cfd
This skill lets an agent set up a steady incompressible flow study on a kernelCAD model, either by declaring it in the model with a cfdStudy call or by passing the same inputs when running. The study covers internal flows through channels, manifolds and pipes, and external flows around a body in a stream. The agent then runs the solver and reads back pressure drop, per-outlet flow with a mass balance, drag and lift coefficients, maximum velocity, Reynolds number and turbulence model.
The workflow checks convergence before trusting results. A run counts as converged only when residuals meet the target or when the key monitors stay within a narrow band over the final iterations. Unconverged runs report a mean and error band instead of a clean answer. The skill also reports checkMesh quality, a residual history and a mid-plane velocity image, and it caches finished runs so a repeated call returns the stored result.
It expects the kernelCAD toolchain and an OpenFOAM installation, either a local wrapper or a locally available Docker image, since OpenFOAM is not bundled. Inputs are fluid choice (water, air or custom density and viscosity), inlet and outlet face selectors, and a velocity or flow rate. The output is an engineering estimate rather than a certified analysis.
When your agent uses it
Answer "how much pressure does this duct, pipe or manifold cost, how does the flow split, and how much drag does this part see?" with OpenFOAM evidence — declare a steady incompressible flow study with shape.cfdStudy({ flow, fluid, inlet, outlet, velocity | flowRateLpm }) or pass it on the call, then run it with run_cfd (or `kernelcad cfd run`) for pressure drop, per-outlet flow and mass balance, drag / lift with Cd / Cl, max velocity, the Reynolds number and turbulence model, a residual history with a convergence verdict, checkMesh quality and a mid-plane velocity PNG. Use when sizing a coolant manifold, air duct, nozzle or pipe run, or when a part sits in a stream.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 1 file (6 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
Copy the skill folder to ~/.claude/skills/kernelcad-cfd to use it in all your projects:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/kernelcad-cfd &&
cp -R "$tmp/src/agent/skills/kernelcad-cfd" ~/.claude/skills/kernelcad-cfd &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/kernelcad-cfd inside it instead.
Copy the skill folder to ~/.agents/skills/kernelcad-cfd to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/kernelcad-cfd &&
cp -R "$tmp/src/agent/skills/kernelcad-cfd" ~/.agents/skills/kernelcad-cfd &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/kernelcad-cfd inside it instead.
Copy the skill folder to ~/.cursor/skills/kernelcad-cfd to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/kernelcad-cfd &&
cp -R "$tmp/src/agent/skills/kernelcad-cfd" ~/.cursor/skills/kernelcad-cfd &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/kernelcad-cfd inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/w1ne/kernelCAD-web.git --path src/agent/skills/kernelcad-cfdOr copy the folder to ~/.gemini/skills/kernelcad-cfd yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/kernelcad-cfd:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/kernelcad-cfd &&
cp -R "$tmp/src/agent/skills/kernelcad-cfd" ~/.copilot/skills/kernelcad-cfd &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/kernelcad-cfd inside it instead.
Get the folder:
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.gitThen copy kernelCAD-web/src/agent/skills/kernelcad-cfd into your agent's skills folder as kernelcad-cfd. Agents that support SKILL.md read one folder per skill.
What it does
- Declarative flow studies
- Define a steady incompressible study on a model with fluid, inlet, outlet and velocity or flow rate settings.
- Pressure drop and flow split
- Reports pressure drop and the flow delivered to each outlet with a mass balance check.
- External drag and lift
- Estimates drag and lift coefficients for a body placed in a moving fluid stream.
- Convergence verdict
- Judges whether the solve converged and reports an error band when it only plateaus.
- Mesh quality checks
- Runs checkMesh and reports cell count and quality status for each case.
- Velocity visualisation
- Produces a mid-plane velocity image and optionally VTK output for ParaView.
Good for
- Estimate the pressure drop across a coolant manifold
- Check how evenly flow splits between two outlets
- Find the drag on a part sitting in an air stream
- Size a pipe run for a given flow rate
- Check whether a nozzle or duct design gives acceptable max velocity
Kernelcad cfd FAQ
What does Kernelcad cfd need to run?
It needs OpenFOAM, either a configured wrapper, the simpleFoam command on the PATH, or a local Docker image. OpenFOAM is not bundled with the skill.
Which fluids can be modelled?
Water and air are built in, and a custom fluid can be given by density and kinematic viscosity in SI units.
When does Kernelcad cfd pick a turbulence model?
With the default auto setting it uses laminar flow below a Reynolds number of about 2300 for internal flows or 1000 for external flows, and k-omega SST above that.
Does a result always mean the solve succeeded?
No. The ok flag is true only when the solve converged. Otherwise the output reports a mean and error band and an explicit not-converged error.
How do I install Kernelcad cfd in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/kernelcad-cfd to use it in all your projects, or to .claude/skills/kernelcad-cfd in one project.
Does Kernelcad cfd run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Kernelcad cfd?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Kernelcad cfd?
The closest alternatives to Kernelcad cfd are Kernelcad fea, Kernelcad fields, Kernelcad design loop, Kernelcad authoring and Kernelcad kinematic.
Where this comes from
- Description: from the skill's own SKILL.md.
More from w1ne/kernelCAD-web

Compares bounded kernelCAD design variants on one evidence basis with a review gate
- Open source
- 37 GitHub stars
- Developer tools

Finds and runs kernelCAD cookbook recipes for common industrial CAD parts via MCP
- Open source
- 37 GitHub stars
- Developer tools

Builds and revises CAD parts through a hosted kernelCAD MCP server until checks pass
- Open source
- 37 GitHub stars
- Developer tools

Exports kernelCAD models to STEP, STL, 3MF, PLY, USD and more, with checks
- Open source
- 37 GitHub stars
- Developer tools

Lets an agent show a kernelCAD model in Studio and act on painted review marks
- Open source
- 37 GitHub stars
- Design and media

Gates a kernelCAD revision for fabrication with state-labelled, revision-bound evidence
- Open source
- 37 GitHub stars
- Developer tools

