|
[Sponsors] |
How can i read mesh files made with ICEM? I want use them for my own code |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 12, 2009, 11:28 |
How can i read mesh files made with ICEM? I want use them for my own code
|
#1 |
New Member
Zoltán Hercz
Join Date: Sep 2009
Posts: 17
Rep Power: 17 |
Hi
Theres 2 type of mesh files in ICEM CFD as i know. .uns for unstructured, .domain for structured grids. I want to open them for my cfd code but i cant. I get with notepad a text with stange charachters. Until i cant read them, i do not able to interpret them. Is there anyone who know how to open them, or one who know the structure of these files? (Not only the domain file belongs to the structured grid but a .blk file that i can read, but i also cannot interpret them) Thanks for your respond! |
|
September 12, 2009, 13:03 |
|
#2 |
Member
Join Date: Apr 2009
Location: Czech Republic
Posts: 65
Rep Power: 18 |
||
September 12, 2009, 15:04 |
|
#3 |
New Member
Zoltán Hercz
Join Date: Sep 2009
Posts: 17
Rep Power: 17 |
Thanks! Its quite an extensive description. I hope i have patience to find out their structure.
|
|
September 14, 2009, 10:15 |
ASCII vs. Binary
|
#4 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
Those links only include info for the Tetin file, blocking file, etc. These are all ASCII files and can be read with a text browser.
In Zoltan is asking about mesh files, those are binary files that cannot be read with a Text editor. If he has access to ICEM CFD, he could open those file and then export them in an ASCII format like Fluent or Nastran… Simon |
|
September 14, 2009, 12:45 |
|
#5 |
Member
mechovator
Join Date: May 2009
Posts: 32
Rep Power: 17 |
Dear Save the file as part.in this will give you data in nodepad of the nodes and elements. From where you can use it in FEAp or any other program u like.
|
|
September 14, 2009, 12:55 |
further explanation.
|
#6 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
Mechovator is suggesting you output it as an ANSYS mesh input file... This is similar to the suggestion of outputting it as a Nastran or Fluent MSH file, except that the ANSYS input file format is designed for FEA codes. Because of the way the FEA codes apply bocos, you will find an ANSYS input file is much larger than the same mesh output to Fluent format. It is also more difficult to read (from a CFD user point of view).
If you are developing a CFD code, then I suggest using a popular CFD output format like Fluent msh or CGNS for optimal performance. Both of these formats are also supported by ANSYS Meshing and many other comercially avialble meshing tools, giving added flexibility to your tool. I should also add that you can use the ICEM CFD translators in batch mode to convert the UNS or domain files to the format of your choice. Do it once thru the GUI to see where the files are and what commands are needed (listed in the message window). You can also learn more about the options for each specific interface here... http://www.ansys.com/products/icemcf...interfaces.asp The link at the bottom of that page takes you to a table of specific formats to choose from. Simon |
|
September 14, 2009, 12:58 |
|
#7 |
Member
Join Date: Apr 2009
Location: Czech Republic
Posts: 65
Rep Power: 18 |
How to read/write *.uns (binary) mesh file for any format:
Libraries > Output Libraries > Domain (Native Mesh) Library Description Better ways are: - ASCII format: Simon recommendation - Binary format: through CGNS format (http://cgns.sourceforge.net/), neutral mesh format |
|
October 9, 2009, 16:32 |
|
#8 |
New Member
Zoltán Hercz
Join Date: Sep 2009
Posts: 17
Rep Power: 17 |
Thanks for all help!
Finally i managed to export mesh in .msh format easily from ICEM, after some seminar in the University. I have also put my OpenGL based MESHVIEWER software(writen in JAVA) to my homepage. You can visualize .msh (tested on certain versions, and some meshes of TGrid, Gambit,ICEM) meshes with it. Please visit my site, because I would like to see that not I am the only person who visit the site. A matrix inverter java applet can be found too here. (good for matrices with arbitrary size, but over 10x10 becomes extremly slow) www.herczz.extra.hu |
|
October 10, 2009, 22:28 |
Viewer
|
#9 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
I checked it out and it worked on several files for me...
Your file filter only let me see or select .msh files though. Now you need to work on being able to filter by element types, cut planes, etc. Some more English on your site would help also... Most of the worlds engineering is done in English. Simon Last edited by PSYMN; October 10, 2009 at 22:33. Reason: added a smiley |
|
October 11, 2009, 08:18 |
|
#10 |
New Member
Zoltán Hercz
Join Date: Sep 2009
Posts: 17
Rep Power: 17 |
You are right, I just made this mesh viewer to be sure i can read the mesh for my own cfd code. I uploaded it to my page, but i forgot to change the language to english in the matrix inverter application. And actually i able filter element types, etc, because different things(diff. element types, boundaries..) in the .msh file are grouped, and i conserved this grouping.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 15:09 |
ICEM 10 mesh question | DAK565656 | CFX | 6 | May 8, 2007 13:16 |
Design Integration with CFD? | John C. Chien | Main CFD Forum | 19 | May 17, 2001 16:56 |