Fluid Network Solver
/install fluid-network-slover
Fluid Network Solver
Overview
Parse a TOML fluid network, apply named scenario overrides, solve hydraulic steady-state variables, and produce reliability analysis outputs. Use the scripts in this skill for deterministic execution instead of rewriting solver logic each time.
Workflow
- Read schema details from
references/toml_schema.mdwhen defining or checking input. - Prepare a TOML file containing
system,nodes,pipes, andscenarios. - Run
scripts/run_fluid_skill.pywith one scenario or all scenarios. - Return JSON output, markdown report, or a readable console summary.
Parameter Entry
Use this command from the skill root:
python scripts/run_fluid_skill.py --toml \x3Cinput.toml> [--scenario \x3Cname> | --all-scenarios] [--report-out \x3Creport.md>] [--json-out \x3Cresult.json>] [--print-text]
Supported parameters:
--toml: required input network file.--scenario: single scenario name (defaultbase).--all-scenarios: analyzebaseplus all named scenarios.--report-template: optional template path, defaultassets/report_template.md.--report-out: optional markdown report output path.--json-out: optional JSON result output path.--print-text: print readable scenario analysis to stdout.--generate-template: optionally write a starter TOML template and exit.
Outputs
Generate these outputs based on user request:
- Plain text analysis: convergence, pressures, flows, and load pass/fail status.
- JSON payload: machine-readable scenario results.
- Markdown report: rendered from
assets/report_template.md.
Report Template
Use assets/report_template.md placeholders:
{{generated_at_utc}}{{input_file}}{{scenario_mode}}{{scenario_count}}{{summary_table}}{{detail_sections}}
Files
scripts/fluid_solver_core.py: compatibility shim that re-exports the maintained root implementation.scripts/run_fluid_skill.py: CLI entry for parameterized execution and report generation.references/toml_schema.md: authoritative schema and sample.assets/report_template.md: default report skeleton.assets/sample_network.toml: runnable demo network.requirements.txt: runtime dependencies for packaging or local execution.
Execution Examples
Run one scenario:
python scripts/run_fluid_skill.py --toml assets/sample_network.toml --scenario Normal_Operation --print-text
Run all scenarios and export report + JSON:
python scripts/run_fluid_skill.py --toml assets/sample_network.toml --all-scenarios --report-out outputs/report.md --json-out outputs/result.json
Generate a template:
python scripts/run_fluid_skill.py --generate-template outputs/template.toml
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install fluid-network-slover - 安装完成后,直接呼叫该 Skill 的名称或使用
/fluid-network-slover触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Fluid Network Solver 是什么?
Solve and analyze steady incompressible fluid networks from TOML definitions. Use when users ask to design a network template, validate TOML topology data, c... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 139 次。
如何安装 Fluid Network Solver?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install fluid-network-slover」即可一键安装,无需额外配置。
Fluid Network Solver 是免费的吗?
是的,Fluid Network Solver 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Fluid Network Solver 支持哪些平台?
Fluid Network Solver 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Fluid Network Solver?
由 w1965857192yf-dotcom(@w1965857192yf-dotcom)开发并维护,当前版本 v1.0.0。