|
[Sponsors] |
January 21, 2011, 01:37 |
Programming a mesh
|
#1 |
New Member
Dimitar Kirilov
Join Date: Jan 2011
Posts: 4
Rep Power: 15 |
Greetings,
I was told that Matlab can be used for programming the mesh for CFD problems instead of, shall we say, FORTRAN. What about Maple? Does Maple have the same capability? The reason why I am asking is that I have a little experience with both Maple and Matlab and I want to decide on which one to concentrate, at least when it comes to programming and not using commercial software. Thanks |
|
January 21, 2011, 12:20 |
|
#2 |
Senior Member
Join Date: Nov 2009
Posts: 411
Rep Power: 20 |
Maple and Matlab are both Turing complete programming languages, which means you can basically can program anything in them (almost), probably you should ask yourself in which of them it will be easier for you to implement the mesh generation code.
Do you plan to implement a unstructured mesh generator ? If yes, Matlab has some nice functionality to create a Delaunay triangulation from a set of points. Do |
|
January 21, 2011, 12:41 |
Thanks
|
#3 |
New Member
Dimitar Kirilov
Join Date: Jan 2011
Posts: 4
Rep Power: 15 |
Thanks,
That really helps. I am not planning anything in particular yet, since I am at the very beginning of my project, but a lot of the people I know are using Matlab, so I'll probably go with that too. Thank you for the help and the advice. |
|
January 21, 2011, 16:48 |
|
#4 |
Senior Member
Join Date: Nov 2009
Posts: 411
Rep Power: 20 |
You can also use an existing mesh generator, like the one included in FreeFEM++ distribution, it will give you 2D triangular meshes.
Do |
|
January 22, 2011, 14:41 |
|
#5 |
New Member
Dimitar Kirilov
Join Date: Jan 2011
Posts: 4
Rep Power: 15 |
OK, I'll try it.
Thanks again. |
|
January 23, 2011, 07:17 |
|
#6 |
New Member
Join Date: May 2009
Posts: 28
Rep Power: 17 |
You can also have a look at the GMSH [1] mesh generator; there is also Netgen for generation of unstructured meshes [2]. If you consider programming in C++ rather than Matlab someday, I can recommend the DUNE interface [3] for mesh handling. A good overview can be found in [4]...
[1] http://www.geuz.org/gmsh/ [2] http://sourceforge.net/projects/netgen-mesher/ [3] http://www.dune-project.org/ [4] http://www-users.informatik.rwth-aac...eneration.html |
|
January 23, 2011, 13:59 |
|
#7 | |
New Member
Dimitar Kirilov
Join Date: Jan 2011
Posts: 4
Rep Power: 15 |
Quote:
Thanks for the advice and for the links. |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Dynamic Mesh Problem. | Tom Clark | FLUENT | 10 | June 21, 2021 05:27 |
[ICEM] surface mesh merging problem | everest | ANSYS Meshing & Geometry | 44 | April 14, 2016 07:41 |
mesh missing after export in gambit | morteza08 | ANSYS Meshing & Geometry | 1 | July 26, 2010 02:10 |
2d irregular grid | Remy | Main CFD Forum | 1 | December 22, 2008 05:49 |
basic of mesh refinement | arya | CFX | 4 | June 19, 2007 13:21 |