A PyFluent operating procedure for ANSYS Fluent on Windows, distilled from real production runs: startup handshake, setup order, session state-machine traps, time-step and Courant judgement, long runs with checkpoint and resume, VOF, multiphase and non-Newtonian setups, UDS plus UDF compilation, result reading from .dat.h5, and twelve environment traps with the exact error strings that precede them.
Install
# from npm (prebuilt)
dsh plugin --profile web add dsh-fluent-pyfluent-ops
# from GitHub (first run asks for allowBuilds approval — follow the hint, retry)
dsh plugin --profile web add github:ZZR-rui-997/dsh-fluent-pyfluent-ops
Any plugin you install runs third-party code with your own permissions — it can read your files, use your credentials, and reach the network, and tool approvals don’t sandbox it. GitHub-sourced plugins also run build scripts at install time — pnpm blocks those until you allow them, so an install can stop with ERR_PNPM_GIT_DEP_PREPARE_NOT_ALLOWED or ERR_PNPM_IGNORED_BUILDS; dsh prints the exact key to add under allowBuilds in your profile’s pnpm-workspace.yaml, and the install works on the next run. Allowing a build is a trust decision: only install sources you trust, and pin a commit (github:owner/repo#sha).
README
A DeepSeek Harness bundle that ships one skill:
fluent-pyfluent-ops — a field notebook for driving ANSYS Fluent from PyFluent on Windows.
It is not an API reference and not a tutorial. It records the failure modes that cost real days:
the startup handshake that actually works, the order that keeps the object is not active away,
how to tell whether a case is converging or quietly stuck, what to do when Fluent becomes an orphan
process after the agent window closes, and twelve Windows-specific traps with their fixes.
What's inside
skills/fluent-pyfluent-ops/
├── SKILL.md entry point: when to load, ten hard-won rules, standard flow, trap table
├── references/
│ ├── api-traps.md startup handshake, state machine, Courant/dt, coordinates — with evidence
│ ├── run-sha-production.md the long-run entry: guards, preflight, judging, resume, frame writing
│ ├── udf-age-transport.md UDS age field + time-varying viscosity UDF: compile, mount, conserve
│ ├── env-traps-windows.md E1–E12: schtasks supervision, orphan cleanup, encoding, logging
│ ├── postproc-metrics.md penetration distance metrics, "is it stuck" rule, cross-mesh comparison
│ ├── vof-setup-checklist.md VOF setup order and self-check list
│ ├── result-hdf5.md .dat.h5 structure, phase indexing, common exports
│ ├── audits.md checks that catch errors, theory-vs-measurement discipline
│ └── mcp-tools.md ansys-fluent MCP tool groups, read-only discipline, known defects
└── scripts/
├── summarize-frames.py per-frame front / lead / L_eq / φ_max / viscosity, auto-detects the mesh
├── subgrid-front.py sub-grid front position (~0.05 mm resolution) for "did it stop" calls
└── kill-fluent-orphans.ps1 orphan cleanup via WMI Terminate (never touches ansyslmd.exe)
Install
As a bundle (recommended): point DeepSeek Harness at this package directory —
Plugins → Add plugin and choose the folder, or install it from the plugin market once listed.
The bundle's host half registers the skill through ctx.skills.register(), so it works from wherever
the package is installed.
As a plain skill: copy the folder into your skills root and skip the bundle entirely.
Copy-Item -Recurse .\skills\fluent-pyfluent-ops "$env:USERPROFILE\.dsh\skills\fluent-pyfluent-ops"
When the agent will read it
The skill declares itself for anything Fluent-shaped: starting or connecting PyFluent, building a
VOF / multiphase / non-Newtonian case, mounting UDS or compiling a UDF, running a long case or resuming
one, judging whether a case is stuck or whether two meshes are comparable, reading .cas.h5 / .dat.h5,
and any error like WinError 740, Stream removed, Insecure gRPC mode, or the object is not active.
Honest limits
- Frozen snapshot. Written against Fluent v251 / Windows. PyFluent changes its connection parameters between minor versions; the notes say which version a statement came from where it matters, but nobody is tracking new releases. Issues and PRs are welcome, and so is taking over maintenance.
- Windows-first. The environment chapter is entirely Windows (schtasks, WMI, GBK consoles). The Fluent-side chapters are platform-neutral.
- The numbers are examples. Every
s/step,m/s,Pa,mm, and line count in the notebooks comes from one case on this author's machine. They are there to show magnitude and ratio, not to be quoted as constants. Re-measure on your own case before citing anything. - No vendor files. No Fluent installation, license, or case data ships here; the scripts read files you produce.
A note on how to use it
Read SKILL.md first, then follow the "when to read" pointers into references/. The trap table in
SKILL.md is the fastest lookup: symptom → cause → fix. If a statement contradicts what you see on
disk, trust the disk and fix the skill — the "maintaining this skill" section explains the discipline.
License
MIT. See LICENSE. The skill body is Chinese (it was written for Chinese-speaking users); the scripts and their comments are bilingual.
Links
More in this category
tw93/Mole#mole★ 76456
Official agent skill for the open-source Mole CLI (mo), a disk cleanup tool for macOS and Windows: read disk usage, preview and run cleanup, inspect installed apps, and read system health and cleanup history from Mole's JSON output. It previews with --dry-run and asks before removing anything, and leaves app uninstalls and privileged steps to the user's own terminal. The plugin ships only the skill; the CLI is installed separately.
zhu1090093659/dsh-web#packages/dsh-skill-explorer★ 10669
Skill center for the dsh web GUI: browse all loaded skills grouped by source, enable or disable model invocation, create new skills, and delete into a recoverable trash.
QingYunA/answer-me-with-html★ 6702
Answers a question with a one-page visual HTML explainer: the model writes a short Markdown draft and the bundled `am` CLI builds the page, with flow, sequence, tree, timeline and ER diagrams, tables and callouts.
iflytek/skillhub#dsh★ 5504
Browse and search a SkillHub registry and manage local skill installation, updates, and removal inside DeepSeek Harness. Targets DSH 0.2.0-rc.2 and 0.2.1-rc.2; not yet compatible with 0.2.1-rc.3.
hyhmrright/brooks-lint★ 1592
Provides six code quality skills for code review, architecture audits, technical debt, test quality, health dashboards, and remediation.
GanyuanRan/Aegis★ 1459
Software-engineering method pack for coding agents, with skills for baseline-first planning, systematic debugging, prompt hygiene, verification before completion, and repair/retirement tracking.
Community comments
Comments are public GitHub Discussions. Loading them connects to GitHub and Giscus; a GitHub account is required to post.