Mesh connectivity #3241
Replies: 2 comments 10 replies
-
Welcome Alban, |
Beta Was this translation helpful? Give feedback.
-
one thing to keep in mind is that a fine cell can have multiple coarse parents. It is not requires that a fine cell be completely contained in a single coarse cell. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I'm new to the AMReX "community"!
With my research team, based in the I2M lab - Bordeaux France, we have the project to develop a CFD code based on CDO schemes (Compatible Discrete Operators ; these numerical schemes are part of the family of so-called mimetic schemes) and relying on an AMR mesh, plus an HPC component (with GPU and CPU). To do so we want to use AMReX to generate the mesh and the data structure.
CDO schemes needs to have access to mesh connectivity information. For example, for a given cell we want to have access to the neighboring cells and their faces, edges, etc... (and other information like faces centroid). The main difficulty we see at this stage concerns this connectivity information at coarse/fine interface (i.e. for cells with "hanging nodes"). In particular, when two boxes and/or patches are on different levels and on different rank, does the "dependency" of "child" and "parents" is available ? In other words, we want to know which cells are immediately neighboring a given cell, and have access to the information of these neighboring cells (fields, faces, edges, etc.)
Is there an easy way to access this type of connectivity information for meshes generated with AMReX ? Unfortunately, I couldn't find this information in the documentation... (such information seems available for EB, but is it the case for cells far from a boundary ?)
I don't know if I was clear?
I must specify that we want to develop our code in fortran, and therefore use the fortran interface proposed by AMReX.
Best Regards
Alban Vergnaud
Beta Was this translation helpful? Give feedback.
All reactions