Segmentation Fault (Signal 11) in chtMultiRegionSprayFoam (v2312) at patchFaceMixture during Parallel Run
Hi everyone,
I am struggling with a persistent Segmentation Fault (signal 11) while running a custom solver (based on chtMultiRegionFoam + sprayFoam) in parallel on OpenFOAM v2312. The simulation involves a fluid region and three solid regions (bDisc, pad1, pad2).
The solver crashes immediately at the first time step when it starts solving the solid region bDisc. I have already tried disabling the spray cloud, but the error persists, which leads me to believe the issue is related to the coupled heat transfer at the interfaces.
The stack trace points to a crash in patchFaceMixture and turbulentTemperatureRadCoupledMixedFvPatchScalarField::deltaH():
#3 Foam::multiComponentMixture<...>::patchFaceMixture(int, int) const
#4 Foam::heThermo<...>::he(...) const
#5 Foam::compressible::turbulentTemperatureRadCoupledMixedFvPatchScalarField::deltaH() const
What I've configured:
- Version: OpenFOAM v2312.
- Decomposition:
scotchmethod with 3 processors. - Regions: 1 Fluid, 3 Solids.
- Boundary Conditions: Using
turbulentTemperatureRadCoupledMixedfor the thermal coupling.
Questions:
- Has anyone encountered Segfaults specifically in
patchFaceMixtureduring parallel CHT runs? - Could this be related to how
scotchdecomposes the coupled patches across processors?
p/s: I have provided the log.decomposePar and log.run files in the comments below.