CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[snappyHexMesh] wigley hull tutorial-no snapped faces

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 13
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, 62 views)
Attached Files
File Type: txt snappyHexMeshDict.txt (10.4 KB, 27 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: 19
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: 13
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, 52 views)
Attached Files
File Type: txt snappy.txt (13.4 KB, 10 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: 19
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, 53 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: 13
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


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
parallel run OpenFoam Srinath Reddy OpenFOAM Running, Solving & CFD 13 February 27, 2019 09:15
[OpenFOAM.org] OF2.3.1 + OS13.2 - Trying to use the dummy Pstream library aylalisa OpenFOAM Installation 23 June 15, 2015 14:49
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 13:38
createPatch Segmentation Fault (CORE DUMPED) sam.ho OpenFOAM Pre-Processing 2 April 21, 2014 02:01
DecomposePar unequal number of shared faces maka OpenFOAM Pre-Processing 6 August 12, 2010 09:01


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