bouncing of a ball
In this example we show the application of the RigidWall
and RestitutionWall
constraints. It is also possible to define a rigid wall with finite dimension. The model script can be downloaded.
A mass point is used to idealize the ball. As this is a dynamics problem of rigid body, there is no need to define any material models to provide stiffness matrix. For this reason, it is possible to just define a point mass at the target point.
No matter how the gravity load is applied, it is required to define a constant amplitude that provides a constant level of either gravity force or acceleration. We define a proper amplitude first.
To apply the gravity, we use a constant vertical acceleration load, to do so,
Alternatively, a vertical load can be applied
Since the initial state is always in equilibrium, an initial condition can be added.
Free Fall
Now the model is ready to run a free fall simulation.
A default Newmark time integration algorithm will be assigned if no valid integrator is defined. The output is
The analytical displacement can be simply computed as
Rigid Wall Constraint
We define two infinite rigid wall constraints inclined and to form a right angle. The ball can bounce between two walls. Two walls are both anchored at the origin and have infinite dimension, the outer normals are and , respectively. The penalty factor is chosen to be in this particular example. Accounting for the time step defined below (), the actual penalty factor applied to the effective stiffness is .
The penalty factor can be altered to achieve different levels of satisfactions of the constraint. But higher values also result in greater high frequency noise.
It may be of interest to record the motion of the ball.
Then configure the analysis,
The results are shown as follows.
The energy of the system is not conserved. To alleviate this problem, one can use the RestitutionWall
constraint.
Restitution Wall Constraint
Elastic Collision
The constraints can be replaced by
Here the coefficient of restitution is set to 1.
Plastic Collision
One can define a plastic collision by using a coefficient of restitution smaller than unity.
Last updated