协作头脑风暴
brainstorming
在实现前澄清需求、探索设计选择,并形成清晰的开发方向。
cfx-mcp-tools【开发与工程】Use when: operating the standalone ansys-cfx-mcp CFX MCP leaf directly from generic clients or MCP hosts. Covers CFX-Pre, Solver, CFD-Post, cfx_workflow, cfx_model_context, run_code, validate_code, lifecycle actions, model context, named objects, API help, and result-file discovery.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when you are calling the standalone ansys-cfx-mcp CFX MCP leaf directly. The CFX leaf intentionally exposes a small tool surface so generic agents do not have to choose among many low-level helpers.
Expect these tools by default:
session_statusconnectdisconnectcfx_workflowcfx_model_contextrun_codevalidate_codeDo not assume direct MCP access to low-level helper names such as list_named_objects, get_state, find_api, get_help, solver_status, or summarize_setup. Use cfx_model_context or cfx_workflow instead.
For exact action names and parameter shapes, load tool reference.
session_status first to learn whether CFX-Pre, Solver, or CFD-Post is already connected.connect or cfx_workflow(action="start_pre") to start or attach to CFX-Pre when setup/model work is needed. Prefer an explicit connect mode ("launch" to start locally, "attach" to join a running server) so intent is unambiguous. mode="auto" (the default) infers it from the parameters.cfx_model_context for bounded model inspection. Request one slice at a time, such as a summary, named-object lookup, API help entry, or targeted context.cfx_workflow for lifecycle and artifact steps: import mesh, write .def, start solver, wait for solver, get .res, or open CFD-Post.validate_code for explicit CFX Python snippets that are not covered by the routed workflow actions.run_code only for safe, intentional inspection or edits requested by the user. Prefer read-only inspection first.disconnect when the user asks to close the session or when cleaning up a dedicated run.Keep context calls narrow. cfx_model_context accepts max_items. Use small values such as 10 or 20 unless the user explicitly asks for more. Do not dump the full model tree into the chat.
cfx_model_context(action="api_help"), cfx_model_context(action="find_api"), or targeted context first.cfx_workflow as a free-form macro executor. It only accepts supported lifecycle/artifact actions.cfx_workflow(action="start_solver"), then cfx_workflow(action="wait_solver"), then cfx_workflow(action="get_results_file").Start CFX-Pre and import a mesh:
1. session_status
2. cfx_workflow(action="start_pre", params={})
3. cfx_workflow(action="import_mesh", params={"path": "C:\\path\\mesh.gtm"})
4. cfx_model_context(action="summary", max_items=20)
Launch a solver from an existing .def file and find the result file:
1. cfx_workflow(action="start_solver", params={"input_file": "C:\\path\\case.def", "mode": "serial"})
2. cfx_workflow(action="wait_solver", params={"timeout": 3600})
3. cfx_workflow(action="get_results_file", params={})
Inspect a named object without dumping the model:
1. cfx_model_context(action="find_named_object", params={"query": "inlet"}, max_items=10)
2. cfx_model_context(action="targeted_context", params={"paths_to_check": ["FLOW: Flow Analysis 1"], "named_object_types": ["boundary"]}, max_items=20)