CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [blockMesh] Meshing a disc like this (https://www.cfd-online.com/Forums/openfoam-meshing/101538-meshing-disc-like.html)

m_r May 7, 2012 04:43

Meshing a disc like this
 
Hello everyone !


I'm a new user of OpenFOAM and I wish realise a mesh of this type, but i don't really know how to do it :
http://www.cfd-online.com/OpenFOAM_D...ges/1/4060.jpg

Somebody can help me to start ?

I have understood how to mesh differents types of cubes (such as with an arc of circle) but i have no idea for start to mesh a circle/a disc.

Thank you (and sorry for my bad english :D)

Marine

romant May 7, 2012 04:53

I don't think you will be able to mesh this with blockMesh, because blockmesh will create hexahedral cells, however exactly at the center you have tetrahedral cells. the easiest way to create such a disc is to make a block in the center and then create quarter circle blocks on every side.

m_r May 7, 2012 05:10

Thank for your rapid answer.

If I understood correctly,, your idea is to create a central block then create many quarter circle block around.

You think it's possible to realise a maillage like this with four blocks and create arcs of circle inside the blocks ?

romant May 7, 2012 05:20

I think the following can help you. You can create arc also on the inside of the block, but you won't have a disc then, but a ring, which has just a very small hole in the center. 5 blocks (1 center block, 4 blocks on the outside, where the ones on the outside have arcs as boundaries) is the standard to create round objects with hexahedral cells.

http://www.cfd-online.com/Forums/ope...arge-mesh.html

m_r May 7, 2012 05:26

Thank, I studying your link and then, after, I try to meshing a disc.

Ivanet May 7, 2012 08:08

It is possible and even very easy to do it with blockMesh.
You can check for example this link
http://www.somogyibence.hu/documents...sh_O-Grid.html
for learning about how to work with blockMesh.

Greetings
Ivan

m_r May 7, 2012 08:50

Thank you so much Ivan.

Nikunj.R July 18, 2012 14:52

1.Divide the circle in 4 quadrants, assume the point (0,0,0) to be at the center of the disc.
2.find the coordinates of all the vertices of the quadrants relative to this point. (eg: (5,0,0) (0,5,0) (-5,0,0) (0,-5,0).
3. specify the same vertices for say z=10
4.specify that edges 0-1. 1-2, et al are arcs, while following the correct syntax.
5.form the block.
6. give "empty" bc for faces at z=10, z=-10.


All times are GMT -4. The time now is 06:37.