|
[Sponsors] | |||||
|
|
|
#1 |
|
Member
Mehdi
Join Date: Oct 2009
Posts: 61
Rep Power: 18 ![]() |
Would anyone please let me know how to create a cylinder using blockMesh?
I tried : Code:
vertices
(
(-1 0 0)
(0 -1 0)
(1 0 0)
(0 1 0)
(-1 0 3)
(0 -1 3)
(1 0 3)
(0 1 3)
);
edges
(
arc 0 1 (-0.707106781 -0.707106781 0)
arc 1 2 (0.707106781 -0.707106781 0)
arc 2 3 (0.707106781 0.707106781 0)
arc 3 1 (-0.707106781 0.707106781 0)
arc 4 5 (0.707106781 -0.707106781 3)
arc 5 6 (0.707106781 -0.707106781 3)
arc 6 7 (0.707106781 0.707106781 3)
arc 7 4 (0.707106781 0.707106781 3)
);
blocks
(
hex (0 1 2 3 4 5 6 7) Fluid (1 1 20) simpleGrading (1 1 1)
|
|
|
|
|
|
|
|
|
#2 |
|
Senior Member
Martin
Join Date: Oct 2009
Location: Aachen, Germany
Posts: 255
Rep Power: 23 ![]() |
Hi,
you must increase the number of elements here: Fluid (1 1 20) --> Fluid (10 10 20) Otherwise you will only have one element, which results in a cube, of course... Have a look at this thread, post #6: http://www.cfd-online.com/Forums/ope...arge-mesh.html There you can see a sketch how to make a mesh with a much better quality. Martin |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [Commercial meshers] Fluent3DMeshToFoam | simvun | OpenFOAM Meshing & Mesh Conversion | 50 | January 19, 2020 16:33 |
| Flow past a cylinder at Re 1e05 using LES, drag force coefficient is to low | Scabbard | Main CFD Forum | 21 | June 19, 2018 14:58 |
| Forces Acting on a Rotating Cylinder (Moving Mesh) | dreamchaser | CFX | 5 | April 25, 2015 07:01 |
| Problem in running ICEM grid in Openfoam | Tarak | OpenFOAM | 6 | September 9, 2011 18:51 |
| Creating cylinder in STAR-CD | Sachin | Siemens | 2 | March 6, 2008 03:53 |