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

[snappyHexMesh] SnappyHexMesh Error: malloc(): invalid next size

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 22, 2022, 12:28
Default SnappyHexMesh Error: malloc(): invalid next size
  #1
New Member
 
Lei Dai
Join Date: Feb 2020
Posts: 5
Rep Power: 6
LeiFluidDynamics is on a distinguished road
Hi, all,

I am doing a mesh independence study and gradually decreasing cell size & increasing the number of cells.

My cases run normally for the number of cells < 100 million. The mesh was generated by using "blockMesh + snappyHexMesh". When I plan to run the case with the most cells, which is estimated as 400-600 million, snappyHexMesh always fails. It always stops at:
------------------------------------------------------

Shell refinement iteration 1

Marked for refinement due to distance to explicit features : 0 cells.
Marked for refinement due to refinement shells : 10166616 cells.
Determined cells to refine in = 23.2 s
Selected for internal refinement : 10194492 cells (out of 50754728)
malloc(): invalid next size (unsorted)
Aborted (core dumped)
------------------------------------------------------

Did anyone meet the same problem?

Thank you for your time!!!
LeiFluidDynamics is offline   Reply With Quote

Old   March 8, 2023, 10:29
Default
  #2
New Member
 
simone tamaro
Join Date: Jan 2023
Posts: 2
Rep Power: 0
alabardati1918 is on a distinguished road
Hi LeiFluid,


Me too! It seems related to refinements. If I don't do any the error goes away.


Ok so for me it seems due to the fact that I am trying to execute SHM through cyclic patches.

Last edited by alabardati1918; March 10, 2023 at 12:48.
alabardati1918 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
Issues with poor performance in faster CPU gian93 Hardware 9 October 29, 2018 14:34
[Other] dynamicTopoFVMesh and pointDisplacement RandomUser OpenFOAM Meshing & Mesh Conversion 6 April 26, 2018 08:30
[snappyHexMesh] Problem: after snappyHexMesh, the cells size are not the same kanes OpenFOAM Meshing & Mesh Conversion 0 January 25, 2016 09:06
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x Saxwax OpenFOAM Installation 25 November 29, 2013 06:34
critical error during installation of openfoam Fabio88 OpenFOAM Installation 21 June 2, 2010 04:01


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