View Issue Details

IDProjectCategoryView StatusLast Update
0004260OpenFOAMBugpublic2025-08-08 10:04
Reporterblocksgearing0d Assigned Tohenry  
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
PlatformGNU/LinuxOSNixOSOS Version25.11
Product Version13 
Fixed in Versiondev 
Summary0004260: Crash during redistribution when using zoneGenerator with loadBalancer
DescriptionRunning a case with a zoneGenerator definition in combination with the loadBalancer dynamic mesh solver causes a crash during the mesh redistribution phase. This occurs regardless of the moveUpdate setting (true or false), and the issue is reproducible in both serial and parallel execution of the createZones utility.
Steps To Reproduce1. Use the aachenBomb tutorial as a base case.
2. Create zonesGenerator with the following cell zone:
sphere
{
    type sphere;
    zoneType cell;
    moveUpdate true;
    centre (0 0.05 0);
    radius 0.025;
}
3. Run the zone creation step using the createZones utility (either serial or parallel)
4. Start the simulation in parallel
Additional InformationNotably, renaming the zonesGenerator file to createZonesDict (and using createZones without the -zoneGenerator option) avoids the crash, and the case runs without error.
TagsNo tags attached.

Activities

henry

2025-08-05 09:26

manager   ~0013634

Why do you need to pre-generate the zones (step 3)? Surely the point of the zonesGenerator is to generate and update the zones at run-time.

blocksgearing0d

2025-08-05 12:06

reporter   ~0013635

Sure, there is no particular need to pre-generate the zones in this case and I am fine using createZonesDict for my current setup, and it works without issue as I mentioned in the Additional Information section.
I just wanted to bring the behavior to your attention in case the crash with zoneGenerator and loadBalancer is unintended. It may be useful for other users or debugging.

Thanks!

henry

2025-08-08 10:04

manager   ~0013641

Resolved in OpenFOAM-dev by commit a0fd65c0051fc11ef041f94e0e5aa41a1de589a6

Issue History

Date Modified Username Field Change
2025-08-05 07:51 blocksgearing0d New Issue
2025-08-05 09:26 henry Note Added: 0013634
2025-08-05 12:06 blocksgearing0d Note Added: 0013635
2025-08-08 10:04 henry Assigned To => henry
2025-08-08 10:04 henry Status new => resolved
2025-08-08 10:04 henry Resolution open => fixed
2025-08-08 10:04 henry Fixed in Version => dev
2025-08-08 10:04 henry Note Added: 0013641