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.

structured mesh around cylinder

Please login with a confirmed email address before reporting spam

Hi Comsol Community,
I try to set up a Comsol simulation for a fluid flow around a cylinder and I want to use a structured mesh.
Is it possible to create a structured mesh around the cylinder (e.g. like in the attached picture)?
What i tried until now is to use the Mapped mesh feature. I divided my Geometry in different areas. Meshing the areas away from the cylinder with a structured mesh is no problem. But the area around the cylinder can not be meshed with the Mapped Mesh tool because it does not allow embedded boundary's or holes in the domain.
Are there any suggestions how I can create such a map or how I have to treat the area around the cylinder to work with the mapped mesh tool?

Kind Regards,
Mathias Scholz


8 Replies Last Post 28 mag 2014, 09:46 GMT-4
Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 21 mag 2014, 20:32 GMT-4
You can simply subdivide the region near the hole into several pieces.
Jeff
You can simply subdivide the region near the hole into several pieces. Jeff

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 22 mag 2014, 09:23 GMT-4
Thank you for the fast reply. Thats how it works. Sometimes the easy solutions are to simple to see them on my own.

Mathias
Thank you for the fast reply. Thats how it works. Sometimes the easy solutions are to simple to see them on my own. Mathias

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 26 mag 2014, 12:11 GMT-4
So far I am quite satisfied with the structured mesh I have in my model right now. The only area I still want to improve is where the outer regions and the subdivided regions around the cylinder are connected. In this areas the boundary layers disappear. Is there a special tool or a simple adjustment I can make so that the boundary layers remain continuous through this area?
For better understanding of my problem I have attached my actual model file.
Thank you, Mathias
So far I am quite satisfied with the structured mesh I have in my model right now. The only area I still want to improve is where the outer regions and the subdivided regions around the cylinder are connected. In this areas the boundary layers disappear. Is there a special tool or a simple adjustment I can make so that the boundary layers remain continuous through this area? For better understanding of my problem I have attached my actual model file. Thank you, Mathias


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 mag 2014, 03:57 GMT-4
How about this?
How about this?


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 mag 2014, 09:48 GMT-4
Thank you for the effort and having a look at my model. But unfortunately I am not able to open the file you attached. I am using Comsol 4.3b and your file might be saved in a more recent version. Maybe you can just tell me what you have done to improve the mesh in this special areas?

Mathias
Thank you for the effort and having a look at my model. But unfortunately I am not able to open the file you attached. I am using Comsol 4.3b and your file might be saved in a more recent version. Maybe you can just tell me what you have done to improve the mesh in this special areas? Mathias

Jeff Hiller COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 mag 2014, 10:37 GMT-4
Hi again Mathias,
You could subdivide your geometry so that there is a rectangular domain that runs the entire length of the channel at the top and at the bottom.
Jeff
Hi again Mathias, You could subdivide your geometry so that there is a rectangular domain that runs the entire length of the channel at the top and at the bottom. Jeff

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 27 mag 2014, 16:29 GMT-4
Everything is made with one single mapped mesh but with 5 different distributions. Perhaps the attached files help you to see what I did.

Best
Lasse
Everything is made with one single mapped mesh but with 5 different distributions. Perhaps the attached files help you to see what I did. Best Lasse


Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 28 mag 2014, 09:46 GMT-4
Thank you Lasse and Jeff,
I think I combined both your solutions and now it looks really good.

Mathias

Thank you Lasse and Jeff, I think I combined both your solutions and now it looks really good. Mathias

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.