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

snappyHexMesh stops meshing

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

Reply
 
LinkBack Thread Tools Display Modes
Old   January 24, 2014, 07:45
Wink snappyHexMesh stops meshing
  #1
Member
 
James
Join Date: May 2013
Posts: 82
Rep Power: 4
Tensian is on a distinguished road
Hi Foamers,

I am trying to simulate flow across a channel with two inlets, an outlet and a wall. The model have to take in count heat transfer. I have four separated stl files (one for each boundary) and I am meshing it with OF native meshers.

I am having some problerms with snappyHexMesh. It looks a good choice for meshing but it's quite difficult to understand what this mesh generator is doing and how to set all parameters in order to obtain an optimal mesh.

When I use snappy, sometiemes I am getting errors that I cannot understand. Basically, I have three situations:

1. snappy stops meshing without no information in the log file. I attach some cases at the end of the post.
2. snappy gives an error message when creating layers in step three.
3. snappy shows a message about memorym usage.

I am running about three or four executions of snappy simoultaneously. Could this be the source of the errors?I think the CPU have enough power and memory for do that, but I am not really sure...

Also I am having problems with the use of surfaceFeatureExtract. The surface is better represented, but the mesh doesn't pass checkMesh test (skewness mainly). Have I to use this tool for all my stl files or for example is enough to use it for wall.stl?

And with layers creation, I have never achieved a good visualization of layers, because they are always collapsed in some sharp places andf sometimes they are simply not created. Does somebody have any hint about that issue?

Thanks in advance for all the help provided!If more files are needed I can provide it...
Attached Files
File Type: gz logs_snappy.tar.gz (55.8 KB, 3 views)
Tensian is offline   Reply With Quote

Old   January 25, 2014, 06:23
Default
  #2
Member
 
Julian Langowski
Join Date: May 2011
Location: Bremen, Germany
Posts: 91
Rep Power: 6
Ruli is on a distinguished road
Hi Tensian,

Quote:
Originally Posted by Tensian View Post
1. snappy stops meshing without no information in the log file. I attach some cases at the end of the post.
I will test it when I have got time.

Quote:
Originally Posted by Tensian View Post
2. snappy gives an error message when creating layers in step three.
How does it look like?

Quote:
Originally Posted by Tensian View Post
I am running about three or four executions of snappy simoultaneously. Could this be the source of the errors?I think the CPU have enough power and memory for do that, but I am not really sure...
How many cells does the mesh contain? Snappy is very RAM-intensive, especially in the layer addition phase. I would say you need 2-3 times the number of cells in GB RAM.

Bye
Julian
__________________
πάντα ῥεῖ - Heraclitus
Ruli is offline   Reply With Quote

Old   January 26, 2014, 10:54
Smile
  #3
Member
 
James
Join Date: May 2013
Posts: 82
Rep Power: 4
Tensian is on a distinguished road
Hi Ruli and thanks for your interest,

Quote:
Originally Posted by Tensian
2. snappy gives an error message when creating layers in step three.

How does it look like?

The layer mesh is not being created. You can see all the information in log_stopped_layercreation (attached in previous post).

Anyway, I attach a new case with problems in layer creation (snappyDict, log file and a image with layers collapse). This time the layers are created, but they collapse in an unknown way. Maybe somebody could give me any hint on this. I am using surfaceFeatureExtract for preserve the feature edges of my geometry.

Quote:
Originally Posted by Tensian
I am running about three or four executions of snappy simoultaneously. Could this be the source of the errors?I think the CPU have enough power and memory for do that, but I am not really sure...

How many cells does the mesh contain? Snappy is very RAM-intensive, especially in the layer addition phase. I would say you need 2-3 times the number of cells in GB RAM.

The number of elements of the final mesh is around 3-4 million cells. I will work carefully then due to memory requirements of snappy. By the way I have 32 Gb RAM and 8 procerssors, so it will be enough!

Thanks, I am impatient with finding the solution of the problem!
Tensian 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
Meshing porsche with snappyHexMesh Mirage12 OpenFOAM Native Meshers: snappyHexMesh and Others 3 August 28, 2013 04:51
snappyHexMesh stops working at "edge intersection testing" electron OpenFOAM Native Meshers: snappyHexMesh and Others 3 November 12, 2012 17:53
snappyHexMesh: problem meshing baffle (surface with zero thickness) julien.decharentenay OpenFOAM Native Meshers: snappyHexMesh and Others 7 June 16, 2012 08:12
Meshing a sphere with snappyHexMesh Cyberholmes OpenFOAM 2 July 19, 2011 16:46
meshing process stops (after surf meshing?) vaina74 Open Source Meshers: Gmsh, Netgen, CGNS, ... 5 May 27, 2011 02:32


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