sandialabs / Albany

Sandia National Laboratories' Albany multiphysics code
Other
282 stars 89 forks source link

Add generic infrastructure to handle extruded meshes #1052

Closed bartgol closed 4 months ago

bartgol commented 6 months ago

This PR adds some infrastructure to handle extruded meshes. In particular, it adds a ExtrudedMesh class, and a ExtrudedConnManager class. Neither of these two classes stores 3d information. Instead, they store the basal mesh/conn-mgr information, along with information about the vertical extrusion. At runtime, they combine these two to provide full 3d data.

I added initial testing for the ExtrudedConnManager, but more needs to be added. The conn manager has some baked in assumptions, including

We may be able to remove the second assumption, but we would have to decide how to order dofs in that case.

bartgol commented 5 months ago

@mperego I am thinking of integrating this as is for now (assuming you have no objections), and then proceed to add more complex tests later (e.g., a FO_GIS test that uses this instead of ExtrudedSTKMeshStruct). Let me know if you disagree.

mperego commented 5 months ago

@bartgol did you test this with MALI?

bartgol commented 5 months ago

@bartgol did you test this with MALI?

Not yet. I don't expect any issue though, since it's not used anywhere except the unit tests though..

bartgol commented 4 months ago

@mperego I'm closing this PR, since I found out several issues (which have been fixed) while working on an ExtrudedDiscretization class. Adding together the two pieces of work makes it for a big PR. When I get to a point where things work, I'll figure out a way to break it into smaller PRs, so that we can review things more easily.