# Kernelcad cfd

> Kernelcad cfd is an open-source agent skill for developer tools. Runs OpenFOAM CFD on kernelCAD parts for pressure drop, flow split and drag. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/w1ne/kernelCAD-web/tree/develop/src/agent/skills/kernelcad-cfd
- **Repository:** https://github.com/w1ne/kernelcad-web
- **GitHub stars:** 37
- **License:** MIT
- **Skill name:** kernelcad-cfd
- **Collection:** https://github.com/w1ne/kernelCAD-web
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-03

## About

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.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-cfd)
- [License: MIT](https://github.com/w1ne/kernelCAD-web/tree/HEAD/src/agent/skills/kernelcad-cfd)

## Features

- **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

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/kernelcad-cfd` to use it in all your projects:

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/kernelcad-cfd` to use it in every repository:

```sh
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.

### Cursor

Copy the skill folder to `~/.cursor/skills/kernelcad-cfd` to use it in every project:

```sh
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.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/w1ne/kernelCAD-web.git --path src/agent/skills/kernelcad-cfd
```

Or copy the folder to `~/.gemini/skills/kernelcad-cfd` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/kernelcad-cfd`:

```sh
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.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/w1ne/kernelCAD-web.git
```

Then 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.

## 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.

## Alternatives

- [Kernelcad fea](https://ai-powered.com/skills/kernelcad-fea): Kernelcad fea is an open-source agent skill for developer tools.
- [Kernelcad fields](https://ai-powered.com/skills/kernelcad-fields): Kernelcad fields is an open-source agent skill for developer tools.
- [Kernelcad design loop](https://ai-powered.com/skills/kernelcad-design-loop): Kernelcad design loop is an open-source agent skill for developer tools.
- [Kernelcad authoring](https://ai-powered.com/skills/kernelcad-authoring): Kernelcad authoring is an open-source agent skill for developer tools.
- [Kernelcad kinematic](https://ai-powered.com/skills/kernelcad-kinematic): Kernelcad kinematic is an open-source agent skill for developer tools.
- [Kernelcad features](https://ai-powered.com/skills/kernelcad-features): Kernelcad features is an open-source agent skill for developer tools.
- [Kernelcad from reference](https://ai-powered.com/skills/kernelcad-from-reference): Kernelcad from reference is an open-source agent skill for developer tools.
- [Kernelcad MCP](https://ai-powered.com/skills/kernelcad-mcp): Kernelcad MCP is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/kernelcad-cfd
