Model Verify

Overview

You can use the Model Verify tool to check for error conditions in your model, such as misaligned joints, unconstrained parts, or massless parts in dynamic models. The Model Verify tool alerts you to other possible problems. It is a good tool to use periodically as you add detail to or refine your model. The following sections explain how to verify your model and describe more about over constraining your model.

Verifying a Model

To verify a model, do one of the following:

  • From the Simulation Tool Palette, select Model Verify.
  • From the Simulation and Scripted Simulation tools, select the Model Verify Tool .

An information window appears with information about the model as shown in the figure below:

Algebraic Equations of Motion

Constraints in Adams remove DOF from your model by adding algebraic constraint equations to the governing system of DAEs (Differential and Algebraic equations). The different constraints in the Adams constraints library remove different types and number of DOF. Joints can remove anywhere from one to six DOF, depending on their type.

Mathematically, however, Adams Solver represents similarly constrained DOF with similar algebraic equations. The following are representative of the type of algebraic equations Adams Solver uses to represent DOF constrained by joints:

Number Equation Description
1 Xi-Xj = 0 Global X coordinate of the I marker must always remain identical to the global X coordinate of the J marker.
2 Yi-Yj = 0 Global Y coordinate of the I marker must always remain identical to the global Y coordinate of the J marker.
3 Zi-Zj = 0 Global Z coordinate of the I marker must always remain identical to the global Z coordinate of the J marker.
4 Zi♦• Xj♦ =0 Z-axis of the I marker must always remain perpendicular to the X-axis of the J marker (which means no rotation about the common Y-axis).
5 Zi♦• Yj♦ =0 Z-axis of the I marker must always remain perpendicular to the Y-axis of the J marker (which means no rotation about the common X-axis).
6 Xi♦• Yj♦ =0 X-axis of the I marker must always remain perpendicular to the Y-axis of the J marker (which means no rotation about the common Z-axis).
  • Equation 1 through Equation 3 constrain translational DOF
  • Equation 4 through Equation 6 constrain rotational DOF

The table below lists some of the most common joints and the equations that are used to represent them:

Joint Type Equations
Fixed Six equations (Equations 1 through 6)
Spherical Three equations (Equations 1 through 3)
Revolute Five equations (Equations 1 through 5)
Translational Five equations (Equations 1, 2, 4, 5, and 6)
Inline Two equations (Equations 1 and 2)

Notice that each of the five joints uses Equations 1 and 2. Duplicating constrained DOF between the same parts can lead to over constraining your model and introduce redundant constraint equations.

Adams Solver outputs warning messages to help you understand which equations are redundant and, therefore, which DOF are removed more than once.

Redundant Constraint Checking

When building a model, you may find that you define a pair of constraints that constrain two parts in exactly the same way, and so remove identical Degrees of Freedom (DOF) from your model. For example, when modeling a door that is connected to a ground-fixed door frame, you might add two hinges (revolute joints) to restrict the door's movement, but this is unnecessary. In mathematical terms, the constraint equations of both constraints are redundant with each other because they each remove the same five DOF.

In a physical mechanical system, it might be necessary to have two constraints that restrict the same DOF because of deformation of the parts and joint-play in the connections. In an ideal mathematical model, however, where parts are rigid and joints do not permit any play, only one of the constraints is required and the other constraint is redundant.

Redundant constraints are either consistent or inconsistent. Redundant constraints are consistent if a solution satisfying the set of independent constraint equations also satisfies the set of dependent or redundant constraint equations. Using the example of the door, the constraints are consistent whenever the axes of the two hinges are aligned. If, however, the axes of the two hinges are not aligned, the door cannot move without breaking one of the hinges. In this case, the two hinges are inconsistent.

When the analysis engine, Adams Solver, encounters redundant constraints, it determines which constraints are redundant, removes them from the set of equations, and provides a set of results that characterizes the motion and forces in the model. In this way, Adams Solver can solve the equations of motion but only if the constraints are consistent. Note that models with redundant constraints do not have a unique solution. Solutions other than the one Adams Solver provides can also be physically realistic.

Redundant constraints that are initially consistent can become inconsistent as your model simulates over time. Adams Solver stops simulating as soon as the redundant constraints become inconsistent. For example, consider a planetary gear system with redundant constraints. Slight misalignment errors can accumulate over time, eventually resulting in a failure of the consistency check. If this occurs, you can remove the redundant constraints or replace them with flexible connections.

Consistent Gears that Become Inconsistent

In the case of the door with two hinges, Adams Solver ignores five of the constraint equations that it finds redundant. You do not know which equations Adams Solver ignores, however. If Adams Solver ignores all the equations corresponding to one of the hinges, then all the reaction forces are concentrated at the other hinge in the Adams Solver solution. Adams Solver arbitrarily sets the reaction forces to zero at the redundant hinge. But Adams Solver might not discard all the equations for one hinge and retain all the equations from the other. It might just as easily retain one or more equations from each and discard one or more from each.

Although Adams Solver still provides the physically correct solution, the simulation may require extra computational effort to constrain the motion when all of the constraint forces and torques are concentrated at one end of the door. Consequently, it is always a good idea to carefully select your constraints and define models without any redundancies. For example, you can construct the model of the door with a spherical joint and a parallel-axes constraint instead of the single revolute joint.

Door Frame with Spherical and Parallel-axes Constraints 

When you verify your model or run a simulation, Adams Solver tells you which constraints are redundant. To solve the redundancy, try replacing a redundant idealized joint with a joint primitive. You may also want to replace redundant constraints with approximately equivalent flexible connections.

Adams Solver does not always check the initial conditions set for a constraint when it performs over constraint checking. If you apply a motion on one joint and initial conditions on another joint, check to ensure that they are not redundant because Adams Solver does not check them for redundancy and your model may lock up when simulation begins. As a rule, do not specify more initial conditions than the number of DOF in your model.

Redundant Constraint Messages Examples

Converting a Revolute Joint to a Spherical Joint

If in your model, Joint_7 is a revolute joint, and Adams gives you the following warning messages, then you have two redundant constraint equations:

Joint_7 unnecessarily removes Rotation Between Zi and Xj

Joint_7 unnecessarily removes Rotation Between Zi and Yj

These messages indicate that the rotational constraint equations 4 and 5 that the revolute joint introduces are not needed. Therefore, you could replace the revolute joint with a spherical joint since it does not use these equations.

Converting a Translational Joint to an Inline Joint Primitive

If in your model, Joint_29 is a translational joint, and Adams displays the following warning messages, then you could change Joint_29 from a translational joint to an inline joint to remove the redundancies:

Joint_29 unnecessarily removes Rotation Between Zi and Xj

Joint_29 unnecessarily removes Rotation Between Zi and Yj

Joint_29 unnecessarily removes Rotation Between Xi and Yj

Removing Redundancies from a Fourbar Mechanism

If you build a fourbar mechanism with four revolute joints, Adams displays messages like the following:

Joint_1 unnecessarily removes Rotation Between Zi and Xj

Joint_1 unnecessarily removes Rotation Between Zi and Yj

Joint_3 unnecessarily removes Rotation Between Zi and Xj

These messages indicate that you could change Joint_1 from a revolute joint to a spherical joint and change Joint_3 from a revolute joint to a universal or Hooke joint. By changing the joint types, you eliminate the redundant constraint warnings and possibly improve the performance of your solution.

Alternatively, you could also remove the redundancies by changing just one of the revolute joints to an inline joint. There is almost always more than one way to remove redundant constraints. The best way is to select joint types so they match the way your physical system can move.

Alternative Configurations for a Fourbar Mechanism

Remember that Adams Solver does not calculate joint reaction forces in any direction associated with redundant constraint equations because it automatically removes these equations when it performs a simulation. Therefore, you may also want to select your joint types based on where you want to measure joint reaction forces.