How can we update the velocity during an analysis?

Forum for OpenSees users to post questions, comments, etc. on the use of the OpenSees interpreter, OpenSees.exe

Moderators: silvia, selimgunay, Moderators

Post Reply
EmadOgail
Posts: 7
Joined: Thu Feb 09, 2023 7:56 am

How can we update the velocity during an analysis?

Post by EmadOgail »

Hello friends,
I am modeling a rocking wall subjected to harmonic excitation.
When the rocking wall hits the foundation, an impact happens, and the energy is damped out.
This can be simulated by multiplying the rotational velocity of the wall by a restitution factor (less than one) when the impact happens.

I have tried these commands, but they did not work:
------------------------
set currentVelocity [nodeVel 2 3]

set updatedVelocity [expr {- 0.9 * $currentVelocity}]

set [nodeVel 2 3] $updatedVelocity
-------------------------------------------

My question: is there any way to update the rotational velocity of the wall?

Thanks
mhscott
Posts: 880
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: How can we update the velocity during an analysis?

Post by mhscott »

You cannot directly manipulate velocity like that. You should use one or more zero length elements with velocity-proportional materials.
EmadOgail
Posts: 7
Joined: Thu Feb 09, 2023 7:56 am

Re: How can we update the velocity during an analysis?

Post by EmadOgail »

Thanks for your replay,
I tried that but, in this case, the damping from impact is assumed to be continuous; however, in my case it is event-based.
The impact only happens when the rotational angle of the wall approaches zero, therefore, I want to get the velocity when the impact happens and then multiply it with a restitution factor.

Is there any solution?
EmadOgail
Posts: 7
Joined: Thu Feb 09, 2023 7:56 am

Re: How can we update the velocity during an analysis?

Post by EmadOgail »

In other words, how can we apply a velocity or initial velocity to a node such as in free vibration?
icehockeypest
Posts: 1
Joined: Mon Aug 07, 2023 2:14 am

Re: How can we update the velocity during an analysis?

Post by icehockeypest »

I think if want to apply velocity or initial velocity with absolute precision it is not possible but relative velocity can be applied. connections game
mhscott
Posts: 880
Joined: Tue Jul 06, 2004 3:38 pm
Location: Corvallis, Oregon USA
Contact:

Re: How can we update the velocity during an analysis?

Post by mhscott »

Here's an example with free vibration: https://portwooddigital.com/2021/11/20/ ... onditions/
Post Reply