クイックスタート
このページでは、インストール済みの eMachineSim Python module を使ってサンプルを実行する最小手順を示します。
1. サンプルを選ぶ
最初は小さい thermal BDF sample から始めることをおすすめします。
Examples/thermal/bdf/input_sample_bdf_min_hexa_qvol.json
2. Python から実行する
import eMachineSim
result = eMachineSim.thermal.run_file(
r"Examples\thermal\bdf\input_sample_bdf_min_hexa_qvol.json",
r"Examples\thermal\bdf",
)
print(result)
3. 出力を確認する
thermal sample では、まず次の CSV を確認します。
thermal_fem_volume_heat.csv
thermal_global_heat_balance.csv
thermal_bdf_import_summary.csv
thermal_global_heat_balance.csv の relative residual が十分小さいことを確認してください。
4. 結果を可視化する
VTK output がある場合は ParaView で開きます。
mesh.vtk
thermal_result.vtk
5. 次のステップ
- モータ熱解析へ進む場合: Realistic Motor Steady Thermal Sample
- rotor structural へ進む場合: Structural Rotor Samples
- modal / NVH へ進む場合: Motor NVH Samples