CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

failing to decompose merged meshes

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 31, 2024, 06:46
Default failing to decompose merged meshes
  #1
New Member
 
Marc
Join Date: May 2024
Posts: 4
Rep Power: 2
Marcelinus is on a distinguished road
Hi there,


I am trying to run a case with a mesh that I created by merging 3 meshes. The geometry is mixing tank with two smaller cylinders inside that contain propellers.


The mergeMeshes function works as expected and I can view the mesh in Paraview. The two smaller cylinders were meshed separatly before merging them with the bigger mesh.



When I try to use the decomposePar -force function it first runs smoothly and then results in a "segmentation fault". What I noticed was that sometimes some processors are are shown multiple times (especially in the second example). I am using the scotch method in the decomposeParDict. CheckMesh noticed 3 different regions in this mesh (not surprising). Does this have something to do with it?



If anyone else has experience with this sort of error message and shares their knowledge that would be awesome.


Many thanks for reading this.


Marcelinus



Code:
/*---------------------------------------------------------------------------*\
  =========                 |
  \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox
   \\    /   O peration     | Website:  https://openfoam.org
    \\  /    A nd           | Version:  11
     \\/     M anipulation  |
\*---------------------------------------------------------------------------*/
Build  : 11-c219200fdb8b
Exec   : decomposePar -force
Date   : May 31 2024
Time   : 12:13:47
Host   : "DESKTOP-1FUU960"
PID    : 7680
I/O    : uncollated
Case   : /mnt/c/Users/m.dieckmann/Documents/OpenFOAM/OF_Hohenheim/mergeMeshes/Flygt_Domain
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Removing 6 existing processor directories


Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decomposer scotch

Finished decomposition in 9.015625 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes

Processor 0
    Number of cells = 263141
    Number of faces shared with processor 1 = 1069
    Number of faces shared with processor 3 = 0
    Number of faces shared with processor 4 = 851
    Number of faces shared with processor 4 = 0
    Number of processor patches = 4
    Number of processor faces = 1920
    Number of boundary faces = 20165

Processor 1
    Number of cells = 263665
    Number of faces shared with processor 0 = 1069
    Number of faces shared with processor 2 = 2282
    Number of faces shared with processor 3 = 2308
    Number of faces shared with processor 4 = 1473
    Number of faces shared with processor 7 = 1848
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 58
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 2998
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 12 = 849
    Number of faces shared with processor 13 = 2152
    Number of faces shared with processor 15 = 967
    Number of processor patches = 13
    Number of processor faces = 16004
    Number of boundary faces = 71958

Processor 2
    Number of cells = 264482
    Number of faces shared with processor 1 = 2282
    Number of faces shared with processor 3 = 3119
    Number of faces shared with processor 4 = 2548
    Number of faces shared with processor 6 = 2900
    Number of faces shared with processor 7 = 1900
    Number of faces shared with processor 8 = 534
    Number of processor patches = 6
    Number of processor faces = 13283
    Number of boundary faces = 75682

Processor 3
    Number of cells = 264786
    Number of faces shared with processor 0 = 0
    Number of faces shared with processor 1 = 2308
    Number of faces shared with processor 2 = 3119
    Number of faces shared with processor 4 = 4631
    Number of faces shared with processor 5 = 1294
    Number of faces shared with processor 6 = 1048
    Number of faces shared with processor 7 = 2
    Number of faces shared with processor 8 = 3800
    Number of faces shared with processor 9 = 471
    Number of processor patches = 9
    Number of processor faces = 16673
    Number of boundary faces = 55228

Processor 4
    Number of cells = 262033
    Number of faces shared with processor 0 = 851
    Number of faces shared with processor 0 = 0
    Number of faces shared with processor 1 = 1473
    Number of faces shared with processor 2 = 2548
    Number of faces shared with processor 3 = 4631
    Number of faces shared with processor 5 = 1953
    Number of faces shared with processor 6 = 1275
    Number of processor patches = 7
    Number of processor faces = 12731
    Number of boundary faces = 72556

Processor 5
    Number of cells = 263476
    Number of faces shared with processor 3 = 1294
    Number of faces shared with processor 4 = 1953
    Number of faces shared with processor 6 = 4625
    Number of faces shared with processor 7 = 846
    Number of faces shared with processor 8 = 2209
    Number of faces shared with processor 9 = 2269
    Number of processor patches = 6
    Number of processor faces = 13196
    Number of boundary faces = 76856

Processor 6
    Number of cells = 266174
    Number of faces shared with processor 2 = 2900
    Number of faces shared with processor 3 = 1048
    Number of faces shared with processor 4 = 1275
    Number of faces shared with processor 5 = 4625
    Number of faces shared with processor 7 = 2485
    Number of faces shared with processor 8 = 2594
    Number of faces shared with processor 9 = 334
    Number of processor patches = 7
    Number of processor faces = 15261
    Number of boundary faces = 65185

Processor 7
    Number of cells = 263010
    Number of faces shared with processor 1 = 1848
    Number of faces shared with processor 1 = 0
    Number of faces shared with processor 2 = 1900
    Number of faces shared with processor 3 = 2
    Number of faces shared with processor 5 = 846
    Number of faces shared with processor 6 = 2485
    Number of faces shared with processor 8 = 2327
    Number of faces shared with processor 9 = 3525
    Number of faces shared with processor 10 = 0
    Number of faces shared with processor 11 = 0
    Number of faces shared with processor 12 = 0
    Number of faces shared with processor 13 = 0
    Number of faces shared with processor 14 = 0
    Number of faces shared with processor 15 = 0
    Number of faces shared with processor 16 = 0
    Number of faces shared with processor 17 = 0
    Number of faces shared with processor 18 = 0
    Number of faces shared with processor 19 = 0
    Number of processor patches = 18
    Number of processor faces = 12933
    Number of boundary faces = 77735

Processor 8
    Number of cells = 265001
    Number of faces shared with processor 1 = 58
    Number of faces shared with processor 1 = 0
    Number of faces shared with processor 2 = 534
    Number of faces shared with processor 3 = 3800
    Number of faces shared with processor 5 = 2209
    Number of faces shared with processor 6 = 2594
    Number of faces shared with processor 7 = 2327
    Number of faces shared with processor 9 = 5230
    Number of faces shared with processor 10 = 0
    Number of faces shared with processor 11 = 0
    Number of faces shared with processor 12 = 0
    Number of faces shared with processor 13 = 0
    Number of faces shared with processor 14 = 0
    Number of faces shared with processor 15 = 0
    Number of faces shared with processor 16 = 0
    Number of faces shared with processor 17 = 0
    Number of faces shared with processor 18 = 0
    Number of faces shared with processor 19 = 0
    Number of processor patches = 18
    Number of processor faces = 16752
    Number of boundary faces = 55549

Processor 9
    Number of cells = 262576
    Number of faces shared with processor 1 = 2998
    Number of faces shared with processor 1 = 0
    Number of faces shared with processor 3 = 471
    Number of faces shared with processor 5 = 2269
    Number of faces shared with processor 6 = 334
    Number of faces shared with processor 7 = 3525
    Number of faces shared with processor 8 = 5230
    Number of faces shared with processor 10 = 0
    Number of faces shared with processor 11 = 0
    Number of faces shared with processor 12 = 0
    Number of faces shared with processor 13 = 0
    Number of faces shared with processor 14 = 0
    Number of faces shared with processor 15 = 0
    Number of faces shared with processor 16 = 0
    Number of faces shared with processor 17 = 0
    Number of faces shared with processor 18 = 0
    Number of faces shared with processor 19 = 0
    Number of processor patches = 17
    Number of processor faces = 14827
    Number of boundary faces = 70761

Processor 10
    Number of cells = 265117
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 11 = 7071
    Number of faces shared with processor 13 = 630
    Number of faces shared with processor 14 = 3741
    Number of faces shared with processor 17 = 4023
    Number of faces shared with processor 18 = 4724
    Number of processor patches = 8
    Number of processor faces = 20189
    Number of boundary faces = 7712

Processor 11
    Number of cells = 263454
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 10 = 7071
    Number of faces shared with processor 12 = 6142
    Number of faces shared with processor 14 = 2643
    Number of faces shared with processor 18 = 3296
    Number of processor patches = 7
    Number of processor faces = 19152
    Number of boundary faces = 7896

Processor 12
    Number of cells = 263907
    Number of faces shared with processor 1 = 849
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 11 = 6142
    Number of faces shared with processor 13 = 4976
    Number of faces shared with processor 14 = 4134
    Number of processor patches = 7
    Number of processor faces = 16101
    Number of boundary faces = 9177

Processor 13
    Number of cells = 266729
    Number of faces shared with processor 1 = 2152
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 10 = 630
    Number of faces shared with processor 12 = 4976
    Number of faces shared with processor 14 = 6982
    Number of faces shared with processor 15 = 3286
    Number of faces shared with processor 16 = 4324
    Number of faces shared with processor 17 = 413
    Number of processor patches = 10
    Number of processor faces = 22763
    Number of boundary faces = 8880

Processor 14
    Number of cells = 266966
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 10 = 3741
    Number of faces shared with processor 11 = 2643
    Number of faces shared with processor 12 = 4134
    Number of faces shared with processor 13 = 6982
    Number of faces shared with processor 15 = 477
    Number of faces shared with processor 16 = 1599
    Number of faces shared with processor 17 = 1375
    Number of processor patches = 10
    Number of processor faces = 20951
    Number of boundary faces = 9409

Processor 15
    Number of cells = 264567
    Number of faces shared with processor 1 = 967
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 13 = 3286
    Number of faces shared with processor 14 = 477
    Number of faces shared with processor 16 = 7013
    Number of faces shared with processor 17 = 836
    Number of faces shared with processor 19 = 4931
    Number of processor patches = 9
    Number of processor faces = 17510
    Number of boundary faces = 11369

Processor 16
    Number of cells = 265412
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 13 = 4324
    Number of faces shared with processor 14 = 1599
    Number of faces shared with processor 15 = 7013
    Number of faces shared with processor 17 = 4906
    Number of faces shared with processor 19 = 791
    Number of processor patches = 8
    Number of processor faces = 18633
    Number of boundary faces = 5432

Processor 17
    Number of cells = 267247
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 10 = 4023
    Number of faces shared with processor 13 = 413
    Number of faces shared with processor 14 = 1375
    Number of faces shared with processor 15 = 836
    Number of faces shared with processor 16 = 4906
    Number of faces shared with processor 18 = 3215
    Number of faces shared with processor 19 = 5592
    Number of processor patches = 10
    Number of processor faces = 20360
    Number of boundary faces = 9586

Processor 18
    Number of cells = 265442
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 10 = 4724
    Number of faces shared with processor 11 = 3296
    Number of faces shared with processor 17 = 3215
    Number of faces shared with processor 19 = 5855
    Number of processor patches = 7
    Number of processor faces = 17090
    Number of boundary faces = 9766

Processor 19
    Number of cells = 266413
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 15 = 4931
    Number of faces shared with processor 16 = 791
    Number of faces shared with processor 17 = 5592
    Number of faces shared with processor 18 = 5855
    Number of processor patches = 7
    Number of processor faces = 17169
    Number of boundary faces = 8530

Number of processor faces = 161749
Max number of cells = 267247 (0.9698885333% above average 264679.9)
Max number of processor patches = 18 (91.4893617% above average 9.4)
Max number of faces between processors = 22763 (40.73039091% above average 16174.9)

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigSegv::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::hexRef8Data::hexRef8Data(Foam::IOobject const&, Foam::hexRef8Data const&, Foam::List<int> const&, Foam::List<int> const&) at ??:?
#4  Foam::domainDecomposition::writeProcs(bool) const at ??:?
#5  Foam::domainDecomposition::readDecompose(bool) at ??:?
#6  ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/decomposePar"
#7  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9  ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/decomposePar"
Segmentation fault (core dumped)
Code:
Create time



Decomposing mesh region0

Create mesh

Calculating distribution of cells
Selecting decomposer simple

Finished decomposition in 1.953125 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Distributing points to processors

Constructing processor meshes

Processor 0
    Number of cells = 502409
    Number of faces shared with processor 1 = 3296
    Number of faces shared with processor 1 = 0
    Number of faces shared with processor 1 = 0
    Number of faces shared with processor 2 = 5847
    Number of faces shared with processor 2 = 0
    Number of faces shared with processor 2 = 0
    Number of faces shared with processor 3 = 11
    Number of faces shared with processor 3 = 0
    Number of faces shared with processor 3 = 0
    Number of faces shared with processor 4 = 11993
    Number of faces shared with processor 4 = 0
    Number of faces shared with processor 4 = 0
    Number of faces shared with processor 4 = 0
    Number of faces shared with processor 4 = 0
    Number of faces shared with processor 5 = 36
    Number of faces shared with processor 5 = 0
    Number of faces shared with processor 5 = 0
    Number of faces shared with processor 6 = 7
    Number of faces shared with processor 6 = 0
    Number of faces shared with processor 6 = 0
    Number of faces shared with processor 6 = 0
    Number of faces shared with processor 6 = 0
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 7 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 8 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 9 = 0
    Number of faces shared with processor 10 = 0
    Number of faces shared with processor 10 = 0
    Number of faces shared with processor 10 = 0
    Number of faces shared with processor 10 = 0
    Number of faces shared with processor 11 = 0
    Number of faces shared with processor 11 = 0
    Number of faces shared with processor 12 = 0
    Number of faces shared with processor 12 = 0
    Number of faces shared with processor 12 = 0
    Number of faces shared with processor 12 = 0
    Number of faces shared with processor 13 = 0
    Number of faces shared with processor 13 = 0
    Number of faces shared with processor 14 = 0
    Number of faces shared with processor 14 = 0
    Number of faces shared with processor 15 = 0
    Number of faces shared with processor 15 = 0
    Number of faces shared with processor 16 = 0
    Number of faces shared with processor 16 = 0
    Number of faces shared with processor 17 = 0
    Number of faces shared with processor 17 = 0
    Number of faces shared with processor 18 = 0
    Number of faces shared with processor 18 = 0
    Number of faces shared with processor 19 = 0
    Number of faces shared with processor 19 = 0
    Number of processor patches = 54
    Number of processor faces = 21190
    Number of boundary faces = 132073

.
.
.
you get the point
.
.
.

 
Number of processor faces = 321187
Max number of cells = 502409 (89.81758721% above average 264679.9)
Max number of processor patches = 58 (17.88617886% above average 49.2)
Max number of faces between processors = 60975 (89.84267732% above average 32118.7)

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigSegv::sigHandler(int) at ??:?
#2  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#3  Foam::hexRef8Data::hexRef8Data(Foam::IOobject const&, Foam::hexRef8Data const&, Foam::List<int> const&, Foam::List<int> const&) at ??:?
#4  Foam::domainDecomposition::writeProcs(bool) const at ??:?
#5  Foam::domainDecomposition::readDecompose(bool) at ??:?
#6  ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/decomposePar"
#7  ? in "/lib/x86_64-linux-gnu/libc.so.6"
#8  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#9  ? in "/opt/openfoam11/platforms/linux64GccDPInt32Opt/bin/decomposePar"
Segmentation fault (core dumped)
Marcelinus is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
XiFoam error: Failing on multiple meshes casseer15 OpenFOAM Running, Solving & CFD 2 March 1, 2023 23:39
[snappyHexMesh] sHM in parallel, different decompose methods -> different meshes and results? Babelsty OpenFOAM Meshing & Mesh Conversion 2 December 8, 2021 07:42
[ICEM] interface between merged meshes AlexRonto ANSYS Meshing & Geometry 2 June 2, 2017 13:11
CHT Between Merged Meshes m.nichols19 OpenFOAM 0 July 14, 2010 14:33
Do Merged Patch Pairs require identical (conformal) meshes? delic OpenFOAM 1 April 19, 2010 08:05


All times are GMT -4. The time now is 08:00.