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] blockMeshing Annular cylinder ?!! (https://www.cfd-online.com/Forums/openfoam-meshing/157296-blockmeshing-annular-cylinder.html)

Ananthakrishnan July 25, 2015 10:18

blockMeshing Annular cylinder ?!!
 
Hi,

I am trying to create a annular cyclinder mesh using blockmesh similar to mesh shown below
http://s11.postimg.org/qtp8n1gur/Untitled.png

(Its hollow inbetween. Flow occurs only in the annular section)

I started with a simple cyclinder and tried deleting the central block/assigning the inbetween plane as wall/etc.... but nothing worked.

Please let me know if it is possible to create such a mesh through blockMesh or should i create a geometry and snap it..

Any help/hint would be of great use!!! :)
Thank you very much

Regards,
Ananthakrishnan

zfaraday July 31, 2015 16:26

Hello Ananthakrishnan,

Yes, it is possible to do what you want with blockMesh. It may exist more than one possible approach but I have done something similar following the steps bellow:
  • Create first only the first quarter of your hollow cylinder (it's easy to do so by using only 8 vertices and joining them by arcs)
  • Create the first half of your cylinder by mirroring the quarter cylinder you previously created. To do so you have to use the utility mirrorMesh.
  • Create the complete hollow cylinder by mirroring the half one. Again, use the utility mirrorMesh adjusting properly its corresponding dictionary in the system directory.

Maybe it's not the most straightforward approach, but it worked for me in the past.

Hope it helps,

Alex

bharadwaz May 7, 2019 05:51

Quote:

Originally Posted by Ananthakrishnan (Post 556943)
Hi,

I am trying to create a annular cyclinder mesh using blockmesh similar to mesh shown below
http://s11.postimg.org/qtp8n1gur/Untitled.png

(Its hollow inbetween. Flow occurs only in the annular section)

I started with a simple cyclinder and tried deleting the central block/assigning the inbetween plane as wall/etc.... but nothing worked.

Please let me know if it is possible to create such a mesh through blockMesh or should i create a geometry and snap it..

Any help/hint would be of great use!!! :)
Thank you very much

Regards,
Ananthakrishnan

{
name cathode; // name of the set
type cellSet;
action new; // creating a new set or add
source cylinderAnnulusToCell; // using a selection box
sourceInfo
{
p1 ( 0 0 0.03 ); // start point on cylinder axis
p2 ( 0 0 0.07 ); // end point on cylinder axis
outerRadius 0.009 ;
innerRadius 0.004 ;
}
}


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