CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   FLUENT (https://www.cfd-online.com/Forums/fluent/)
-   -   what is the best way to mesh a cylinder (https://www.cfd-online.com/Forums/fluent/83430-what-best-way-mesh-cylinder.html)

 afnene December 28, 2010 12:11

what is the best way to mesh a cylinder

Hello,

I tried meshing a cylinder, by using the cylinder from 'geomtry', then I meshed it using Tetrahedral/ hybrid mesh using interval size 0.01
but the results were not so good

Can you tell me please, what's a best way to mesh a cylinder?
thank you

 sak2129 December 28, 2010 13:53

The easiest way is to create a cuboid within your cylinder, which effectively breaks your cylinder into 5 different volumes. Each of the volumes can be modeled using a rectangular mesh. Creation of a boundary layer at the periphery will be easier too.

Basically, looking at the cross section, you will see a circle with a square in it. The circular boundary should be split into four segments, the ends of which can connect to your square with a line.

Hope this helps.

 afnene December 28, 2010 16:46

1 Attachment(s)
Do you mean this configuration?

 sak2129 December 28, 2010 17:05

Same thing, but make the diagonal of your square equal to the radius (not the diameter of the circle). This will create some space between the square and the circle. Connect the vertices of the square with the vertices in the circle.

 afnene December 28, 2010 17:44

1 Attachment(s)
PLease, I have only one vertice in each circle, do I create other vertices by using 'move/copy' and rotate it by 45?

 sak2129 December 28, 2010 17:58

3 Attachment(s)
I'm attaching an example. Hopefully this will make it clear.

 ComputerGuy December 28, 2010 19:32

If you're using gambit, can't you create a very thick boundary layer on one of the circular faces, then apply a cooper mesh to the whole thing? A plain cylinder should be extremely easy to get whatever kind of mesh you like.

 afnene December 28, 2010 19:35

1 Attachment(s)
hello
I think it is similar to what you did
only i have to change the height of the cube and put it similar to the the cylinder
but for the vertices I made a rotation from the center by 35 and 110

what do you think?
sorry , maybe i am asking silly questions, i am just a beginner on using gambit:)

 afnene December 28, 2010 20:49

i couldn't make a thinn layer on a face

 afnene December 28, 2010 21:34

1 Attachment(s)
Finally got it
Thank you very much sAK et Comuter guy

 afnene December 29, 2010 20:56

how do you create boundary layer on one face, do you mesh first the face then apply the boundary layer, I also want to how it works?
THanks

 afnene December 29, 2010 21:02

1 Attachment(s)
Is like the attached picture?

 ComputerGuy December 29, 2010 23:16

1 Attachment(s)
I was thinking something more like the image attached. It can be accomplished by simply changing the direction of the boundary layer from one face to the other.

ComputerGuy

 afnene December 30, 2010 15:11

if we mesh the way you did, it means that the mesh is clustered near the edges of the circle, but in reality we want the mesh to be clustered neadr the cercles, in z axis

 All times are GMT -4. The time now is 14:05.