|
[Sponsors] |
July 5, 2011, 07:18 |
Exporting a mesh to read in MATLAB
|
#1 |
New Member
Join Date: Jun 2011
Posts: 5
Rep Power: 15 |
Hi
I'm currently doing a MSc project on mesh quality. I can create the meshes in any program I like but must do the analysis of them in MATLAB (the main part of my project is to write a program that can do this). The meshes I need to analyse must be of mixed cell type so I would like to use Ansys meshing to produce these as this is what I'm familiar with. Unfortunately I can't seem to find any file types that either the meshing program in ANSYS workbench or the ICEM cfd program can export to that can also be read by MATLAB. Has anyone else tried to do anything like this? I need to be able to read in both 2D and 3D meshes. Any help much appreciated. |
|
July 6, 2011, 15:41 |
|
#2 |
Senior Member
Simon Pereira
Join Date: Mar 2009
Location: Ann Arbor, MI
Posts: 2,663
Blog Entries: 1
Rep Power: 47 |
There are many ASCII mesh types that can be output...
You just need to work out something it MATLAB to read the files correctly. Does MATLAB have a generic mesh format that it can already read?
__________________
----------------------------------------- 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 |
|
July 7, 2011, 09:32 |
|
#3 |
New Member
Join Date: Jun 2011
Posts: 5
Rep Power: 15 |
Hi
I've now got an ASCII file that MATLAB can read which is great. As you say, now I've just got to work out a way of getting MATLAB to read it in a way that can store the information as I want it. I don't believe there is a standard mesh file that MATLAB can read. MATLAB can create its own meshes but not with the types of cells that I need. Thanks for your help though, I just need to trawl the internet for MATLAB help now instead! |
|
May 25, 2013, 07:07 |
Gmsh
|
#4 |
New Member
Goth ydamil
Join Date: Mar 2013
Posts: 13
Rep Power: 13 |
hello everybody
I have a problem in my program , I can't convert 3D GMSH to matlab thank you very much |
|
July 18, 2013, 12:57 |
|
#5 |
New Member
Aoife Considine
Join Date: Jul 2013
Posts: 4
Rep Power: 13 |
Hi guys,
I'm trying to do something similar; create a 3D mesh in ANSYS and then export the data of said mesh to a file that I can then read using Matlab. I have an old neutral (.neu) file from Gambit that used to hold the info of a mesh that Matlab would read but I'm having trouble exporting a similar file using ANSYS. I've tried using ICEM CFD but I keep getting errors when I'm trying to export my mesh. While file format should I be exporting as to get something similar as to what I was getting with Gambit? any help at all would be seriously great! Thanks! |
|
July 18, 2013, 21:47 |
|
#6 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 26 |
Aoife,
Maybe try the Fluent .msh format. It is very well documented in the Appendix of the Fluent User Guide. Stu |
|
Tags |
ansys, matlab, mesh export |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Gambit problems | Althea | FLUENT | 22 | January 4, 2017 04:19 |
[snappyHexMesh] SnappyHexMesh for internal Flow | vishwa | OpenFOAM Meshing & Mesh Conversion | 24 | June 27, 2016 09:54 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 07:20 |
Inner geometry gets lost exporting mesh from ICEM CFD to CFX-Pre | powpow | CFX | 3 | December 20, 2012 10:14 |
[Gmsh] 2D Mesh Generation Tutorial for GMSH | aeroslacker | OpenFOAM Meshing & Mesh Conversion | 12 | January 19, 2012 04:52 |