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.
Applying Analytical Function as Boundary Condition
Posted 2013年4月25日 GMT-4 03:42 Materials, Parameters, Variables, & Functions, Structural Mechanics Version 4.3a 0 Replies
Please login with a confirmed email address before reporting spam
I want to apply a time variable rectangular function as an electrical input. I already plotted the rect() function in a an1() function: Vp=45V; Rt=200us; fo=50Hz
expression: Vp*rect1(t[1/s])
argument: t
function: V
"make periodic" lower limit: -Rt
"make periodic" upper limit: -Rt+1/fo
The plot of the an1() function is exactly what I need. But when I try the apply it to the "Electrical Potential" Boundary condition (BC) I write: an1(t,V); an1(t[1/s]); an1(t,V,t[1/s]); an1(V).... all of those give the same problem: "Unexpected Unit of Input" what is the correct way to write it so the unit seen by the BC is volts [V]???
Any help will be appreciated
Hello David Sanchez
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.