|
[Sponsors] |
unstructued mesh generation for my own fv code |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
April 13, 2014, 20:10 |
unstructued mesh generation for my own fv code
|
#1 |
New Member
Desanga
Join Date: Dec 2013
Posts: 19
Rep Power: 12 |
Hello,
I m beginner for cfc coding. But I have experience with commercial codes and open source coded like fluent, openfoam. I'm thinking about write my own finite volume code for my research. But problem is how I'm going to get required mesh (unstructured) for this code. I have access To ansys icem or other open source mesh generators How I'm going adapt meshes which are generated by third-party Software for my own code. Your Valuable comments are appreciated Thanks in advance |
|
April 13, 2014, 23:06 |
|
#2 |
Member
Join Date: May 2012
Posts: 68
Rep Power: 14 |
Why not just use cgns format...?
Most mesh generator has option to save mesh in cgns & it'll save you a lot trouble.
__________________
Best wishes, Somdeb Bandopadhyay |
|
April 14, 2014, 02:59 |
|
#3 |
Senior Member
|
Basically, all the grid generators will provide you with a minimum information regarding node location and connectivity, grouping of the different cell/face zones and the related boundary conditions.
It might depend from your specific code but, in general, you likely need to store all these information. Additionally, you might need to pre-compute some additional information and store it, like face normals and areas, cell volumes, additional connectivity relations (node-cells, cell-faces, etc.). It is not clear if you are asking for a suitable mesh generator and output format or simply a storage method for such information. In the first case i would say to promote usability for your code, which means using an input format allowing using your expected input or a very common one. In this case, it seems to me that the input used by OpenFOAM or Fluent is in such format because: - you already have used both - they are certainly the two most common format in CFD today - OpenFOAM is likely to have a mesh converter from any other format to its own, has free mesh generators and additional tools to manipulate the mesh If you are asking for a storage method the question is fairly more complicated and depends from several factors. Serial vs. parallel, dynamic vs. static mesh, etc. Still, i think that a static data structure is probably the preferred choice today. You should elaborate more on your specific needs. |
|
April 14, 2014, 04:45 |
|
#4 |
New Member
Desanga
Join Date: Dec 2013
Posts: 19
Rep Power: 12 |
Thanks all for quick reply,
I just want to use mesh generated by 3rd party tool(ICEM) in my code. That mean read nodes and cells and process using my codes and save the state in suitable format for further analysis. As som87 said I focused on CGNS format which is popular among in many mesh generation sw. Thanks |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
New Mesh Generation and Pre-Processing Forums | pete | Site News & Announcements | 2 | December 26, 2012 17:56 |
[snappyHexMesh] snappyHexMesh won't work - zeros everywhere! | sc298 | OpenFOAM Meshing & Mesh Conversion | 2 | March 27, 2011 21:11 |
Convergence moving mesh | lr103476 | OpenFOAM Running, Solving & CFD | 30 | November 19, 2007 14:09 |
3-d elliptic generation mesh | Gang Sun | Main CFD Forum | 5 | September 16, 1998 00:24 |