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

[snappyHexMesh] SnappyHexMesh not generate mesh first time

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 24, 2008, 07:43
Default SnappyHexMesh not generate mesh first time
  #1
Member
 
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 17
mavimo is on a distinguished road
Hi, I test snappyHexMesh with tutorial and work fine, after that I'm starting to test it with another object into domain.

Mesh generation
On web I find a diablo *.lwo model, with blender i generate stl (using script posted by Andrew Kink ad address http://www.cfd-online.com/OpenFOAM_D...5095#POST25114 ).
After first stl generation i check stl with admesh and using it to correct error on mesh and move it; now I have my correct STL model.

Case setting
After STL creation I genereate a simple domain with blockMesh (no boundary specs, now I'm just check mesh creation), and write my /system/snappyHexMeshDict where I specificate info for mesh creation (see link on bottom for complete case)

Problem description
If I run snappyHexMesh it fall after some step, and not complete the mesh generation. I try to enable debug function into snappyHexMeshDict (debug = 1) and it write mesh for time 2 and 3, and after still fails, but if I restart snappyHexMesh after first time (if debug = 1) it complete mash generation without problem (start from last time step write on case directory)

I test it with different mesh refinement, and into every case error occur (on different time step for every case, in accord with mesh refinement specs).


Case download:
You can find my case (with stl generate and correct) on address:
http://www.cfditalia.org/files/tmp/diablo.tar.gz

Run it:
tar -xzf diablo.tar.gz
blockMesh -case diablo
checkMesh -case diablo
snappyHexMesh -case diablo # error (write some time step)
snappyHexMesh -case diablo # generate emsh



Someone can explain me where's my error? Why if first time fall after work fine? I think problem is on saving data, after saving some info change (approximate points position?) and when restart work fine.

Thanks in advance

Marco

PS. sorry for my bad english :P
mavimo is offline   Reply With Quote

Old   August 24, 2008, 15:44
Default other info I use OpenFOAM 1.5
  #2
Member
 
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 17
mavimo is on a distinguished road
other info
I use OpenFOAM 1.5 32bit on AMD 1.7GHz / 512MB ram with Linux Ubuntu 8.04.
Alberto P write me this case work fine with OF1.5 64bit
mavimo is offline   Reply With Quote

Old   August 25, 2008, 18:16
Default Same problem here: openSUSE 1
  #3
jfb
New Member
 
Josef F. Buergler
Join Date: Mar 2009
Posts: 16
Rep Power: 17
jfb is on a distinguished road
Same problem here:
openSUSE 10.3 on Sun Ultra M2 (64bit) with OpenFOAM 1.5 patched: runs fine
openSUSE 10.3 on IBM T43p (32bit) with OpenFOAM 1.5 patched: same behaviour as mentioned by Marco Moscaritolo
jfb is offline   Reply With Quote

Old   August 26, 2008, 05:14
Default I ran your case in 64 bit and
  #4
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
I ran your case in 64 bit and 32 bit mode. Both meshing runs complete without problems.

Why do you have minimum pyramid volume set to 1e-3? This is quite a large value compared to the cell volumes so leaves very little scope to the snapper to morph to your surface.
mattijs is offline   Reply With Quote

Old   August 26, 2008, 08:08
Default @Mattijs: this is a sample to
  #5
Member
 
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 17
mavimo is on a distinguished road
@Mattijs: this is a sample to study snappyHexMesh tool, this mesh is not a fine mesh (I have other snappyHexMeshDict with param for fine mesh), but my primary problem is into mesh creation error.

Bye
Marco
mavimo 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
bash script for pseudo-parallel usage of reconstructPar kwardle OpenFOAM Post-Processing 42 May 8, 2024 00:17
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 06:28
same geometry,structured and unstructured mesh,different behaviour. sharonyue OpenFOAM Running, Solving & CFD 13 January 2, 2013 23:40
Upgraded from Karmic Koala 9.10 to Lucid Lynx10.04.3 bookie56 OpenFOAM Installation 8 August 13, 2011 05:03
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! sc298 OpenFOAM Meshing & Mesh Conversion 2 March 27, 2011 22:11


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