-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[feature.FEM.EdgeAndCornerConnectivity] New Feature: Edge and Vertex connectivity, needed for a FEM solver #51
Conversation
- build and write edge and corner connectivity for FEM solvers - removed unused supernode - added local edge pointer
…y, needed for FEM solver
…rks, but compiles and runs.
…d periodic edge...)
…nd FEM edges, write EdgeInfo and EdgeConnectInfo to HDF5 file (to be filled)
…lled edgeInfo and edgeConnectionInfo. compiles and runs, but result not yet checked.
Hi everbody, lets dicuss here the further developments. |
…output to hdf5 still missing.
… and fully periodic boundaries. This also includes edge and vertex information.
…ged a little, but still there are bugs with periodic edges and vertices...
…ult is false, such that previously running tests work. added a new tutorials folder with cases that test that new feature explicitly, and the periodic ones still fail...
…s all examples, for all kinds of periodic meshes (all internal checks go through). Output file data still need to be checked if they are correct.
- its important to check for the periodic edges, when both firstlocaledges already exist, if they point onto the same, and if not re-pointer. this then makes all common periodic edges pointing to the same firstlocalEdge. all other edges are already unique, and thus always point to one firstlocaledge. - Analogously done for the periodic vertices. output to hdf5: - add a FEMconnect="OFF"/"ON" variable, to be able to know if the edge and vertex connectivity has been generated and written to file (paramterflag `generateFEMconnectivity=T`) - changed from modified ElemInfo back to original ElemInfo, moved edge and vertex offsets into a new FEMElemInfo. - added vertex connectivity information to hdf5. - updated the documentation of the meshformat.
ok, so I think we have now a running version with edge and vertex connectivity. I changed the elemInfo back to its original, and added the Flag
|
…s and vertices. In mesh_tools: added vtk output of Debugmesh_Faces for UniqueFaceIDs and Debugmesh_Edges for FEMedgeIDs and FEMvertexIDs.
…ultiple periodic cases.
So I added some cases for the "sphere in cube" in |
I also added a visualization of the FEM connectivity in vtu files:
|
opened an issue #56, since checks are failing, but not only because of the new feature. Actually, the |
…hich fixes case tutorials/4-05. the problem was that the triangles were not created, and the fill2.5mesh did not see this. Added abort in Fill2.5 mesh, if anything else than prism or hexa are in the mesh. In the screen output for the element types, the names prism and pyramids had to be interchanged.
I did not yet fix the FEMconnectivity cases, they seem to have a problem with periodicity... |
…opr can check it. A FEM solver should run on these meshes, to be sure.
@OttTs Now that the unstructured meshes in |
The meshes all seem to work. For the fully periodic case, I'm having some trouble getting the convergence test to work due to the constant offset. |
Very good tobi! I think we then can move forward!Btw: If you set one degree of freedom to zero, you could set it to the exact solution instead!
|
TITEL OF RELEASE: |
…CornerConnectivity
We introduce a new version 1.3.0 of HOPR, where the mesh file is extended to provide element edge connectivity and element corner or "Vertex" connectivity, which is needed for (high order) Finite Element solvers.
Version 1.3.0
stop
calls have been replaced byabort
GenerateFEMConnectivity=T/F
(default is F)GenerateFEMConnectivity=T
see documentation for the updated mesh format. The following changes to the meshfile are important:
FEMElemInfo
EdgeInfo
andEdgeConnectInfo
)VertexInfo
andVertexConnectInfo
)-
DebugMesh_Faces.vtu
visualizes all element faces with their element ID and uniqueFaceID.-
DebugMesh_Edges.vtu
visualizes all element edges (1D lines) with their element ID and uniqueEdgeID, and VertexIDs and their master/slave statusGenerateFEMConnectivity=F
will be used.TODOs before merge:
GenerateFEMConnectivity=T/F
to activate FEM output with new containerFEMElemInfo
in order to not change the original containerElemInfo
GenerateFEMConnectivity=T/F
(default is F) @fhindenlangSTOP
additionally return!= 0
, replace withabort()
@scopplestoneabort()
calls @scopplestone-
DebugMesh_Faces.vtu
visualizes all element faces with their element ID and uniqueFaceID.-
DebugMesh_Edges.vtu
visualizes all element edges (1D lines) with their element ID and uniqueEdgeID, and VertexIDs and their master/slave status