|
[Sponsors] |
Segmentation fault initiated from a region-to-region BC |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 14, 2018, 01:34 |
Segmentation fault initiated from a region-to-region BC
|
#1 |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
Hi Foamers,
I am working on a simple two solid regions heat conduction case. I got the correct result for single processor (serial). When I try to run the same case in parallel, I got a segmentation fault error. The error is indicating the library (.so) file for the BC which I have created to coupled the two region. I did the following steps: - Started from the single processor case - Added the decomposeParDict for the main system folder and for the system folder of each region - I selected the simple method for the main decomposeParDict file - I ran my solver in parallel Some threads recommend to use the preserveFaceZones, it did not work since the problem not inside the solid1 or solid2 region, but between them, and this patch/bounday between the two regions cannot be included under one processor (as far I know) since the decomposition works for each region independently. I am sure many Foamers have faced such problem, I use OF5.0 Do I need to consider any additional functionally in my BC for parallel running? Thanks to share your valuable suggestions |
|
September 15, 2018, 09:24 |
|
#2 |
Senior Member
Peter Baskovich
Join Date: Jul 2014
Posts: 127
Rep Power: 12 |
Hi Saleh,
Try the scotch method only at the top level and no region specific decomposition. Also try preservePatches instead of faceZones and be sure to add both sides of the boundary. |
|
September 15, 2018, 10:30 |
|
#3 |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
Hi Peter,
Thanks for your reply! I've a concern here, in both cases (using preservePatches or faceZones) the decomposition on the main case will result no mesh per processor per region (ex processor0/constant/solid1/polymesh). That means the parallel run can't be executed: mpirun -np xx solverName -parallel I tried that, the solver asks for the polymesh files. Regards, Saleh |
|
September 16, 2018, 09:18 |
|
#4 |
Member
Saleh Abuhanieh
Join Date: Nov 2017
Posts: 83
Rep Power: 9 |
any other ideas?
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[mesh manipulation] Importing Multiple Meshes | thomasnwalshiii | OpenFOAM Meshing & Mesh Conversion | 18 | December 19, 2015 19:57 |
Unstabil Simulation with chtMultiRegionFoam | mbay101 | OpenFOAM Running, Solving & CFD | 13 | December 28, 2013 14:12 |
[Commercial meshers] Using starToFoam | clo | OpenFOAM Meshing & Mesh Conversion | 33 | September 26, 2012 05:04 |
[Other] StarToFoam error | Kart | OpenFOAM Meshing & Mesh Conversion | 1 | February 4, 2010 05:38 |
[Gmsh] Import gmsh msh to Foam | adorean | OpenFOAM Meshing & Mesh Conversion | 24 | April 27, 2005 09:19 |