|
[Sponsors] |
[Salome] IdeasUnvToFoam is very slow when converting meshes |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 28, 2017, 03:31 |
IdeasUnvToFoam is very slow when converting meshes
|
#1 |
New Member
andrew
Join Date: Oct 2015
Posts: 11
Rep Power: 11 |
I have a mesh created in Salome and saved in unv format. The mesh has 16million pyramid cells and a file size 2+gb. When I try to convert it with IdeasUnvToFoam it takes forever. That is more than an hour if it doesn't hang in the process. Smaller meshes created with the exact same procedure get converted correctly so it is not a problem in the mesh.
The procedure seems to get stuck here: ... Constructing mesh with non-default patches of size: left_c 91380 right_c 92058 top 98624 bottom 97796 front_c 98736 back_c 99216 Adding cell and face zones Face Zone int 508481 .... The problem is in the IdeasUnvToFoam which seems that it can't cope to a reasonable amount of time with the conversion. I am using OF4.1 in ubuntu and salome 8.2. Is there a way to convert or save the mesh in a diferent way to get the job done in a reasonable amount of time (a few minutes)?. Patching the IdeasUnvToFoam is unfortunatey beyond my knowledge. thank you in advance |
|
May 2, 2017, 13:48 |
|
#2 |
New Member
andrew
Join Date: Oct 2015
Posts: 11
Rep Power: 11 |
after some digging I found that the major problem is at the last loop which checks every face that belongs to a facezone against every face in the mesh. That in my case creates a very big amount of checks. That is for a mesh with 5.0e+5 internal faces and a 5.0e+7 total faces a total of 25e+12 checks. Even with the early breaks it is a lot of checks...
I rearranged a bit the code in the last loop to perform fewer checks but it still takes hours. Code:
forAll(nei, j) { if (c2==own[j]) { if (c1==nei[j]) { // Info<< "first" << endl; noveau = j; break; } } if (c1==own[j]) { if (c2==nei[j]) { noveau = j; break; } } } } assert(noveau > -1); indizes[i] = noveau; } I intend to perform thousands of simulations with meshes like that so every minute counts Does anyone have anything better to suggest? |
|
Tags |
big file, conversion, ideasunvtofoam, salome |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Hex and Tet meshes - simplefoam comparison | danvica | OpenFOAM Running, Solving & CFD | 10 | January 4, 2013 02:18 |
[Commercial meshers] Several problems with the mesh conversion utility when converting the meshes from Gridgen | su_junwei | OpenFOAM Meshing & Mesh Conversion | 2 | July 27, 2008 00:58 |
[Commercial meshers] Converting Gambit Neutral Meshes | plmauk | OpenFOAM Meshing & Mesh Conversion | 2 | July 20, 2007 08:08 |
[Commercial meshers] Converting meshes that includes interfaces | ham | OpenFOAM Meshing & Mesh Conversion | 29 | January 8, 2007 09:58 |
[Commercial meshers] Converting Gambit Neutral Meshes | gschaider | OpenFOAM Meshing & Mesh Conversion | 1 | May 12, 2005 13:13 |