Logo Fluent Sim

Fluent Sim

Tổ chức
svd-ai-lab
fluent-sim

Use when working with Ansys Fluent through live sim sessions, direct PyFluent scripts, or file-side artifact review.

Add to TypingMind

Tổng quan

Nhà phát hànhsvd-ai-lab
Kho mãsim-cli
Tên kỹ năngfluent-sim
Sao
242
Bản fork
23
Tệp đi kèm
91
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • 91 tệp đi kèm

    Các tập lệnh, mẫu và tài liệu tham khảo mà mô hình có thể đọc khi làm việc. Các tệp chỉ cho phép đọc và không bao giờ được thực thi.

  • Mã nguồn mở

    Được svd-ai-lab công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Fluent Sim trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/svd-ai-lab/sim-cli/tree/main/plugins/fluent/src/sim_plugin_fluent/_skills/fluent
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/svd-ai-lab/sim-cli.git /tmp/sim-cli
mkdir -p .claude/skills
cp -r /tmp/sim-cli/plugins/fluent/src/sim_plugin_fluent/_skills/fluent .claude/skills/fluent-sim
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Fluent Sim trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Fluent Sim ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Fluent Sim với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

fluent-sim

This skill is the Fluent-specific operating guide. Choose the control path that fits the task, then load only the references needed for that path.

Choose The Control Path

PathBest forStarting point
Live sim sessionStateful edits, GUI observation, incremental solver work, remote Windows diagnostics, version probes, and inspecting a running Fluent session`uv run sim connect --solver fluent --mode <solver
Direct PyFluent scriptDeterministic batch runs, reproducible examples, CI-friendly smoke scripts, and workflows that can own their process lifecyclefrom ansys.fluent.core import launch_fluent in a normal Python script
File-side artifact reviewCase/data/mesh inventory, transcript tails, CSV/PNG/PDF outputs, and offline checks that do not need a live solverUse Python file readers, text inspection, and Fluent artifact helpers before opening a session

Use sim when the task needs a persistent runtime or live observation. Use a direct PyFluent script when a one-shot batch program is clearer. Use file-side helpers when the question is about artifacts already on disk.

Live Sim Session

After connecting, inspect:

bash
uv run sim inspect session.versions
uv run sim inspect session.health
uv run sim inspect session.summary

The session.versions payload selects the active overlays. Always read base/, then the active sdk/<active_sdk_layer>/, then the active solver/<active_solver_layer>/ when present. Later layers override earlier files with the same name. Require version_source: active_runtime before applying release-specific guidance; installed-version discovery alone does not prove which Fluent release the session launched or attached to.

Expected SDK layer directories are:

  • sdk/0.38/ for PyFluent 0.38.x
  • sdk/0.37/ for PyFluent 0.37.x

Useful live inspect targets:

  • session.summary
  • session.health
  • session.versions
  • last.result
  • workflow.summary
  • field.catalog / fluent.field.catalog
  • fluent.models.summary
  • fluent.boundaries.summary
  • fluent.case.summary
  • fluent.mesh.summary
  • fluent.files

Use uv run sim exec snippets with the injected session, solver, or meshing object. Keep snippets small enough that last.result can prove the current state before the next step.

Direct PyFluent Script

For direct scripts, own the launch and teardown explicitly:

python
from ansys.fluent.core import launch_fluent

solver = launch_fluent(mode="solver", ui_mode="no_gui", precision="double")
try:
    solver.settings.file.read_case(file_name="case.cas.h5")
    solver.solution.initialization.hybrid_initialize()
    solver.solution.run_calculation.iterate(iter_count=10)
finally:
    solver.exit()

This path is a good fit when the result can be produced in one deterministic program and you do not need a live agent-visible session between steps.

For direct PyFluent scripts, launch the session normally with PyFluent and do not rely on sim-injected variables.

Long-running execution and recovery

Keep bounded Fluent work in the foreground when it fits the active tool-call budget. Use a native journal, direct PyFluent script, or background process only when the solve is expected to outlive that budget, must continue across agent turns, or the user explicitly asks for background execution. Keep live sessions for incremental setup and inspection; use a settled script or journal for a repeatable long solve.

For a long run, use absolute transcript/log and case/data output paths so the agent can inspect progress and results later. Do not require a fixed directory tree, a job manifest, or sim-cli when the direct Fluent or PyFluent path is sufficient.

A shell or tool timeout ends that observation call; it does not prove Fluent stopped. Before retrying or stopping, check the Fluent/PyFluent process, transcript tail, monitor output, and case/data timestamps. Confirm process ownership from the executable, full command line, start time, and working or output paths. Never terminate every fluent, ansys, or cortex process by name.

Use resume only when a usable .cas/.dat(.h5) pair, autosave, or another Fluent-native checkpoint can actually continue the calculation. Without one, describe the action as a restart rather than promising generic resume behavior. Keep direct PyFluent scripts responsible for their own launch and teardown.

File-Side Artifact Review

Before launching Fluent, inventory what is already present:

  • .cas / .cas.h5: case setup
  • .dat / .dat.h5: solution data
  • .msh / .msh.h5: mesh input
  • .trn / .jou: transcript and journal evidence
  • .pdf / .fla: flamelet and PDF table artifacts
  • .csv / .png / .json: exported reports, figures, and structured output

Use this path for quick triage, output extraction, and deciding whether a live session is necessary.

Layered References

PathUse
base/reference/task_templates.mdRequired inputs and workflow step order
base/reference/runtime_patterns.mdFluent dependency chains and state ordering
base/reference/acceptance_checklists.mdCompletion checks for bundled workflows
base/reference/api_discovery.mddir() and child_names patterns for renamed APIs
base/reference/tui_vs_settings.mdWhen to prefer Settings API or TUI
base/reference/pyfluent_overview.mdQuick PyFluent orientation
base/snippets/Reusable live-session snippets
base/workflows/Longer workflow examples
sdk/0.38/PyFluent 0.38.x docs and examples
sdk/0.37/PyFluent 0.37.x compatibility notes
solver/25.2/Fluent 25.2-specific notes
doc-search/Local Fluent documentation search helper

For PyFluent API questions, start with the active sdk/ overlay. For Fluent physics, meshing, UDF, or solver-model questions, use doc-search/ against the local Ansys documentation tree rather than guessing names or defaults.

Live Sim Session Constraints

These constraints apply only after sim has already created a live Fluent session:

  1. Do not call pyfluent.launch_fluent() inside a uv run sim exec snippet. Use the injected session, solver, or meshing object.
  2. Do not switch between meshing and solver mode by assumption. The mode is selected at connect time unless a Fluent workflow explicitly returns a solver object.
  3. Confirm each stateful step before sending the next dependent step. Fluent meshing and solver workflows are order-sensitive.
  4. Use GUI actuation only for surfaces the SDK cannot reach. Prefer solver.settings.*, session.tui.*, and meshing.workflow.* for reproducible work.

Flamelet And PDF Table Workflows

For partially premixed steady-diffusion flamelet workflows, load:

  • base/reference/task_templates.md - Template 5
  • base/reference/runtime_patterns.md - staged flamelet/PDF dependency chain
  • base/reference/acceptance_checklists.md - Checklist 5
  • base/snippets/setup_partially_premixed_flamelet.py
  • base/snippets/write_pdf_table.py
  • base/snippets/read_case_pdf_data.py
  • base/snippets/inspect_reacting_bc_scalars.py

Short version: import CHEMKIN as flamelet-mixture, generate flamelets and the PDF table, persist the table with write_pdf_cmd(...), and restart or postprocess with read_case -> read_pdf -> read_data.

Source

Canonical repository: svd-ai-lab/sim-plugin-fluent. Skill path: src/sim_plugin_fluent/_skills/fluent.

Tệp đi kèm

Khi kỹ năng đã được tải, mô hình có thể đọc các tệp này nếu cần. Các tệp này chỉ dùng để đọc và không bao giờ được thực thi.

và 31 tệp khác.

Câu hỏi thường gặp

Kỹ năng AI Fluent Sim làm được gì?

Use when working with Ansys Fluent through live sim sessions, direct PyFluent scripts, or file-side artifact review.

Vì sao nên dùng Fluent Sim trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Fluent Sim là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Fluent Sim trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/svd-ai-lab/sim-cli/tree/main/plugins/fluent/src/sim_plugin_fluent/_skills/fluent. TypingMind đọc tệp SKILL.md, đóng gói các tệp đi kèm rồi cài đặt cả gói dưới dạng một kỹ năng mà bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Fluent Sim?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Fluent Sim với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Fluent Sim với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Fluent Sim có miễn phí không?

Có. Kỹ năng này được svd-ai-lab phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇