Replies: 3 comments
-
|
Have you looked into these examples:
Not sure if you can add multiple curves, but maybe this helps? Let us know. /jvela018 |
Beta Was this translation helpful? Give feedback.
-
|
Would this work for you https://aedt.docs.pyansys.com/version/stable/API/_autosummary/ansys.aedt.core.modules.material.Material.set_coreloss_at_frequency.html /jvela018 |
Beta Was this translation helpful? Give feedback.
-
|
Dear @nikmarlo, As @jvela018 provided you with a possible solution, we are closing this issue. However, please feel free to re-open it or to create another one. Thank you, |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I am trying to simulate with a self-defined material I have saved as an .amat file (Only containing this single material). Working manually in Maxwell it directly shows up in the material list as

Here is a more detailed view on the material properties.

I used the automatic calculation of the core loss properties, so the original dataset is also saved in the .amat:

If I try to create a box of my self-defined material by
maxwell_3d.modeler.create_box([x_ferr,l_wind+d_wc,z_ferr],[l_core,w_core_a,h_core],name="rightleg",material="Fair-Rite_67")I get this messages:
So I assumed I have to import the material data first. But if I do:
maxwell_3d.materials.import_materials_from_file(r"C:\...\Ansoft\PersonalLib\Ferrite_Materials.amat")I get the following bunch of PyAEDT Errors:
I started to try out a few things like
maxwell_3d.materials.mat_names_aedtwhich gives me a list of about 5700 materials also containing Fair-Rite_67. But if I try to check if the material exists by
maxwell_3d.materials.exists_material('Fair-Rite_67')I also get Errors instead of just false:
So now I'm a little at a loss as to how to deal with the problem. Thanks in Advance :)
Best regards
Nikolai
Beta Was this translation helpful? Give feedback.
All reactions