|
[Sponsors] |
May 26, 2009, 18:26 |
matlab mesh generation for fluent
|
#1 |
New Member
Mike
Join Date: May 2009
Posts: 2
Rep Power: 0 |
I have been working on a elliptical mesh generator for an airfoil in matlab. I want to be able to write the mesh in a format that can be read by fluent. are there any source codes available that can do this? or other recommendations?
|
|
May 28, 2009, 23:19 |
|
#2 |
Senior Member
N/A
Join Date: Mar 2009
Posts: 189
Rep Power: 17 |
I guess fluent can read vtk meshes. Check for the documentation which gives you the details of writing vtk meshes. Another option you can try if you have tecplot is to write the ascii data in tecplot format. Open it with tecplot and export it to fluent format.
|
|
May 29, 2009, 11:58 |
|
#3 |
Member
Join Date: Mar 2009
Posts: 62
Rep Power: 17 |
Hello,
Fluent is an unstructured solver and if I understand correctly you have implemented a structured grid generation method in Matlab. You need to write your mesh in format similar with this (for a 2D mesh): n1 n2 n3 4 ............. x1 y1 ........ Where n1,n2 ... are the vertex numbers and x1 y1 are the coordinates of n1; x2 y2 the coordinates of n2 .... In order to be able to import your mesh in Fluent I suggest you to create a simple 2D mesh example in Gambit (the mesh generator of Fluent) save this mesh in neutral format (*.neu). Using this file you will be able to see how you must format your mesh file in order to be able to use it with Fluent. If you need help in coding this let me know. |
|
May 29, 2009, 12:43 |
that post lets me wonder about this
|
#4 |
New Member
amira maizi
Join Date: Mar 2009
Posts: 8
Rep Power: 17 |
can we write a UDF using matlab and implement it into Fluent?
|
|
May 31, 2009, 20:17 |
|
#5 |
Member
Join Date: Mar 2009
Posts: 62
Rep Power: 17 |
||
October 11, 2013, 08:50 |
|
#6 |
New Member
Sorin Munteanu
Join Date: Apr 2013
Posts: 27
Rep Power: 14 |
Hi Amira,
A Fluent UDF is a C library, so technically the answer is No. You can drive Fluent from Matlab, though, but that is slightly different functionality that the one you handle in UDF. It is the equivalent if running Fluent in batch from a .m file instead of doing it from a *.jou file. Sorin |
|
Tags |
fluent, matlab, mesh |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Mesh generation software is needed | H.Dou | Main CFD Forum | 12 | May 4, 2011 16:20 |
ICEM - incomplete mesh generation | ralph | CFX | 0 | June 24, 2008 00:35 |
2D mesh generation!! HELP...! | Jesper Sørensen | Main CFD Forum | 1 | October 24, 2006 18:58 |
need info on companies in mesh generation | Ramesh | Main CFD Forum | 1 | June 24, 2006 10:15 |
Mesh | Mignard | FLUENT | 2 | March 22, 2000 06:12 |