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

[snappyHexMesh] snappyHexMesh "killed"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 26, 2009, 16:15
Default snappyHexMesh "killed"
  #1
Bob
New Member
 
Bob De Clercq
Join Date: Apr 2009
Location: Belgium
Posts: 17
Rep Power: 17
Bob is on a distinguished road
Dear,

I am trying to mesh the void of a box, in which a sphere resides, with snappyHexMesh (OF1.5). After a couple of interations with the castellatedMeshControls the process is killed without any message (see below). The result is the same when I change the parameters. Does someone has experienced this too? And how to solve this problem?

The parameters used for the castellatedMeshControls are given below as well...


Many thanks!

Regards,
Bob
....

Shell refinement iteration 2
----------------------------

Marked for refinement due to refinement shells : 840 cells.
Determined cells to refine in = 0.7 s
Selected for internal refinement : 1192 cells (out of 328040)
Edge intersection testing:
Number of edges : 1029440
Number of edges to retest : 90128
Number of intersected edges : 0
Refined mesh in = 5.51 s
After refinement shell refinement iteration 2 : cells:336384 faces:1029440 points:356997
Cells per refinement level:
0 58448
1 11056
2 266880

Shell refinement iteration 3
----------------------------

Marked for refinement due to refinement shells : 0 cells.
Determined cells to refine in = 0.69 s
Selected for internal refinement : 224 cells (out of 336384)
Killed
Used parameters:
geometry
{
ball.stl
{
type triSurfaceMesh;
name ball;
}
};


castellatedMeshControls
{
maxLocalCells 1000000;
maxGlobalCells 2000000;
minRefinementCells 10;
nCellsBetweenLevels 2;

features
(
);

refinementSurfaces
{
}

resolveFeatureAngle 30;


refinementRegions
{
ball
{
mode distance;
levels ((2 2));
}
}


locationInMesh (0.1 0.1 2.6);
}
Bob is offline   Reply With Quote

Old   July 7, 2009, 07:57
Default
  #2
Member
 
Niklas Wikstrom
Join Date: Mar 2009
Posts: 86
Rep Power: 17
wikstrom is on a distinguished road
Seems to me that your are out of memory and the system kills the memory consuming process?

Secondly, use OF-1.5.x if you want to run snappyHexMesh.

/Niklas
wikstrom is offline   Reply With Quote

Old   December 1, 2011, 14:17
Default
  #3
New Member
 
Join Date: Nov 2011
Posts: 13
Rep Power: 14
0.1 watts is on a distinguished road
Hey, I also have the problem of SHM being consistently killed quite close to writing the final iteration, unless I specify a very small mesh. I monitored the memory usage and it wasn't that which caused it. Is it possible that the system is terminating the process for overheat protection - my CPU peaked at 90C? It would be odd if it is because I have previously used SHM with a core temperature peaking at 97C without any problems. Of course this is just speculation so if anyone has a better suggestion I'd be really grateful.
0.1 watts is offline   Reply With Quote

Old   December 1, 2011, 14:58
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings 0.1 watts and welcome to the forum!

OK, something is not right there... how is your machine still alive? CPUs aren't meant to run at temperatures higher than 80ºC! GPUs can handle the stress up to 90-100ºC, but CPUs will start getting severe damage when running above 80-85ºC!!

It's very possible that your CPU has been damaged already from running at such high temperatures!
I suggest that you run stressapptest on your machine to verify if there are any specific problems going on! On Ubuntu you can install it directly with the apt-get package manager:
Code:
sudo apt-get install stressapptest
On Fedora and openSUSE it shouldn't be much more different. The project page is here: http://code.google.com/p/stressapptest/

To do a good test, run it like this:
Code:
stressapptest -W --cc_test
It'll run for 20 seconds and if anything wrong happens, it will report to you something like "memory failure" or something like that. This program has been known to detect problems that memtest86+ can't detect, simply because sometimes the problems only occur when data is being transported in certain ways between CPU and RAM.

If by any chance it doesn't report any failures... then buy a new and (very) good CPU cooler for your machine before anything bad does happen, because it deserves a proper and nice cooling solution!

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   December 1, 2011, 16:48
Default
  #5
New Member
 
Join Date: Nov 2011
Posts: 13
Rep Power: 14
0.1 watts is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
Greetings 0.1 watts and welcome to the forum!

OK, something is not right there... how is your machine still alive? CPUs aren't meant to run at temperatures higher than 80ºC! GPUs can handle the stress up to 90-100ºC, but CPUs will start getting severe damage when running above 80-85ºC!!

It's very possible that your CPU has been damaged already from running at such high temperatures!
I suggest that you run stressapptest on your machine to verify if there are any specific problems going on! On Ubuntu you can install it directly with the apt-get package manager:
Code:
sudo apt-get install stressapptest
On Fedora and openSUSE it shouldn't be much more different. The project page is here: http://code.google.com/p/stressapptest/

To do a good test, run it like this:
Code:
stressapptest -W --cc_test
It'll run for 20 seconds and if anything wrong happens, it will report to you something like "memory failure" or something like that. This program has been known to detect problems that memtest86+ can't detect, simply because sometimes the problems only occur when data is being transported in certain ways between CPU and RAM.

If by any chance it doesn't report any failures... then buy a new and (very) good CPU cooler for your machine before anything bad does happen, because it deserves a proper and nice cooling solution!

Best regards,
Bruno
Hi Bruno, thanks for your welcome and assistance!

This explanation would fit in with my problems, although my laptop has passed some high load checks. I'll try meshing the same case tomorrow on the cluster at work and see if the error re-occurs. If I get problems there I'll update this thread.

Thanks for the tip on my CPU temperature; I broke my own rules by letting it get above 87! You've spurred me on to apply some new thermal paste this weekend, my laptop is in a bad way with overheating (it actually had a cooling pad at the time it approached 100C).

Incidentally I hear mixed messages about safe temperatures in notebooks; some say that any temperature up to the manufacturers Tj_max won't cause damage, and the safe temperature is lower in desktops. Anyone have some opinions on this?
0.1 watts 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
[snappyHexMesh] SnappyHexMesh running killed! Mark JIN OpenFOAM Meshing & Mesh Conversion 7 June 14, 2022 01:37
[CAD formats] Creating waterproof STL using snappyHexMesh or salome Tobi OpenFOAM Meshing & Mesh Conversion 58 May 13, 2020 06:01
[snappyHexMesh] snappyHexMesh Parallel bad size error andrewpomeroy OpenFOAM Meshing & Mesh Conversion 2 April 2, 2018 01:08
[snappyHexMesh] Running snappyHexMesh in parallel - optimizing peterhess OpenFOAM Meshing & Mesh Conversion 2 January 3, 2018 02:54
[snappyHexMesh] stitchMesh and snappyHexMesh gdbaldw OpenFOAM Meshing & Mesh Conversion 0 December 23, 2009 02:09


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