CFD Online Logo CFD Online URL
Home > Forums > Software User Forums > ANSYS > ANSYS Meshing & Geometry

[ANSYS Meshing] How to import a mesh (*.msh) from Ansys Icem CFD to OpenFoam?

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

LinkBack Thread Tools Search this Thread Display Modes
Old   January 10, 2012, 09:42
Default How to import a mesh (*.msh) from Ansys Icem CFD to OpenFoam?
New Member
Join Date: Jan 2012
Posts: 4
Rep Power: 14
thyxxx is on a distinguished road

I have a problem to import a mesh-file (*.msh), which I created in Ansys Icem CFD, to OpenFoam.

Basically, the mesh describes two circular tubes sticked together like a T-Junction.
When I use the "mshToFoam <*.msh-file>"-command, I receive the following ERROR:

1 /*---------------------------------------------------------------------------*\
2 ========= |
3 \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
4 \\ / O peration | Version: 1.7.1
5 \\ / A nd | Web:
6 \\/ M anipulation |
7 -------------------------------------------------------------------------------
20 //*****************************************//
21 Create Time
23 Trying to read 1128683573 tets.
25 Segmentation fault

I have no idea why I receive the "Segmentation fault"-Error, which mistake causes the Error OR where I have to search for the mistake.

I already checked the memory, and there should be enough memory to handle this conversion. This should not be the reason.

I found this following Error-description which could have the same origin:

But honestly, it doesn't help me to fix the Problem.

Does somebody has an idea what to do to find the mistake resp. solve the problem? Perhaps somebody had this problem before and knows how to fix it?

Many thx
thyxxx is offline   Reply With Quote

Old   January 11, 2012, 11:39
Senior Member
PSYMN's Avatar
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47
PSYMN has a spectacular aura aboutPSYMN has a spectacular aura about
A segmentation fault is usually memory related. Are you sure that you can handle over a billion tetras? Few people can.

I would suggest trying a smaller *.msh file just to make sure you can handle something basic. Try something with less than a million cells just to check your process.

Best regards,

Please help guide development at ANSYS by filling in these surveys

Public ANSYS ICEM CFD Users Survey

This second one is more general (Gambit, TGrid and ANSYS Meshing users welcome)...

CFD Online Users Survey
PSYMN is offline   Reply With Quote

Old   January 19, 2012, 12:31
New Member
Join Date: Jan 2012
Posts: 4
Rep Power: 14
thyxxx is on a distinguished road
ok, i got it.

the memory wasn't the reason for the error during the mesh-import.
there are differences between *.msh-files, although the ending ".msh" is the same.

in my case i used the "FluentV6x"_solver to export the mesh from Ansys, and in OF i used "fluentMeshToFoam" to import the mesh.
following this export/import-procedure, it was finally possible to import the mesh in OF and run simulations on it.

Thank you very much for your help.
thyxxx is offline   Reply With Quote


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
ICEM CFD: Import STL file error 8leemichael ANSYS Meshing & Geometry 4 October 22, 2015 22:46
ICEM CFD 10.0 cannot import Tecplot mesh!!! yi CFX 2 September 30, 2015 14:07
[Commercial meshers] ICEM CFD and ANSYS CFX tutorials Hutaru OpenFOAM Meshing & Mesh Conversion 1 November 21, 2011 02:38
Scale meshing ANSYS ICEM CFD Giannis191919 ANSYS Meshing & Geometry 0 September 30, 2011 05:47
how to export mesh from ICEM CFD to Ansys siv CFX 10 March 23, 2006 08:19

All times are GMT -4. The time now is 22:29.