Professional Documents
Culture Documents
MotionSolve
MotionSolve can detect and handle contact between graphic entities that represent solids.
Regardless of how they are created, all geometry (except for sphere-to-sphere and sphere-to-mesh contact) is
eventually converted to a mesh and contact between meshes is computed during the simulation.
This section summarizes contact strategies that will help you experience successful simulation.
If the use of analytical geometries is not possible, use native CAD geometry. CAD geometries are usually
available and they can be simply reused. MotionView can import all the common CAD geometry formats. It is
easy to check that the CAD descriptions define a solid. MotionView performs numerous checks when
importing CAD geometry. If errors are found they are reported in the message window.
If neither analytical nor CAD descriptions are not available, then you should consider using other sources of
input such as meshes defined by an FE pre-processor, STL files or Wavefront OBJ files. MotionView will check
this data too to make sure it defines solid bodies.
3. Visualize the mesh in MotionView to identify inappropriate meshes
The mesh representing a rigid body must have an appropriate element size.
The mesh should accurately capture the curvature of the geometry that is going to be in contact. Care
should be taken to minimize the effects of tessellation on contact response. Meshes with small
elements usually produce more accurate results but at the expense of more computation time. Figure 1
below illustrates "good" and "bad" meshes.
Such a situation will be encountered ONLY when older models containing the geometry in H3D files are
provided as input. Models created with 14.0 will have ALL triangles for a geometry pointing inwards
(blue) or outwards (red).
You can simply flip the normals with one keystroke. Use the option "Material Inside" option in
MotionView to flip the direction of the surface normals to the direction of expected contact.
4. Understand the diagnostics MotionView provides when faulty geometry is provided
MotionView performs extensive checks on the geometries that are defined for Contacts and it will identify the
following defects in geometry:
The mesh is not closed and it does not enclose a volume.
The open areas are highlighted. See Figure 4 for an example.
Figure 6. MotionView Allows You to Control the Mesh Coarseness while Importing Geometries
Start with the default setting of "5" coarseness slider bar. In most cases, this setting would give a suitable
uniform mesh appropriately capturing the curvatures.
Review the imported graphics; especially those bodies that would be used in contacts. If not satisfied with the
size of the mesh, re-import the CAD using a finer option (higher number) in the coarseness slider bar. Below
are a few points to remember while refining the mesh
The number of triangles that are in contact affects contact performance. The portion of the mesh not in
contact neither affects the speed nor the accuracy of the contact. So, it is OK to have a fine mesh for the
entire component, even though only a very small part of it is in contact. There will be an initial setup
cost, but the simulation speed is not overly affected.
Care has to be taken with very large CAD files as it might take a large amount of time. If possible, make
sure the input CAD only has the bodies that are going to be involved in contacts.
Try and predict the features of the body that are most probably going to engage in the contact. Ensure
these particular features are well captured in the output mesh.
Make sure that the curvature of the surface that is intended for contacts is accurately captured by an
appropriately small element size. Also make sure that the mesh in that particular region has all the
qualities of a good fundamental mesh listed earlier.
If the resulting mesh has open edges, a warning will be generated in the message log. This indicates
the mesh does not enclose a volume
If the above method of refinement does not yield mesh as expected, use the Interactive Mesh option in
HyperMesh to mesh the geometries.
6. Solving legacy models with CAD graphics
Legacy models may have geometries that are not appropriate for the methods used in MotionSolve 14.0. A
good general solution is to regenerate the H3D graphics for contact once again by using the new tools and
features in the Import CAD tool in MotionView.
If this is not possible, go ahead and use the legacy geometry. MotionView now supports a geometry cleaning
process. This process systematically checks the geometry for various possible errors and fixes them. The
geometry cleanup process is explained in Appendix-I.
Contact Properties
MotionView provides a fairly good set of default values for contact properties. The default values for contact
properties in MotionView are summarized in the table below.
Impact Model
Normal Force Friction Force
Exponent = 2.1
Damping = 1 N/mm
We recommend that you change these only if the units you are using for your model is different or if the default set
is somehow ineffective. General guidelines for changing these parameters are below.
1. Contact Stiffness
Initially set "low" values for stiffness (penalty) for the normal force. This will enable fast simulations. Review
the contact overview table for the maximum penetration seen in the simulation result. If these are higher than
expected, increase the stiffness. While using large values for stiffness (penalty) if the contact force is noisy,
reduce the simulation step size.
3. Contact Friction
Start your modeling with Contact friction set to Disabled. Once the simulation is successful with just normal
forces (reasonable penetration and normal force values) then contact friction should be turned ON.
Do not use small values for the parameters Stiction Transition Velocity and Friction Transition Velocity. Small
values will slow down the simulation speed. Approximately 1mm/sec is a good value.
If the addition of frictional force causes numerical difficulties or simulation slowdowns, gradually increase the
values for the transition velocities and/or reduce the coefficients of friction. Avoid large values for μstatic and
μdynamic.
Avoid neutral equilibrium situations. If you know that your model has neutral equilibrium situations, increase
STABILITY.
5. Handling Intermittent Contacts
When there are many intermittent contacts in your model, it is a good idea to use the Find precise contact
event option in the Advanced tab. This will ensure that contacts are not missed or that penetration is not too
high. See Figure 8.
A maximum step size of 1e-4 is a good initial setting for contact simulations
Use appropriate units in model based on dimension of geometry length. While modeling the ball
bearing of a hand drill mm units will be appropriate than using meter units.
6. Units Conversion
While using units other than mm for length, and Newton for force, the default stiffness (K) in MotionView for
the Impact Model needs to be scaled based on the exponent used.
If the model is defined in SI units, the new stiffness that will generate the same force is calculated as:
If your model is in SI units, the table below provides parameters equivalent to the MotionView defaults.
Exponent = 2.1
The graphics with a smaller average element size are automatically considered as the master/main surface for
contact since this leads to smoother forces. If you want to flip the master/main surface, refine the other
graphics used in contact.
8. Energy Conservation
Contact forces are modeled using a penalty formulation. Unless you take very fine step sizes, the impulse of
the forces can be inaccurate. Therefore for impulsive contact, it is not unusual to see energy dissipation or
energy gain, even though you may have no damping in your contact. To reduce dissipation, decrease the
maximum integration step size so that the contact duration is adequately sampled.
You must always review the contact response in order to make sure that the system is behaving in the way you
intend it to.
Review the contact summary log for the penetrations you are seeing in the simulation. Change the stiffness so
that the maximum penetration depth is reasonable
Look at the animation of un-converged results to get a better idea of why the contact may be failing or not
behaving as you expect
Review Contact Summary in the MS log file. This option gives a "single view" summary of areas of contact and
extent of penetration for the entire simulation
Review the "Contact overview" for unusually high penetrations in unexpected regions.
The contact is modeled as a penalty force. So each contact can be analogous to a mass-spring-damper system.
Ignoring damping,
10f
The plot below shows MotionSolve results for h=2.8099E-3 s and h=5.6199E-3. Note how the results are noisy for the
larger h, but are smooth for smaller h.
Figure 10. Mass Displacement
My contact simulations take a long time. How can I improve simulation speed?
There could be multiple reasons why a contact simulation is slow. In this section, we present different strategies for
speeding up contact. You can use them in combination as you see fit.
Use force elements instead of contact
If you know where the contacts are going to occur, user force elements to model the contact. These will side
step the time consuming contact detection process.
Which contacts are expensive and consume the most simulation time?
MotionSolve outputs a COF file as output. This file contains a summary of the contact simulation. For each contact,
among other information, the time spent in evaluating this contact is printed out. This information is shown here for
contact simulation.
Note: Intermediate columns have been removed to make the data fit in the page.
The last column of data contains the CPU time spent in evaluating each contact. Notice the time spent in Contact 8.
More time is spent evaluating this contact than all other contacts combined! You should re-examine the contact
geometry and contact parameters for Contact 8 to see if you discover anything abnormal or special.