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

[Salome] ideasUnvToFoam error...!

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 1 Post By elvis
  • 2 Post By RicardoLB

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 5, 2015, 08:48
Default ideasUnvToFoam error...!
  #1
New Member
 
Ricardo Lopez
Join Date: Oct 2013
Posts: 19
Rep Power: 12
RicardoLB is on a distinguished road
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
RicardoLB is offline   Reply With Quote

Old   February 5, 2015, 09:01
Default
  #2
Senior Member
 
Elvis
Join Date: Mar 2009
Location: Sindelfingen, Germany
Posts: 620
Blog Entries: 6
Rep Power: 24
elvis will become famous soon enough
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 likes this.
elvis is offline   Reply With Quote

Old   February 10, 2015, 07:19
Default Problem solved
  #3
New Member
 
Ricardo Lopez
Join Date: Oct 2013
Posts: 19
Rep Power: 12
RicardoLB is on a distinguished road
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...

Ricardo
elvis and yannis_v like this.
RicardoLB is offline   Reply With Quote

Old   December 26, 2020, 18:03
Default Sorting boundary faces according to group (patch) 0: inlet is #0 Foam::error::printS
  #4
New Member
 
Anusha
Join Date: Dec 2020
Posts: 6
Rep Power: 5
Anushaa is on a distinguished road
I still havent solved this issue , could someone please help
Anushaa is offline   Reply With Quote

Reply

Tags
ideasunvtofoam

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[OpenFOAM.org] compile error in dynamicMesh and thermophysicalModels libraries NickG OpenFOAM Installation 3 December 30, 2019 00:21
[blockMesh] blockMesh with double grading. spwater OpenFOAM Meshing & Mesh Conversion 92 January 12, 2019 09:00
[swak4Foam] GroovyBC the dynamic cousin of funkySetFields that lives on the suburb of the mesh gschaider OpenFOAM Community Contributions 300 October 29, 2014 18:00
OpenFOAM without MPI kokizzu OpenFOAM Installation 4 May 26, 2014 09:17
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 12:08.