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 error...! (https://www.cfd-online.com/Forums/openfoam-meshing/148160-ideasunvtofoam-error.html)

RicardoLB February 5, 2015 08:48

ideasUnvToFoam error...!
 
Greetings!

I am starting to set up some simple cases in OpenFoam, and I am trying to convert a mesh generated in Salomé to OpenFOAM format.

When running ideasUnvToFoam I get the following:

Code:

/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  2.3.0                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 2.3.0-f5222ca19ce6
Exec  : ideasUnvToFoam Mesh_2.unv
Date  : Feb 05 2015
Time  : 14:31:06
Host  : "Pancracio"
PID    : 14682
Case  : /home/ricardolb/OpenFOAM/ricardolb-2.3.0/run/meshing/Mesh1
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Disallowing user-supplied system call operations

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

Processing tag:164
Starting reading units at line 3.
l:1
units:"  SI: Meter (newton)"
unitType:2
Unit factors:
    Length scale      : 1
    Force scale        : 1
    Temperature scale  : 1
    Temperature offset : 273.15


Processing tag:2420
Skipping tag 2420 on line 9
Skipping section at line 9.

Processing tag:2411
Starting reading points at line 20.
Read 434 points.

Processing tag:2412
Starting reading cells at line 891.
First occurrence of element type 11 for cell 1 at line 892
First occurrence of element type 44 for cell 149 at line 1336
Read 0 cells and 432 boundary faces.

Processing tag:2467
Starting reading patches at line 2202.
For group 7 named Inlet trying to read 6 patch face indices.
For group 8 named Outlet trying to read 6 patch face indices.
For group 9 named Front trying to read 180 patch face indices.
For group 10 named Back trying to read 180 patch face indices.
For group 11 named Top trying to read 30 patch face indices.
For group 12 named Bottom trying to read 30 patch face indices.

Sorting boundary faces according to group (patch)
0: Inlet is #0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::sigSegv::sigHandler(int) at ??:?
#2  in "/lib/x86_64-linux-gnu/libc.so.6"
#3 
 at ??:?
#4  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#5 
 at ??:?
Segmentation fault (core dumped)

I have exahustively searched for possible explanations, and I see some people have had the same error but with no solution...

In the following link (http://www.openfoam.org/mantisbt/view.php?id=1142), it is explained as a system dependent issue... But I don't know what to do about it...

I am getting the same error with OpenFOAM 2.2.2 and 2.2.3. I am using Salome-Meca 2014.2 LGPL to generate the mesh...

Hoping for some guidance,

Ricardo

elvis February 5, 2015 09:01

Hi Ricardo,

did you try that script https://github.com/nicolasedh/salomeToOpenFOAM
mentioned http://salome-platform.org/forum/for...3165#118130563 ?

Sorry that I do not help with your question hope that script might be another work around. Heard that ideasUnvToFoam is not the best choice anyway.

RicardoLB February 10, 2015 07:19

Problem solved
 
Hey!
The problem was exclusively in the mesh generation in Salome. I first tried to convert a mesh without any face groups, and ideasUnvToFoam worked fine. Subsequently I read here and there some reccomendations and I arrived to the following steps (I am working with a single shape at the moment):

Geometry module:
a. Build geometry
b. Create groups for the boundary conditions

Meshing module:
a. Create the mesh
b. Take over the groups for the boundary conditions (surfaces) from the geometry (it is case sensitive to select "create Groups from Geometry" instead of simply "create Groups")
c. Export mesh in UNV format

With the system folder containing the controldict file and the mesh (unv format) in the root folder, ideasUnvToFoam works just fine.

And to think I messed up my graphic card settings an entire weekend trying to "solve" the problem eslewhere... :p

Ricardo

Anushaa December 26, 2020 18:03

Sorting boundary faces according to group (patch) 0: inlet is #0 Foam::error::printS
 
I still havent solved this issue , could someone please help


All times are GMT -4. The time now is 10:25.