Question about rectangle function

Please login with a confirmed email address before reporting spam

Hi, Could someone please help on the rectangle function of COMSOL? I tried to apply two thermal pulse onto one surface at two different times. Pf(t)+Pf(t-1). P is a constant. f is an Heaviside function that lasts for 0.1s. However. COMSOL can only recognize the first function and cannot process the 2nd one. Has anyone seen this before? Thank you


1 Reply Last Post 21 févr. 2025, 23:15 UTC−5
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 10 hours ago 21 févr. 2025, 23:15 UTC−5

I suggest you post your .mph file to the forum. I'm guessing that your model contains a relatively simple error in either the way that you defined the function or the way that you attempted to call it.

-------------------
Scientific Applications & Research Associates (SARA) Inc.
www.comsol.com/partners-consultants/certified-consultants/sara
I suggest you post your .mph file to the forum. I'm guessing that your model contains a relatively simple error in either the way that you defined the function or the way that you attempted to call it.

Reply

Please read the discussion forum rules before posting.

Please log in to post a reply.

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.