CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Mesh Utilities

SnappyHexMesh not generate mesh first time

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 24, 2008, 06:43
Default Hi, I test snappyHexMesh with
  #1
Member
 
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 8
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, 14:44
Default other info I use OpenFOAM 1.5
  #2
Member
 
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 8
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, 17:16
Default Same problem here: openSUSE 1
  #3
jfb
New Member
 
Josef F. Buergler
Join Date: Mar 2009
Posts: 16
Rep Power: 8
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, 04:14
Default I ran your case in 64 bit and
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 16
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, 07:08
Default @Mattijs: this is a sample to
  #5
Member
 
Marco Moscaritolo
Join Date: Mar 2009
Location: Bergamo, Italy
Posts: 33
Rep Power: 8
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

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
Inside and outside mesh with snappyhexmesh nzy102 OpenFOAM Native Meshers: snappyHexMesh and Others 17 May 8, 2013 17:04
Surface boundary mesh in snappyHexMesh bastil OpenFOAM Mesh Utilities 7 February 3, 2012 08:37
Inside and outside mesh with snappyhexmesh nzy102 OpenFOAM Mesh Utilities 0 August 31, 2008 23:50
Inside and outside mesh with snappyhexmesh nzy102 OpenFOAM Mesh Utilities 0 August 31, 2008 23:44
Need someone to generate mesh RA FLUENT 7 May 4, 2007 11:36


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