We have an exciting announcement about badges coming in May 2025. Until then, we will temporarily stop issuing new badges for course completions and certifications. However, all completions will be recorded and fulfilled after May 2025.

Ansys Learning Forum Forums Discuss Simulation Electronics Changing Polarity Type for Coil Reply To: Changing Polarity Type for Coil

aa668
Subscriber

Hi Timos, Thanks for your response. Yes, I want to alternate the polarity from Positive to Negative at predefined time, at t= 1 ms. Can you please tell me what will be the syntax for this function ? I have tried using 1 for positve polarity and 0 for negative polarity which did not work. I used, if(time>=0.001,0,1) which did not change the polarity. Please let me know the correct syntax.