Skip to main content

Thermal Quick Cases

Thermal quick cases are small public examples under:

Examples/thermal/

They demonstrate:

  • CHEXA QVOL import
  • CPENTA QVOL import
  • CTETRA QVOL import
  • multi-bulk BDF handling
  • PSOLID/MAT4 diagnostics
  • material_source = "bdf_mat4_isotropic"
  • JSON total_heat volume source
  • JSON heat_density volume source

Run an individual case from Python:

from pathlib import Path
import eMachineSim

case_dir = Path("Examples/thermal/bdf")
result = eMachineSim.run_file(
str(case_dir / "input_sample_bdf_min_hexa_qvol.json"),
str(case_dir),
)
print(result["success"])

Then inspect the generated CSV diagnostics in the same run directory.

ParaView Files

Representative VTK files are included or generated in the same directory:

FileWhat to inspect
mesh.vtkBDF/CHEXA/CPENTA/CTETRA mesh geometry and property IDs.
thermal_result.vtkTemperature and thermal-gradient/field arrays.
boundary_faces.vtkAutomatically detected boundary faces.

The VTK files are written automatically by the thermal post-processing path; no extra JSON parameter is needed.