-
Hello, for my bachelor thesis I am trying to simulate the effects of a pulsed electric field. In AEDT I could just assign a time-dependent voltage on a face/object like: I tried to do this in Pyaedt as well, but I dont know how to get the Time. Just making it a variable doesn't work. The timestamp gives me a way to high value when I tried to get it as an integer but otherwise I can't do the calculations with it. And overwriting the Voltage every iteration doesn't work as well. Does anybody have any ideas on how to make this work? FYI: I am using Maxwell3d, Electric Transient Solver |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Update: You have to put the whole formula in quotation marks like: |
Beta Was this translation helpful? Give feedback.
Update: You have to put the whole formula in quotation marks like:
m3d, assign_voltage(elec1.faces[0], “sin((pi*Time)/300s)”, “Name1”)