Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

How to model a square wave transient current in AC/DC module

Please login with a confirmed email address before reporting spam

Hi

I have used the rectangle function in comsol and defined the shape of one pulse. How can I make this a series of pulses when the frequency of my current is 500 Hz.

Thank you


2 Replies Last Post 20 nov. 2024, 07:34 UTC+1
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 months ago 19 nov. 2024, 16:02 UTC+1
Updated: 7 months ago 19 nov. 2024, 16:07 UTC+1

Hello Antony,

Have you tried a Waveform function, of the Square type?

Alternatively, you can use the Periodic Extension option of an Analytic function to turn your already existing rectangular function into a periodic version of itself (This is more general and can be used for any period shape).

Best,

Jeff

-------------------
Jeff Hiller
Hello Antony, Have you tried a Waveform function, of the Square type? Alternatively, you can use the Periodic Extension option of an Analytic function to turn your already existing rectangular function into a periodic version of itself (This is more general and can be used for any period shape). Best, Jeff

Please login with a confirmed email address before reporting spam

Posted: 7 months ago 20 nov. 2024, 07:34 UTC+1

Yes it worked. Thank you.

Yes it worked. Thank you.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.