Curvature refinement
Quote from Nuno Carvalho on March 5, 2026, 2:38 amStill on my learning process of OpenFoam and Baram and have been going through some tutorials. I can't replicate the mesh for TransoniAifoil_RAE2822T since while performing castellation it gives the error "Castellation refinement Failed [132]" (the console data goes bellow). If don't apply curvature refinement it does not happen so assume it has something to do with it. I tried curvature refinement in other simple shapes and the same error appears. Can you please help?
I am using a Macbook Pro (Apple M4 Pro) with Tahoe 26.2.
Create time
Create mesh for time = 0
Read mesh in = 0.01 s
Overall mesh bounding box : (-6 -6 0) (8 8 0.5)
Relative tolerance : 1e-06
Absolute matching distance : 1.98053023203e-05
Reading refinement surfaces.
Read refinement surfaces in = 0 s
Reading refinement shells.
Read refinement shells in = 0 s
Setting refinement level of surface to be consistent with shells.
For geometry wing.stl detected 0 uncached triangles out of 840
Checked shell refinement in = 0 s
Reading features.
[stack trace]
Read edgeMesh wing.obj
=============
points : 2520
edges : 2521
boundingBox : (0 -0.0180194992572 -0.58551299572) (0.304800003767 0.0191421993077 0.58551299572)
Refinement level according to distance to "wing.obj" (2520 points, 2521 edges).
level 6 for all cells within 0 metre.
Read edgeMesh refin1_surface.obj
points : 8
#1 Foam::sigFpe::sigHandler(int)sh: addr2line: command not found
edges : 12
addr2line failed
boundingBox : (-0.20000000298 -0.20000000298 0) (0.699999988079 0.300000011921 0.5)
#2 _sigtrampsh: addr2line: command not found
Refinement level according to distance to "refin1_surface.obj" (8 points, 12 edges).
addr2line failed
level 0 for all cells within 0 metre.
Read edgeMesh refin2_surface.obj
points : 8
#3 Foam::triSurfaceTools::vertexTriads(Foam::triSurface const&, Foam::Field<Foam::Vector<double>> const&)sh: addr2line: command not found
edges : 12
addr2line failed
boundingBox : (-1 -1 0) (2 2 0.5)
#4 Foam::triSurfaceTools::curvatures(Foam::triSurface const&)sh: addr2line: command not found
Refinement level according to distance to "refin2_surface.obj" (8 points, 12 edges).
addr2line failed
level 0 for all cells within 0 metre.
Read features in = 0.01 s
#5 Foam::refinementSurfaces::setCurvatureMinLevelFields(double, double)sh: addr2line: command not found
addr2line failed
#6 mainsh: addr2line: command not found
Determining initial surface intersections
addr2line failed
-----------------------------------------
#7 startsh: addr2line: command not found
addr2line failed
Edge intersection testing:
=============
Number of edges : 25440
--------------------------------------------------------------------------
Number of edges to retest : 0
prterun noticed that process rank 0 with PID 29487 on node Mac exited on
Number of intersected edges : 0
signal 4 (Illegal instruction: 4).
Edge intersection testing:
--------------------------------------------------------------------------
Number of edges : 25440
Number of edges to retest : 25440
Number of intersected edges : 2
Calculated surface intersections in = 0.01 s
Initial mesh : cells:7200 faces:25440 points:11163
Cells per refinement level:
0 7200
Setting refinement level of surface to be consistent with curvature.
Calculating vertex normals
Still on my learning process of OpenFoam and Baram and have been going through some tutorials. I can't replicate the mesh for TransoniAifoil_RAE2822T since while performing castellation it gives the error "Castellation refinement Failed [132]" (the console data goes bellow). If don't apply curvature refinement it does not happen so assume it has something to do with it. I tried curvature refinement in other simple shapes and the same error appears. Can you please help?
I am using a Macbook Pro (Apple M4 Pro) with Tahoe 26.2.
Create time
Create mesh for time = 0
Read mesh in = 0.01 s
Overall mesh bounding box : (-6 -6 0) (8 8 0.5)
Relative tolerance : 1e-06
Absolute matching distance : 1.98053023203e-05
Reading refinement surfaces.
Read refinement surfaces in = 0 s
Reading refinement shells.
Read refinement shells in = 0 s
Setting refinement level of surface to be consistent with shells.
For geometry wing.stl detected 0 uncached triangles out of 840
Checked shell refinement in = 0 s
Reading features.
[stack trace]
Read edgeMesh wing.obj
=============
points : 2520
edges : 2521
boundingBox : (0 -0.0180194992572 -0.58551299572) (0.304800003767 0.0191421993077 0.58551299572)
Refinement level according to distance to "wing.obj" (2520 points, 2521 edges).
level 6 for all cells within 0 metre.
Read edgeMesh refin1_surface.obj
points : 8
#1 Foam::sigFpe::sigHandler(int)sh: addr2line: command not found
edges : 12
addr2line failed
boundingBox : (-0.20000000298 -0.20000000298 0) (0.699999988079 0.300000011921 0.5)
#2 _sigtrampsh: addr2line: command not found
Refinement level according to distance to "refin1_surface.obj" (8 points, 12 edges).
addr2line failed
level 0 for all cells within 0 metre.
Read edgeMesh refin2_surface.obj
points : 8
#3 Foam::triSurfaceTools::vertexTriads(Foam::triSurface const&, Foam::Field<Foam::Vector<double>> const&)sh: addr2line: command not found
edges : 12
addr2line failed
boundingBox : (-1 -1 0) (2 2 0.5)
#4 Foam::triSurfaceTools::curvatures(Foam::triSurface const&)sh: addr2line: command not found
Refinement level according to distance to "refin2_surface.obj" (8 points, 12 edges).
addr2line failed
level 0 for all cells within 0 metre.
Read features in = 0.01 s
#5 Foam::refinementSurfaces::setCurvatureMinLevelFields(double, double)sh: addr2line: command not found
addr2line failed
#6 mainsh: addr2line: command not found
Determining initial surface intersections
addr2line failed
-----------------------------------------
#7 startsh: addr2line: command not found
addr2line failed
Edge intersection testing:
=============
Number of edges : 25440
--------------------------------------------------------------------------
Number of edges to retest : 0
prterun noticed that process rank 0 with PID 29487 on node Mac exited on
Number of intersected edges : 0
signal 4 (Illegal instruction: 4).
Edge intersection testing:
--------------------------------------------------------------------------
Number of edges : 25440
Number of edges to retest : 25440
Number of intersected edges : 2
Calculated surface intersections in = 0.01 s
Initial mesh : cells:7200 faces:25440 points:11163
Cells per refinement level:
0 7200
Setting refinement level of surface to be consistent with curvature.
Calculating vertex normals
Quote from bykima5230416a7 on March 5, 2026, 10:29 amCurvature refinement works fine on Linux and Windows.
We should check if there's an issue on macOS.Please upload your simple sphere case, I'll take a look.
Curvature refinement works fine on Linux and Windows.
We should check if there's an issue on macOS.
Please upload your simple sphere case, I'll take a look.
Quote from bykima5230416a7 on March 6, 2026, 9:48 amWhen tested a simple case on macOS, the same problem occurred. We'll look into what the problem is. This issue will take some time to resolve.
When tested a simple case on macOS, the same problem occurred. We'll look into what the problem is. This issue will take some time to resolve.
Quote from Nuno Carvalho on March 9, 2026, 10:03 pmThanks! Please let me know then. It is important for what I intend to do.
Thanks! Please let me know then. It is important for what I intend to do.