CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Mesh Parallelization issues in multiRegionFoam

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 4, 2020, 08:17
Default Mesh Parallelization issues in multiRegionFoam
  #1
New Member
 
Fab
Join Date: Apr 2019
Posts: 27
Rep Power: 7
Rotidpor is on a distinguished road
Hello Foamers.


So I work on a case right now that involves 54 solid unconnected regions within a fluid region.
The problem is that I plan to do the huge calculation on a node that has 42 cores.
I would like to attribute to three cores 18 solid regions each so that the 39 remaining cores can work on CFD in the fluid region.


I tried the following workflow :


-Meshing all solids with cfMesh individually

-Then I created my three 18solid regions using mergeMesh -overwrite
-Then I created the three corresponding cellZones with topoSet.


-I then merged these three meshes into my fluid region mesh which was already topoSetted
-After this, I used : splitMeshRegions -cellZonesOnly -overwrite
-checkMesh told me that everything was fine unless a little warning for unconnected mesh regions.
-Then, when I try to : decomposePar -allRegions, I get this floating point error when he tries to construct processor meshes for the solid region :
"Cell 1contains face labels out of range: 6(6 7 8 9 -1 0) Max face index = 2215444"


Here is a bit of my checkMesh and my decomposeparDict : (I did a run test with only my fluid and two unconnected solid regions)



checkMesh :

The mesh has multiple regions which are not connected by any face.
<<Writing region information to "0/cellToRegion"
<<Writing region 0 with 771573 cells to cellSet region0
<<Writing region 1 with 333418 cells to cellSet region1
<<Writing region 2 with 333820 cells to cellSet region2


[...]

Checking basic cellZone addressing...
CellZone Cells Points VolumeBoundingBox
fluid 771573 934897 5.18368971 (-1.22889 -0.997725 -0.3482447631) (2.07346 0.971991 0.515783)
solid1_2 667238 883771 0.3893450275 (-0.811048 -0.6 -0.0135121) (1.58886 0.6 0.2221337304)



decomposeParDict :

numberOfSubdomains 20;

method scotch;


regions
{
solid1_2
{
numberOfSubdomains 1;
method simple;
coeffs {n (1 1 1);}
}
}



__________________________________________________ _


When I try to assign one processor to each solid region, everything works fine with this workflow.
Does anyone have any idea about what's going on ?
Thank you all for reading,


Fab
Rotidpor is offline   Reply With Quote

Reply


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
[ICEM] 3D Dynamic Mesh - Boundary layer mesh issues nathanricks ANSYS Meshing & Geometry 0 September 23, 2015 06:14
[ICEM] Orthogonality/Skew issues in 3D unstructured mesh eddyy19g ANSYS Meshing & Geometry 3 February 13, 2014 10:36
3D Hybrid Mesh Errors DarrenC ANSYS Meshing & Geometry 11 August 5, 2013 07:42
[ICEM] Generating Mesh for STL Car in Windtunnel Simulation tommymoose ANSYS Meshing & Geometry 48 April 15, 2013 05:24
[Gmsh] 2D Mesh Generation Tutorial for GMSH aeroslacker OpenFOAM Meshing & Mesh Conversion 12 January 19, 2012 04:52


All times are GMT -4. The time now is 13:58.