View Issue Details

IDProjectCategoryView StatusLast Update
0003792OpenFOAMBugpublic2022-01-24 18:58
ReporterLeiFluidDynamics Assigned Tohenry  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
PlatformManjaroOSOtherOS Version(please specify)
Summary0003792: SnappyHexMesh Error: malloc(): Invalid next size (unsorted)
DescriptionHi, all,

I met a problem when using snappyHexMesh to generate mesh.

What I try to do is to subtract a cylinder from a block using snappyHexMesh. It runs well when the number of background mesh, which is generated by blockMesh, is lower than 100 million. When the total number of grids increases to more than 100 - 300 million, snappyHexMesh always crashes at "Shell refinement iteration" and show error messages:

Foam::error::printStack(Foam::Ostream&)malloc(): invalid next size (unsorted)

Moreover, sometimes the error becomes "Segmentation error".

Initially, I thought it might be lack of RAM but I increased RAM to 3600 Gb, the problem still exists.
TagsNo tags attached.

Activities

henry

2022-01-24 17:29

manager   ~0012430

Have you compiled OpenFOAM with 64bit labels?

LeiFluidDynamics

2022-01-24 18:03

reporter   ~0012431

Hi, Henry,

Thank you for your reply. I am using Docker version OpenFoam 8.0 and mesh generation & CFD computation run normally for the cases with mesh number less than 100 million. When I increase the number of background mesh, the problem occurs.

Kind Regards,

henry

2022-01-24 18:58

manager   ~0012432

To create a mesh that large you will need to compile OpenFOAM with 64bit labels.

henry

2022-01-24 18:58

manager   ~0012433

User support request

Issue History

Date Modified Username Field Change
2022-01-24 16:50 LeiFluidDynamics New Issue
2022-01-24 17:29 henry Note Added: 0012430
2022-01-24 18:03 LeiFluidDynamics Note Added: 0012431
2022-01-24 18:58 henry Note Added: 0012432
2022-01-24 18:58 henry Assigned To => henry
2022-01-24 18:58 henry Status new => closed
2022-01-24 18:58 henry Resolution open => no change required
2022-01-24 18:58 henry Note Added: 0012433