You Have to Make the Analysis Fail

If you coded a UniaxialMaterial or any other constitutive model or element in OpenSees, you had to implement pure virtual methods commitState(), revertToLastCommit(), and revertToStart(). The behavior of each method is pretty clear: commitState() - After convergence of the global solution at the current time step, get the material ready for the next time step. This typically involves swapping history … Continue reading You Have to Make the Analysis Fail

How to Use pytest with OpenSees

Despite plentiful constitutive models and analysis options, testing and verifying OpenSees has been quite limited. At this point, going back and testing all the contributions from the last 25 years is a nearly insurmountable task. But, as the saying goes: The best time to start testing OpenSees was 25 years ago.The second best time is … Continue reading How to Use pytest with OpenSees