-
Notifications
You must be signed in to change notification settings - Fork 91
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
[Bug] triaxial Driver cannot be running with develop repo #1891
Comments
Due to some of the changes in #1847, it is now necessary to define at least one (dummy) Previously, the mesh generation process would partially populate the face-to-element maps, such that even in absence of regions, in would contain some element indices, and this check would pass: With the new algorithm, the maps remain completely empty (i.e. If everyone is on board with the changes, removing the above check should be an easy fix. Care needs to be taken to ensure other components of the code (e.g. stencils) are also capable of handling (skipping) unconnected faces. Finally, it would also be helpful to try eliminate the need for a dummy mesh in |
But are those checks legit when it comes to real simulation situations? I think they do?
In principle we could also argue that
I agree that this can be convenient anyway. Also, could we add the missing |
The problem (if I can call it that) lies in the separation of responsibilities: mesh generators produce all cell blocks that were requested, along with other adjacent entities (faces, nodes, etc.), and the decision on what is used and what isn't is made later by the user defining element regions. We could of course collect a list of "used" cell block names beforehand, and pass them to |
We can safely skip faces/edges/nodes that are not attached to elements regions. Most code paths will already handle this correctly (e.g. |
By adding the following
|
Great that it works @jhuang2601 @klevzoff Could the "real problem" also be that our "dummy" mesh is not that "dummy"? It's one hex cell. |
Solution is found for running this case. Long term solution for how to remove "dummy" mesh has not been decided. |
Describe the bug
Reran a triaxialDriver example with latest develop repo and it does not work any more. The case was up and running previously and something must be broken.
To Reproduce
Steps to reproduce the behavior:
The xml file for the testing example is attached below:
case.zip
Run it with the develop repo to reproduce the reported issue
Screenshots
Platform (please complete the following information):
bb16d72
The text was updated successfully, but these errors were encountered: