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 Community New Posts Updated Threads Search

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, 14:52
Unhappy blockMesh being killed automatically
  #1
New Member
 
Jess
Join Date: Aug 2015
Posts: 9
Rep Power: 11
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, 16:24
Default
  #2
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
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 14:17.
t.oliveira is offline   Reply With Quote

Old   April 5, 2018, 22:06
Default
  #3
New Member
 
KAWA
Join Date: Mar 2018
Posts: 4
Rep Power: 8
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, 06:31
Default
  #4
Senior Member
 
Thomas Oliveira
Join Date: Apr 2015
Posts: 114
Rep Power: 12
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

Old   November 23, 2023, 09:53
Default How to create polymesh file from bolckMeshdict outside openFoam?
  #5
New Member
 
Debabrata Adhikari
Join Date: Oct 2019
Posts: 1
Rep Power: 0
deb_uon is on a distinguished road
Hi,
Is there any other way to create polyMesh file outside openFOAM from the bolckMeshDict information? The bolckMeshDict has multiple blocks, not a single regular cubic domain. Does anyone have any comment on this? I want to make it outside openFOAM because my machine can not handle the large meshes.

Thank you,
Debabrata
deb_uon is offline   Reply With Quote

Old   November 23, 2023, 10:27
Default
  #6
Senior Member
 
Yann
Join Date: Apr 2012
Location: France
Posts: 1,200
Rep Power: 28
Yann will become famous soon enough
Hello,

There are several utilities in OpenFOAM to import mesh from other software (gmsh, Salome, ANSYS, ...)
http://www.wolfdynamics.com/wiki/mesh_conversion.pdf

But if your problem is your machine not being able handle such a large mesh, I doubt this will solve your problem. You will still end up with a mesh too large for your machine to handle, unless you change your meshing strategy.

Regards,
Yann
Yann is offline   Reply With Quote

Reply

Tags
blockmesh, blockmesh polymesh manual, ihfoam, openfoam


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 20:15
Is Playstation 3 cluster suitable for CFD work hsieh OpenFOAM 9 August 16, 2015 15:53
[blockMesh] set of xyz data in blockMesh psk OpenFOAM Meshing & Mesh Conversion 12 August 27, 2013 09:37
[blockMesh] tutorial 2.2 Stress(...) trouble with blockMesh colinB OpenFOAM Meshing & Mesh Conversion 8 January 22, 2012 11:32
Blockmesh cavity error message tonitoney OpenFOAM Installation 2 March 17, 2008 12:59


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