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/)
-   -   [snappyHexMesh] wigley hull tutorial-no snapped faces (https://www.cfd-online.com/Forums/openfoam-meshing/104513-wigley-hull-tutorial-no-snapped-faces.html)

Dr.Faustus July 11, 2012 10:21

wigley hull tutorial-no snapped faces
 
2 Attachment(s)
:) Hi to everybody,
i'm a rookie with openfoam at very first attempt...
i've some problem with snappy mesher: i've followed this tutorial:http://www.hydroniumion.de/general/s...mesh-tutorial/

andi've reached after various loop of debugging the latter steps... the only problem is that snappyhexmesh doesn't snap the face on the grid... so there's few difference between mesh at time 1 and mesh and time 2.

i've attached a screenshot to clarify the problem..

i've turned off all of meshQualityControls
Any idea?
Thanks

SirWombat July 12, 2012 04:08

Hi Allessandro

hard to tell as the link that you posted doesn't seem to work and i couldn't find the corresponding thread in the forum.

As for your SHMDict: that looks good and should actually work.

But here's a guess: In you SHMDict you put

Code:

maxGlobalCells 2000000;
and that will allow SHM to generate a maximum of 2 Mio. cells.

Have a close look at the output of snappyHexMesh whether or not it tells you that the "overall cell limit ist reached"

Otherwise attach the output of snappyHexMesh so we can have a look

You can do that by redirecting the output with ">" to a file, e.g.

Code:

snappyHexMesh > snappy.log
Or if you need to see the output while SHM is running, use "tee"

Code:

snappyHexMesh | tee snappy.log

Dr.Faustus July 12, 2012 04:49

2 Attachment(s)
Sorry for the link.... now it's correct..
here i post the snappy.log
i'm going to try some changes and than see what happens

UPDATE
after some changes i am able to obtain the level of snapping shown in attached screenshot

but now the timesteps are 4

SirWombat July 12, 2012 08:36

1 Attachment(s)
Hi Allessandro,

i tried your SHMDict with the wigley-hull-tutorial and it works just fine. I even changed blockMesh to only half the domain as shown in your screenshot.

As the mesh is little too large i had to change the following line to keep the cells under 2Mio. I left everything else unchanged.

Code:

refinementRegions { hull { mode distance; levels ((0.1 3) (0.4 2) (1 1)); } }
See screenshot attached.

The only difference I found is the version: You are using OpenFOAM 2.0.1 ... where I'm using 2.1.0 ...

So if you can try to change to OpenFoam 2.1.0.

Hope it's that simple!

Dr.Faustus July 12, 2012 10:25

Quote:

Originally Posted by SirWombat (Post 371112)
Hi Allessandro,



The only difference I found is the version: You are using OpenFOAM 2.0.1 ... where I'm using 2.1.0 ...

So if you can try to change to OpenFoam 2.1.0.

Hope it's that simple!

Hahah many thanks ^______________^ whith the 2.1.1 works well :cool:


All times are GMT -4. The time now is 04:57.