-
|
I want to plot the flux density in the air gap along a line. I can do it manually and also in the old IronPython, but not with pyaedt. Can anyone help me? I've tried something like: Many thanks in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Hi @pasc1377 , To do this, you can create a line where to plot the field solution and then create a report on that line. You'll have two options, you either use the expressions available such as Mag_B, or you can use the fields calculator to extract the value you want to extract - for instance Bx. It'd look something like: Create Polyline to extract local flux density valuesI also encourage you to go through our examples library. A good example to start with is this one https://examples.aedt.docs.pyansys.com/version/dev/examples/low_frequency/team_problem/bath_plate.html I hope this helps. |
Beta Was this translation helpful? Give feedback.
Hi @pasc1377 ,
To do this, you can create a line where to plot the field solution and then create a report on that line. You'll have two options, you either use the expressions available such as Mag_B, or you can use the fields calculator to extract the value you want to extract - for instance Bx. It'd look something like:
`
Create Polyline to extract local flux density values