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.

How can I avoid straight lines while meshing a circle? Is there a second order type of mesh?

Bernardo EE Department

Please login with a confirmed email address before reporting spam

Greetings,

I'm trying to mesh a circular body (2D) but the type of mesh I get is a straight line rather than a curve. What I do is: 1) More operations > edge 2) I select the boundary that I want 3) Distribution > 2

I can see that my boundary is divided into 2 segments, but these 2 segments are just straight lines rather than curves as you can see in the image. If I increase the distribution to 20, I can see that it looks like a curve, but these 20 divisions are still lines.

Is there a way in which I can select a second order type of distribution such that my boundary looks like the red line?

Thank you



2 Replies Last Post 10 feb 2022, 10:00 GMT-5
Acculution ApS Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 10 feb 2022, 04:13 GMT-5

This is how it will always be visualized. The underlying elements may have a higher order than linear (https://mecheng.iisc.ac.in/suresh/me237/feaNotes/Chapter4.pdf), but they will not be circular arcs internally. It does not really matter; what you need to ensure that you geometry is well resolved and that the physics field is also well resolved.

-------------------
René Christensen, PhD
Acculution ApS
www.acculution.com
info@acculution.com
This is how it will always be visualized. The underlying elements may have a higher order than linear (https://mecheng.iisc.ac.in/suresh/me237/feaNotes/Chapter4.pdf), but they will not be circular arcs internally. It does not really matter; what you need to ensure that you geometry is well resolved and that the physics field is also well resolved.

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 2 years ago 10 feb 2022, 10:00 GMT-5
Updated: 2 years ago 10 feb 2022, 13:50 GMT-5

Hello Bernardo,

By default, elements are isoparametric, meaning that the interpolation order used for the geometry is the same as the interpolation order for the variables solved for. By default the edges of mesh elements are displayed as straight lines (to render faster, I believe), as you've noticed. In the more recent versions of the software (at least since 5.6), it is possible to create mesh plots that better represent the true shape of the elements; see the attached image where you can clearly see where the nodes on the outer edges are located (note how I adjusted the inputs in the Settings window to get this plot) . See also https://www.comsol.com/release/5.6/geometry-and-mesh for a 3D example.

Best regards,

Jeff

-------------------
Jeff Hiller
Hello Bernardo, By default, elements are isoparametric, meaning that the interpolation order used for the geometry is the same as the interpolation order for the variables solved for. By default the edges of mesh elements are displayed as straight lines (to render faster, I believe), as you've noticed. In the more recent versions of the software (at least since 5.6), it is possible to create mesh plots that better represent the true shape of the elements; see the attached image where you can clearly see where the nodes on the outer edges are located (note how I adjusted the inputs in the Settings window to get this plot) . See also https://www.comsol.com/release/5.6/geometry-and-mesh for a 3D example. Best regards, Jeff

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.