Closed jginternational closed 1 month ago
Example attached freesurface_geom.gid.zip
After having discussed this with @jginternational we concluded that the issue here is having something similar to
Begin Geometries Triangle2D3
1 10 20 30
1 10 20 30
2 20 30 40
....
End Geometries
that is having the same entity repeated. Note that this is to happen in many cases (for instance having a shell with surface load conditions). Right now, we throw an error if the same geometry id is present, but the error should in our opinion be thrown if the same id with different connectivities is present. If the same id with same connectivities is only repeated information which should be simply skipped. @KratosMultiphysics/technical-committee
Note that checking for the repeated information in the writing of the pre (regardless this is GiD or another one) leads to custom and potentially inefficient writing implementations.
Should be fixed by https://github.com/KratosMultiphysics/Kratos/pull/12703.
@jginternational did you have the time to give it a try?
Free surface fails running because of this:
In the first picture we can see the the group Fluid:
In the second picture we can see the group Surface bottom:
They do share elements
In the MDPA, both groups are written as
Begin Geometries Triangle2D3
So there are elements declared 2 times, with the same id and the same connectivities. This should not be a problem, but it is.You can see the log:
Then in the submodelparts definition, each group references it's triangles.