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

What is the data structure of an unstructured mesh?

Register Blogs Community New Posts Updated Threads Search

Like Tree10Likes
  • 1 Post By FMDenaro
  • 1 Post By LuckyTran
  • 2 Post By FMDenaro
  • 1 Post By sbaffini
  • 2 Post By ander
  • 3 Post By sbaffini

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   July 15, 2023, 23:54
Question What is the data structure of an unstructured mesh?
  #1
New Member
 
Aster
Join Date: Jun 2023
Posts: 17
Rep Power: 2
Aerterliusi is on a distinguished road
I am a beginner in CFD. I am not very familiar with the data structure of unstructured meshes. Suppose I have two modules now, one is a mesh generation program and the other is a solver. What is the protocol between these two modules? Or: how is the data generated by the mesh generation program organized? Or: As a programmer who only develops the solver, what kind of data structure should I assume exists?

If the answer is very long, could you please recommend some related materials, such as books, web links, or video tutorials? If the answer is not too long, could you explain the data structure for 2D triangular unstructured mesh or 3D tetrahedral unstructured mesh? Thank you very much.

---------

After reading a response, I realized that the data structure is not all fixed. I guessed it would be like that. Actually, I don't really want to know the data structure down to the level of arrays or linked lists. I want to understand to what extent, for example, we need a data structure that allows us to input the index of a control volume to obtain the index of all vertices, and then obtain the coordinates from the index of the vertices; we need a data structure that allows us to input the index of a control volume to obtain the index of surrounding neighboring control volumes; perhaps we need to classify each control volume? Distinguish between boundary and non-boundary control volumes?

The specific implementation of the data structure can vary, but perhaps this kind of "black box", which can obtain some other information given some information such as the index of a control volume or the index of a face, is similar. Generally speaking, how many of these "black boxes" do we need to meet our needs for writing a solver? and what is the input and output of the "black boxes". i just want to get a general description of this.

Last edited by Aerterliusi; July 16, 2023 at 08:59. Reason: make question more accurate
Aerterliusi is offline   Reply With Quote

 

Tags
grid, mesh


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
[Commercial meshers] Problem with Mesh conversion from FLUENT Meshing to OpenFOAM mn17jyf OpenFOAM Meshing & Mesh Conversion 3 November 1, 2023 09:49
Bad elements after generating unstructured volume mesh max_beetle Pointwise & Gridgen 0 October 24, 2017 01:52
[Commercial meshers] fluentMeshToFoam multidomain mesh conversion problem Attesz OpenFOAM Meshing & Mesh Conversion 12 May 2, 2013 10:52
[ICEM] Just started unstructured mesh ! diamondx ANSYS Meshing & Geometry 6 September 5, 2012 07:15
Structure or unstructured mesh Nikos Siemens 2 November 9, 2006 18:35


All times are GMT -4. The time now is 19:32.