Hello, I have a 2D propped cantilever model. Nothing fancy - two orthogonal beanWithHinge elements set up between 3 nodes. Two nodes are constrained in all DOF and one is free. Within the analysis, I try to use
to simulate element loss. The program crashes without even going on to the analysis phase!!!
If I limit myself to removing only the element and loadPattern, the program willl not crash, but of course if I issue an analysis command later on it will not converge because one node will be unconnected to any elements. Any idea as to what might be wrong with the
i have had problems with this, too. and, ultimately i do think there is a problem with opensees, but i don't remember.
however, the order in which you remove things is important, you can't remove nodes before you remove a load pattern, the load-pattern removal should be done first, then the elements, then the nodes -- top to bottom kind of thing.
hope this helps, and let me know if you still have problems.
tomorrow i'll try to remember to find my e-mail to frank about this.
silvia
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Thanks, Silvia, for a very prompt reply on a Sunday I had tried this. I have also dug into the code and found that there is a "remove sp" command, which supposedly removes constraints and "fix" commands". I tried to understand the syntax for that from the coding and I think I got it properly ow to identify an sp-constraint tag. Anyway, when I tried doing that, it didn't help, and didn't do nothing worse, either. So, I can remove elements, loadPatterns, possibly constraints, but the moment I uncomment the line saying "remove node 3", and source in the file, it crashes wihtout even going into the analysis phase. Seems to me there is some memory leak left there in the implementation somewhere.
Here is the code. Ideally, the "dummy" element 3 should be commented out, and the two commented-out lines near the very end should be uncommented. However, the program crashes before performing the analysis command. Adding the "dummy" element and commenting out the node removal lines was a way to test that the model is otherwise fine and running. However, the dummy element should eventually go and nodes that have no elements attached to them after an element fails should be removed to avoid a singularity.