Meshing a Cylinder Using blockMesh

Use this blockMeshDict to automatically create a structured mesh for cylinder given the radius, height and average cellSize for the final mesh. There will be 3 boundary patches for you in the final mesh: inlet, outlet, and cylinerWall. You also have the option to make the inner square curvy-like by setting the innerArc to yes.

radius      0.05;
height      0.6;
cellSize    0.003;
innerArc    yes; // yes/no

Cylinder meshing using blockMesh (inner square with curved edges)

Leave a Reply

Your email address will not be published. Required fields are marked *