CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   BlockMeshDict geometry resolvement Problem (http://www.cfd-online.com/Forums/openfoam/91976-blockmeshdict-geometry-resolvement-problem.html)

laymelek August 29, 2011 05:35

BlockMeshDict geometry resolvement Problem
 
3 Attachment(s)
Hi all,
i am trying to mesh a simple domain. I tried different mesh sizes in my Blockmeshdict. But strangely with some parameters althoung the total number of meshes are much more higher then the others geometry is not resolved at all... its keeping the wrong cells... (Note: i am always giving the same location(lover left corner) in "LocationInMesh")

Does anyone have any idea?

blockmesh (5 5 5)
Attachment 8998
blockmesh (8 8 8)
Attachment 8999
blockmesh (20 20 20)
Attachment 9000

gonpe August 30, 2011 09:27

Hi

Seems like your geometry is allowing cell leak. Is it water tight?

Sometimes, better refinement is a good way to find leaks in geometry.

Goncalo

laymelek August 31, 2011 05:21

Hi,
thanks for reply.

I am pretty sure that its water tight but ofcourse worth to check. But if its not water tight doesnt openfoam supposed to give the same result for each blockmesh options?

Thanks
Levent

gonpe August 31, 2011 08:40

Hi Levent

snappyHexMesh will subdivide the object's surface by whatever factor you prescribe. If you start off with a finer blockmesh, your surface mesh will end up being smaller.

Is this a free-floating bluff body, or a wall mounted structure?

Goncalo

laymelek August 31, 2011 08:46

to be honest i have no idea what are free-floating bluff body, or a wall mounted structure.

But if my mesh is finer in (20 20 20 ) than (8 8 8). finer mesh supposed to give better results because surface mesh is finer, no?

gonpe August 31, 2011 08:57

Hi Levent

I think your problem is not so much the blockmesh as the snappyHexMesh step.

Want kind of geometry are you trying to mesh?

Of the 3 images you showed, it seems to me that the second one is closest to what you would like to see.

Goncalo

laymelek August 31, 2011 09:06

thats right.. second one is what i want to see.. but i want to understand the fact there... why i can get the geometry with (8 8 8) mesh but not with a finer one like (20 20 20).

gonpe August 31, 2011 10:46

Hi Levent

snappy basically first refines the cells at surfaces and then removes internal cells. If it detects a way into a solid body, it won't remove that internal mesh.

Is the structure attached to a boundary created by blockMesh?

laymelek September 1, 2011 08:00

Hi Goncalo,
actually they intersect... to see the mesh clearly i defined the domain in z direction narrower then the geometry itself... there is still no leak on the geometry surface but this intersection may cause the problem... i will check and inform u guys about the result.

laymelek September 1, 2011 08:24

Hi again,
i tried to enlarge the domain so that nothing would intersect with the geometry. It works... thanks a lot!

laymelek September 1, 2011 09:27

i am mistaken..... it does not work... still works for (8 8 8) but not (10 10 10)


All times are GMT -4. The time now is 15:43.