CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Meshing & Mesh Conversion (https://www.cfd-online.com/Forums/openfoam-meshing/)
-   -   [Salome] ideasUnvToFoam gives no result (https://www.cfd-online.com/Forums/openfoam-meshing/109816-ideasunvtofoam-gives-no-result.html)

nakor November 27, 2012 09:54

ideasUnvToFoam gives no result
 
Hello,
I usually use snappyHexMesh so I am not used to converting mesh, but I wanted to try.
I used Salomé for my mesh. Once it was done, I exported it in unv format.
After that, I tried 'ideasUnvToFoam Mesh3DSalome.unv' and the output was :

Quote:

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

Sorting boundary faces according to group (patch)

Constructing mesh with non-default patches of size:

End

It did not created any mesh in 'openfoam'
My mesh seems correct as I can import it back into Salomé and it gives me the following informations :

Do you have any ideas on what I am doing wrong ?

Thanks,
Romain

Dazzler November 27, 2012 10:47

You will find many references to this problem if you do a a search - the header in the UNV file exported by Salome is incorrect. The 2nd line which says 164 should have 3 spaces before the number - not 2

nakor November 27, 2012 11:02

Thanks, it worked perfectly.
On another point, with multi region meshes, when I use splitMesh it does not create automatically patches between two differents regions (like domain1_to_domain2).

Is there any way to create them automatically or should I specify all of them inside Salomé ?

Thanks,
Romain

edit : ok, solve it, I just had to use 'partition' and not compound for my assemblies of the different objects.


All times are GMT -4. The time now is 19:36.