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

[blockMesh] blockMesh being killed automatically

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

Like Tree4Likes
  • 3 Post By t.oliveira
  • 1 Post By t.oliveira

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2015, 13:52
Unhappy blockMesh being killed automatically
  #1
New Member
 
Jess
Join Date: Aug 2015
Posts: 9
Rep Power: 10
jessicabp is on a distinguished road
Hello. I have been trying to create a simulation of semi-submersible platform but as it has 62 blocks, I decided to start trying to simulate just the bottom part first, which has 24 blocks. The problem is that when I use the command blockMesh, my mesh starts being generated and right after the 24 blocks get created it shoes a message saying "killed" and it stops. I thought it was a problem with my computer, so I tried to run it in other two computers, the same problem occurred. Anyone knows what the problem can be?


Thanks.
jessicabp is offline   Reply With Quote

Old   August 11, 2016, 15:24
Default
  #2
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 11
t.oliveira is on a distinguished road
Insufficient memory may be the reason why blockMesh is being killed, as explained on this post.

I needed to generate a mesh for a rectangular cuboidal domain divided into smaller identical rectangular cuboids. For this specific type of mesh, I have written a C++ program that creates the same files that would be created by blockMesh.
It is available here in case it can be useful to other people.

Using this code, I was able to generate a 500x500x500 mesh that I couldn't generate using blockMesh on my computer with 64 GB RAM. It takes 70% more time than the OpenFOAM's blockMesh, but requires 40% less memory.

[EDIT: a new version is available on the same link. Now it takes 24% more time than the OpenFOAM's blockMesh, but requires at most 80 MB, independently of the mesh size.]

Best wishes,
Thomas
KMM080, Rakkiran and anoldfriend like this.

Last edited by t.oliveira; August 12, 2016 at 13:17.
t.oliveira is offline   Reply With Quote

Old   April 5, 2018, 21:06
Default
  #3
New Member
 
KAWA
Join Date: Mar 2018
Posts: 4
Rep Power: 7
KMM080 is on a distinguished road
Dear Thomas, How I can get the file, it seems the link does not work for me, Thanks in advance
KMM080 is offline   Reply With Quote

Old   April 9, 2018, 05:31
Default
  #4
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 11
t.oliveira is on a distinguished road
Dear Kawa,

I am sorry for the broken link. I had renamed the file. It is called boxMesh.C and can be found here.

Best wishes,
Thomas
randolph likes this.
t.oliveira is offline   Reply With Quote

Reply

Tags
blockmesh, blockmesh polymesh manual, ihfoam, openfoam

Thread Tools Search this Thread
Search this Thread:

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 bjdarrer OpenFOAM Installation 7 August 25, 2020 19:15
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 14:53
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 08:37
[blockMesh] tutorial 2.2 Stress(...) trouble with blockMesh colinB OpenFOAM Meshing & Mesh Conversion 8 January 22, 2012 10:32
Blockmesh cavity error message tonitoney OpenFOAM Installation 2 March 17, 2008 11:59


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