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.
Piecewise constant function over a boundary
Posted 19 apr 2020, 17:15 GMT-4 Acoustics & Vibrations Version 5.4 0 Replies
Please login with a confirmed email address before reporting spam
Hello,
I have a 2D axisymmetrc model and I'm trying to define an input pressure on the edge as a piecewise constant function of the r-coordinate.
Here's what I want to have for each segment: P=p_0*exp(1i*phase_j), for r_j < r < r_(j+1) where p_0, phase_j, r_j and r_(j+1) are input parameters.
I have tried several approches, but there is a jump in the input pressure at the segment boundaries after meshing. I'm wondering what is the best way to do this?
Thank you in advance for your help.
Hello Yichi Zhang
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.