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.
Swept mesh density dependent of a spatial function
Posted 6 mai 2013, 11:29 UTC−4 Mesh Version 4.3a 3 Replies
Please login with a confirmed email address before reporting spam
Dear all,
I have a simple question: how can I define in swept mesh a function (spatial) of refinement? Just for example, I have a strip and I would have a very fine mesh only in the middle.
I have tried in this way: I set a parabolic function in Definitions>Analytic, 0.8+x^2 (supposing x is the direction of the swept), and then I inserted the function in Swept>Size>Max Element Size, hence an1(x). In this way I should get element of max 0.8 in the middle of the strip, and bigger going towards the sides.
But it seems that Comsol does not accept functions in element size parameters. What I am doing wrong?
Thank you very much
Fabio
I have a simple question: how can I define in swept mesh a function (spatial) of refinement? Just for example, I have a strip and I would have a very fine mesh only in the middle.
I have tried in this way: I set a parabolic function in Definitions>Analytic, 0.8+x^2 (supposing x is the direction of the swept), and then I inserted the function in Swept>Size>Max Element Size, hence an1(x). In this way I should get element of max 0.8 in the middle of the strip, and bigger going towards the sides.
But it seems that Comsol does not accept functions in element size parameters. What I am doing wrong?
Thank you very much
Fabio
3 Replies Last Post 6 mai 2013, 15:07 UTC−4