用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/sduwby/AnsysAgent --skill maxwell-motor-workflow命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| name | maxwell-motor-workflow |
| description | Maxwell 2D 永磁同步电机电磁仿真标准流程(建模→材料→绕组→仿真→结果) |
用于完成永磁同步电机(PMSM)从零开始的 Maxwell 2D 电磁仿真,覆盖从参数确认到结果提取的全流程。
delegate_to_agent(agent_name="maxwell", task="connect_aedt: 连接 Maxwell 2D 设计环境")
delegate_to_agent(agent_name="maxwell", task="create_motor_geometry:
slots=36, poles=6,
stator_outer_diameter=150, stator_inner_diameter=90,
rotor_outer_diameter=89.5, magnet_thickness=5,
stack_length=80")
delegate_to_agent(agent_name="maxwell", task="assign_material:
- 定子铁芯 → 硅钢片(M19_24G 或 create_custom_material 自定义 B-H 曲线)
- 永磁体 → N35(coercivity / remanence 参数参考供应商数据)
- 绕组 → copper(电导率 5.8e7 S/m)")
delegate_to_agent(agent_name="maxwell", task="setup_winding:
phases=3, layers=2, current_amplitude={额定电流}, frequency=50")
delegate_to_agent(agent_name="maxwell", task="add_solution_setup:
stop_time=0.02, time_step=0.0002, mesh_link=True")
delegate_to_agent(agent_name="maxwell", task="run_simulation")
delegate_to_agent(agent_name="maxwell", task="get_torque: 提取平均转矩和转矩脉动")
delegate_to_agent(agent_name="maxwell", task="get_back_emf: 提取反电动势波形")
delegate_to_agent(agent_name="maxwell", task="get_losses: 提取铜损和铁损")
| 问题 | 原因 | 解决方案 |
|---|---|---|
| 仿真不收敛 | 时间步过大 | 将 time_step 减半 |
| 转矩脉动过大 | 槽口宽度不合适 | 调整 slot_opening 参数 |
| 铁损偏高 | B-H 曲线缺少高频项 | 补充 Kh/Kc/Ke 系数 |
thermal-em-coupling 技能基于 SOC 职业分类