CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: snappyHexMesh and Others

wigley hull tutorial-no snapped faces

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   July 11, 2012, 10:21
Default wigley hull tutorial-no snapped faces
  #1
New Member
 
Alessandro Pani
Join Date: Jul 2012
Posts: 21
Rep Power: 5
Dr.Faustus is on a distinguished road
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
Attached Images
File Type: jpg Screenshot-ParaView 3.10.1 64-bit.jpg (23.7 KB, 53 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (10.4 KB, 24 views)

Last edited by Dr.Faustus; July 12, 2012 at 04:39.
Dr.Faustus is offline   Reply With Quote

Old   July 12, 2012, 04:08
Default
  #2
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 9
SirWombat is on a distinguished road
Send a message via Skype™ to SirWombat
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
__________________
~~~_/)~~~
SirWombat is offline   Reply With Quote

Old   July 12, 2012, 04:49
Default
  #3
New Member
 
Alessandro Pani
Join Date: Jul 2012
Posts: 21
Rep Power: 5
Dr.Faustus is on a distinguished road
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
Attached Images
File Type: jpg Screenshot-ParaView 3.10.1 64-bit.jpg (96.9 KB, 45 views)
Attached Files
File Type: txt snappy.txt (13.4 KB, 7 views)

Last edited by Dr.Faustus; July 12, 2012 at 07:10.
Dr.Faustus is offline   Reply With Quote

Old   July 12, 2012, 08:36
Default
  #4
Member
 
Jan
Join Date: Dec 2009
Location: Berlin
Posts: 50
Rep Power: 9
SirWombat is on a distinguished road
Send a message via Skype™ to SirWombat
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!
Attached Images
File Type: jpg wigley_allessandro_600.jpg (99.6 KB, 45 views)
__________________
~~~_/)~~~
SirWombat is offline   Reply With Quote

Old   July 12, 2012, 10:25
Wink
  #5
New Member
 
Alessandro Pani
Join Date: Jul 2012
Posts: 21
Rep Power: 5
Dr.Faustus is on a distinguished road
Quote:
Originally Posted by SirWombat View Post
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
Dr.Faustus is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
No layers in a small gap bobburnquist OpenFOAM Native Meshers: snappyHexMesh and Others 2 November 25, 2012 09:54
[Other] Mesh Importing Problem cuteapathy ANSYS Meshing & Geometry 1 June 7, 2012 13:39
snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Native Meshers: snappyHexMesh and Others 2 March 27, 2011 21:11
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01
external flow with snappyHexMesh chelvistero OpenFOAM 11 January 15, 2010 20:43


All times are GMT -4. The time now is 13:18.