Two Sprung Masses and Some Friction Force

In Problem 13-13 from Hibbeler 14th edition, blocks A and B, of weight 8 lb and 6 lb, respectively, rest on a flat surface. A spring of stiffness 20 lb/ft is placed between the blocks. The blocks are pushed together, compressing the spring 0.2 ft, then the blocks are released to slide along the surface. … Continue reading Two Sprung Masses and Some Friction Force

Centripetal Acceleration

How can you induce element forces without defining loads or straining effects due to thermal expansion, residual stress, initial strain, or differential support motion? Centripetal acceleration! Get a mass revolving in a plane about a fixed point and a force directed radially (toward the center of revolution) is required to keep the mass from flying … Continue reading Centripetal Acceleration

How to Use with with OpenSeesPy

The with command offers a clean approach to manage Python resources, particularly file streams. Without going into detail, the with command is a shortcut for exception handling. The nice thing about reading and writing files using the with command is you don't have to worry about closing the file stream. Immediately after the with block … Continue reading How to Use with with OpenSeesPy

No Element Required

Simulating basic particle motion raises subtle, often overlooked points about OpenSees. For example, consider problem 12-1 from Hibbeler's Engineering Mechanics: Dynamics, 14th edition. A particle moves along a straight line with acceleration a=(2t-6) m/s2. What is the velocity at t=6 s and displacement at t=11 s? Assume at rest initial conditions. By integration, the exact … Continue reading No Element Required

The Hard Dynamics

I am confident that you can use OpenSees to solve all reasonable problems from textbooks on statics, structural analysis, finite elements, structural dynamics, and (most of) strength of materials. But what about engineering dynamics? The rigid body dynamics that's way more difficult than deformable body dynamics. You know, kinematics and kinetics of particles and rigid … Continue reading The Hard Dynamics

A Better Way to Find Memory Leaks in OpenSees

In a previous post, I explained how to find a memory leak in OpenSees. The basic idea was to put the analysis inside a loop, run the loop a million times, and monitor your operating system for increasing memory usage. A perfectly fine leak hunting approach--as long as you are willing to monitor your operating … Continue reading A Better Way to Find Memory Leaks in OpenSees