Difference between revisions of "Detecting Contact"

From OSUPDOCS
Jump to navigation Jump to search
Line 39: Line 39:
In volume screening, you set the [[Multimaterial MPM#Multimaterial Mode Input Commands|(Vmin)]] parameter to a critical volume relative to the total volume of the cells in the background grid. If the volume is below this value, the materials are assumed to not be in contact. If the volume is above this value, the contact detection proceeds with [[#Basic Contact Detection|checks on velocity and displacement]]. One use of this screening is to set it close to 1.0 and use to detect contact as a consequence of compression<ref=name="JG">Jim Guilkey, personal communication, 2012</ref>. When the object is compression at a surface, the total volume should increase as material is compressed into the node. When the surfaces are opened, the volume decreased below 1.0. The net result is a simple tool for contact detection. Experience in [[NairnMPM]] suggest this approach may not be ideal because the simulations results are too sensitive to the <tt>(Vmin)</tt> value.
In volume screening, you set the [[Multimaterial MPM#Multimaterial Mode Input Commands|(Vmin)]] parameter to a critical volume relative to the total volume of the cells in the background grid. If the volume is below this value, the materials are assumed to not be in contact. If the volume is above this value, the contact detection proceeds with [[#Basic Contact Detection|checks on velocity and displacement]]. One use of this screening is to set it close to 1.0 and use to detect contact as a consequence of compression<ref=name="JG">Jim Guilkey, personal communication, 2012</ref>. When the object is compression at a surface, the total volume should increase as material is compressed into the node. When the surfaces are opened, the volume decreased below 1.0. The net result is a simple tool for contact detection. Experience in [[NairnMPM]] suggest this approach may not be ideal because the simulations results are too sensitive to the <tt>(Vmin)</tt> value.


An alternate use of volume screening is to screen out nodes that can potentially cause artifacts in the calculations. These problem nodes are invaribaly contact nodes that appear near the edge of the modeled object.
[[File:EdgeNode.png|left]]


The first step is to decide if the materials at the node are actually in contact. [[NairnMPM]] allows a simulation to use various combinations of the following three contact detection criteria:
An alternate use of volume screening is to screen out nodes that can potentially cause artifacts in the calculations. These problem nodes are invaribaly contact nodes that appear near the edge of the modeled object. The figure on the left shows two materials in contact near the edge of the modeled object. The blue node will be a multimaterial node. To detect contact and implement contact physics, to code needs to calculate the normal to the surface. But for edge nodes these calculations are difficult because the free surface will affect the normal calculation. As a result, the calculation may be inaccurate and the entire simulation can suffer.


<ol>
This issue can often be fixed by simply ignore edge nodes. In other words, it can be better to ignore contact on edge nodes then to include them with inaccurate surface normals. Because edge nodes are near empty cells, there total volume from particles will  always be less than 1.0. The node in the figure will have total relative volume close to 0.5. Thus to screen out edge nodes, you can set [[Multimaterial MPM#Multimaterial Mode Input Commands|(Vmin)]] parameter to a value below 1.0, such as 0.5 to 0.75. The goal is to screen out edge nodes but to not screen out any nodes with the object. The actual value is problem dependent. When edge nodes appear to be causing problems in contact calculations, start increasing [[Multimaterial MPM#Multimaterial Mode Input Commands|(Vmin)]] parameter between 0.0 and 1.0 until the simulations improve.
<li>If the total volume at the node is less than some fraction of the total volume expected for an internal node (a parameter <tt>Vmin</tt>), the materials at that node are assumed to not be in contact. If the volume is greater than <tt>Vmin</tt>, the contact detection continues. This check can be skipped by setting <tt>Vmin</tt> = 0 (because all nodes with materials will have volume greater than zero).</li>
 
<li>Next, the [[Multimaterial Normal Vector|normal to the material contact surface]] is calculated and it is used to determine the velocity of approach for the two material surfaces. If the surfaces are moving apart, the node is assumed to not be in contact. If they are moving toward each other, the contact detection continues.</li>
 
<li>Finally, if enabled, the displacements for each material at the node are calculated. If the two materials overlap, the node is in contact. If not, the node is assumed to not be in contact. There are two ways to find displacements. The method is selected with the ContactPosition command (where details on the methods are given).</li>
 
</ol>


== Explicit Crack Contact Detection ==
== Explicit Crack Contact Detection ==

Revision as of 10:44, 25 September 2013

Both multimaterial mode MPM and explicit cracks need to detect when two surfaces are in contact. This page describes the contact detection options.

Basic Contact Detection

NormalDef.jpg

The figure shows a surface between two materials (a and b) or between two sides of a crack (above and below). The arrow shows a vector normal to the surface oriented from side a to side b. For both multimaterial contact and crack contact, the first step is to decide if the two velocity fields at the node are actually in contact. NairnMPM uses two (or more) criteria to detect contact.

Approach velocity
The first step is to decide the two surface are approaching each other in the normal direction. This criterion reduces to       [math]\displaystyle{ \Delta\vec v \cdot \hat n \lt 0 \qquad {\rm where} \qquad \Delta\vec v = \vec v_a - \vec v_b }[/math] When this criterion is not satisfied, the surfaces are separating and assumed to not be in contact. In early multimaterial MPM,[1] when this criterion is satisfied, the surfaces were assume to be in contact. It is easy to visualize, however, that this approach detects contact when surfaces are just are approaching each other but still separated. For improved contact, a second criterion based on displacements is added.
Displacement check
If the approach velocity criterion is satisfied, NairnMPM next looks at displacements or positions of the two velocity fields. Basically, this criterion calculates the location of the two surfaces. If the overlap in the normal direction the surfaces are in contact. If they are separated, the surfaces are not in contact. There are two ways to find crack surfaces from displacements or positiong in velocity fields; these methods are described in the section on the ContactPosition command.

Both multimaterial mode contact and crack contact use the above two criterion, but they have some other options. For example, the displacement check is optional in multimaterial mode but is always done for crack contact. In addition, multimaterial mode has an optional screening criterion based on nodal volume that can help screen out nodes that are likely to cause numerical inaccuracies. See the sections below for details.

Notes

  1. An accurate normal vector is crucial to contact detection and contact physics. The methods for calculating these normals is described here.
  2. Since the displacement check seems to track contact best, why not skip the approach velocity criterion? The answer is that the algorithms used to adjust nodal momementum for some contact physics (e.g., friction) do not make physical sense unless that criterion is satisfied.

Multimaterial Mode Contact Detection

Multimaterial mode uses the above contact methods and has two additional options:

  1. The displacement check is optional. It can be turned off using the (dispCheck) parameter in the multimaterial mode input commands. The default is to be enabled and the recommendation is to keep it enabled.
  2. The (Vmin) parameter sets a critical relative volume that will ignore contact for all nodes with total volume below the specified value. It is described in the next section.

Volume Screening for Contact Detection

In volume screening, you set the (Vmin) parameter to a critical volume relative to the total volume of the cells in the background grid. If the volume is below this value, the materials are assumed to not be in contact. If the volume is above this value, the contact detection proceeds with checks on velocity and displacement. One use of this screening is to set it close to 1.0 and use to detect contact as a consequence of compression<ref=name="JG">Jim Guilkey, personal communication, 2012</ref>. When the object is compression at a surface, the total volume should increase as material is compressed into the node. When the surfaces are opened, the volume decreased below 1.0. The net result is a simple tool for contact detection. Experience in NairnMPM suggest this approach may not be ideal because the simulations results are too sensitive to the (Vmin) value.

EdgeNode.png

An alternate use of volume screening is to screen out nodes that can potentially cause artifacts in the calculations. These problem nodes are invaribaly contact nodes that appear near the edge of the modeled object. The figure on the left shows two materials in contact near the edge of the modeled object. The blue node will be a multimaterial node. To detect contact and implement contact physics, to code needs to calculate the normal to the surface. But for edge nodes these calculations are difficult because the free surface will affect the normal calculation. As a result, the calculation may be inaccurate and the entire simulation can suffer.

This issue can often be fixed by simply ignore edge nodes. In other words, it can be better to ignore contact on edge nodes then to include them with inaccurate surface normals. Because edge nodes are near empty cells, there total volume from particles will always be less than 1.0. The node in the figure will have total relative volume close to 0.5. Thus to screen out edge nodes, you can set (Vmin) parameter to a value below 1.0, such as 0.5 to 0.75. The goal is to screen out edge nodes but to not screen out any nodes with the object. The actual value is problem dependent. When edge nodes appear to be causing problems in contact calculations, start increasing (Vmin) parameter between 0.0 and 1.0 until the simulations improve.

Explicit Crack Contact Detection

ContactPosition Command

References

  1. S. G. Bardenhagen, J. E. Guilkey, K. M. Roessig, J. U. Brackbill, W. M. Witzel, and J. C. Foster, "An Improved Contact Algorithm for the Material Point Method and Application to Stress Propagation in Granular Material," Computer Modeling in Engineering & Sciences, 2, 509-522 (2001).