Skip to content

pyaedt material creation data missing #6818

@zmladen

Description

@zmladen

Hello,

I am currently testing PyAnsys/Pyaedt in Maxwell (Release 2024R1). I was wondering what the method set_coreloss_at_frequency actually does. The example code runs successfully, but I can’t find any data at the specified frequencies in the Maxwell GUI.

from ansys.aedt.core import Maxwell3d m3d = Maxwell3d() box = m3d.modeler.create_box([-10, -10, 0], [20, 20, 20], "box_to_split") box.material = "magnesium" m3d.materials["magnesium"].set_coreloss_at_frequency( points_at_frequency={60 : [[0,0], [1,3.5], [2,7.4]], 100 : [[0,0], [1,8], [2,9]], 150 : [[0,0], [1,10], [2,19]]} ) m3d.desktop_class.close_desktop()
Frequencies are shown in the "Core Loss vs Frequency" dialog, but the data is missing!

image

Originally posted by @zmladen in #6781

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions