Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

Periodic load using a defined function?

Please login with a confirmed email address before reporting spam

Hi

I would like to solve a time dependent problem. For that I would like to define a periodic load on one of the boundaries in my geometry. My question is if it is possible to first define a function, e.g. "Model -> Definitions -> Functions ->Waveform -> Triangle" and then use this function as a time dependent load? I have tried to do that by first defining a waveform function called "wv1". But when I put "wv1" in the "Boundary Load", the line turns red and the solver gives me an error saying that it failed to evaluate variable wv1.

Thanks in advance,

Yuriy

2 Replies Last Post 30.05.2016, 11:53 GMT-4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 06.05.2011, 09:13 GMT-4
Hi

"ww1" is not a "variable", it's an "operator", you should use it as ww1(t[1/s]) the t[1/s] is to make the time "t" unitless as operators want unitless input

--
Good luck
Ivar
Hi "ww1" is not a "variable", it's an "operator", you should use it as ww1(t[1/s]) the t[1/s] is to make the time "t" unitless as operators want unitless input -- Good luck Ivar

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 30.05.2016, 11:53 GMT-4
thank you so much
thank you so much

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.