CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

unstructued mesh generation for my own fv code

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 13, 2014, 20:10
Default unstructued mesh generation for my own fv code
  #1
New Member
 
Desanga
Join Date: Dec 2013
Posts: 19
Rep Power: 12
desanga is on a distinguished road
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
desanga is offline   Reply With Quote

Old   April 13, 2014, 23:06
Default
  #2
Member
 
Join Date: May 2012
Posts: 68
Rep Power: 13
som87 is on a distinguished road
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
som87 is offline   Reply With Quote

Old   April 14, 2014, 02:59
Default
  #3
Senior Member
 
sbaffini's Avatar
 
Paolo Lampitella
Join Date: Mar 2009
Location: Italy
Posts: 2,152
Blog Entries: 29
Rep Power: 39
sbaffini will become famous soon enoughsbaffini will become famous soon enough
Send a message via Skype™ to sbaffini
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.
sbaffini is offline   Reply With Quote

Old   April 14, 2014, 04:45
Default
  #4
New Member
 
Desanga
Join Date: Dec 2013
Posts: 19
Rep Power: 12
desanga is on a distinguished road
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
desanga is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 17:44.