CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > 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

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

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: www.OpenFOAM.com
6 \\/ M anipulation |
7 -------------------------------------------------------------------------------
8
...
19
20 //*****************************************//
21 Create Time
22
23 Trying to read 1128683573 tets.
24
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:
http://www.openfoam.com/mantisbt/vie...d=104#bugnotes

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, 12:39
Default
  #2
Senior Member
 
PSYMN's Avatar
 
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,662
Blog Entries: 1
Rep Power: 35
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,

Simon
__________________
-----------------------------------------
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, 13:31
Default
  #3
New Member
 
fbt
Join Date: Jan 2012
Posts: 4
Rep Power: 5
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

Reply

Thread Tools
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 On
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 3 December 5, 2012 10:55
ICEM CFD and ANSYS CFX tutorials Hutaru OpenFOAM Other Meshers: ICEM, Star, Ansys, Pointwise, GridPro, Ansa, ... 1 November 21, 2011 03: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 09:19
ICEM CFD 10.0 cannot import Tecplot mesh!!! yi CFX 1 February 13, 2006 06:07


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