How to deal with contacts in linear analysis in OptiStruct

viniciusgomes
viniciusgomes
Altair Employee
edited July 15 in Altair HyperWorks

 

Contacts are one of the main non-linearity sources that we have in CAE and play a crucial role in simulating interactions between components, influencing stress distribution, changing loads paths and overall model behaviour. Nevertheless, it can be widely used in linear analysis as well, given that this analysis type consumes less memory and runtime, and it could be enough for most cases. This article will explore defining and managing contacts within linear analysis in Altair OptiStruct.

 

Key Points

  •  Open contacts remain open throughout the entire linear analysis.

  • Neither the contact status nor stiffness values are updated during the simulation.

  • To enforce closure of specific contact pairs, set an appropriate search distance and set CLEARANCE to zero.

  • Different behaviours can be represented in a contact interface based on the contact type and the transfer of normal and shear forces.

  • If the linear contact assumption is not enough, it is always possible to change to non-linear domain in OptiStruct.

Introduction

 

First, it is important to clarify that in Linear analysis (static and dynamic) the contact status and stiffness is constant throughout the solution. In other words, if the contact is initially open, it remains open for the complete duration of the run. The same goes for closed contacts, meaning that no matter if you have tension or compression, there will be load transfer, just as a linear spring connecting your parts.

The contact stiffness (STIFF) depends on the initial state of the contact, and it is calculated based on the gap opening distance (U0), which is calculated based on the positions of the Secondary and Main surfaces. For open contact elements, a very small stiffness value of KB=10E-14 * STIFF is used to avoid numerical singularities.

A diagram of a slope and a lineDescription automatically generated with medium confidence

Types of Contacts in Linear Analysis

 

In Linear analysis, the contact types can assume two main behaviours:

  • FREEZE/TIE: They enforce zero relative motion on the contact surface and transfer both normal and shear forces. Effectively acting as a single, bonded entity.

  • SLIDE: This allows parts to slide freely in the contact plane with no frictional effects and transfer only normal forces ((both tension and compression) at the contact interface.
  • PCONT with MU1 > 0: Contacts with a friction coefficient (MU1) greater than zero behave similarly to FREEZE contacts, but with a slight difference. The tangential stiffness in these contacts is slightly lower than in pure FREEZE contacts and is equal to KT=MU1*STIFF, acting as a linear spring.

Ensuring Contact Activation

 

For linear analysis, successful contact activation relies on the initial distance between parts. If the parts aren't touching initially, contact won't be established. Here's how to guarantee contact:

  • Check SRCHDIS: Verify that the Search Distance (SRCHDIS) value is greater than the initial gap between the meshes. For shell elements, SRCHDIS accounts by default for half of the shell thicknesses of the secondary and main. In other words:

A diagram of a diagram of a shell mix planeDescription automatically generated with medium confidence

In the example above, if SRCHDIS is set to 3.0, contact will be generated as expected.

  • Utilize CLEARANCE: Set a CLEARANCE value of 0.0. This forces the contact to be considered closed, even if the components are initially separated.

To validate that the contacts are actually closed, you can add CONTPRM,PREPRT,YES entry to your model and this command prints initial contact conditions (except for MPC-based TIE) into an ASCII data file (.cpr file).

A screenshot of a computerDescription automatically generated

For a detailed description of this file content, refer to https://help.altair.com/hwsolvers/os/topics/solvers/os/cpr_file.htm

 

Contact Results Output

 

The CONTF entry can be used to request contact results output for linear static subcases in H3D and OPTI formats. For a detailed description of OPTI file content, refer to https://help.altair.com/hwsolvers/os/topics/solvers/os/cntf_file.htm

Multiple results will be output through CONTF entry, the main ones that will be highlighted in this article are contact forces (total, normal and tangential) and contact status. Contact Status is divided in Open/ClosedSlip/ClosedStick/Frozen status and represented by 0.0 for Open, 1.0 for ClosedSlip (closed SLIDE contact), 2.0 for ClosedStick (closed STICK contact), and 3.0 for Frozen. Below, we can see an example of its representation in HyperView using two different models:

A screenshot of a computer generated imageDescription automatically generated

 

A detailed description of all the outputs provided by CONTF can be found in our documentation: https://help.altair.com/hwsolvers/os/topics/solvers/os/contf_io_r.htm

Evaluating contact forces in dynamic subcases

 

For now, CONTF output is only available for linear static analysis. To evaluate contact forces in linear dynamic subcases, the user can create a cross section through SECTION entry at contact interface and plot the forces at the section. A grid set (GSID) and an Element set (ESID) need to be specified and RESULT option under STYPE selected:

A screenshot of a computerDescription automatically generated

In the example below, if we want to determine the contact force of the green plate on the blue one, GSID should represent the grids of the blue plate on the interface and ESID all elements of the blue plate too:

A screenshot of a computer generated cubeDescription automatically generated

 A blue and yellow gridDescription automatically generatedA screenshot of a computer generated graphDescription automatically generated

 

The cross sections forces and moments results will be output in a .secres file and in the .out file.
A black screen with white textDescription automatically generated with medium confidence

For a detailed description of this file content, refer to https://help.altair.com/hwsolvers/os/topics/solvers/os/secres_file.htm

 

Example Models and Validation

 

In the following link you can find 4 different models to use as a reference: Models

Three of them represent two plates connected by different contact types (FREEZE, SLIDE and PCONT with MU1=0.2) in a free-free modal analysis load case:

modes.gif

Looking at the results for the same mode shape in the modal analysis, we can validate the information under “Types of Contacts in Linear Analysis” topic. For SLIDE contact, both plates are moving freely in the contact plate, making it the less rigid model, while FREEZE and PCONT with MU1=0.2 are completely bonded. We can also observe that the FREEZE contact natural frequency is slightly bigger than PCONT with MU1=0.2, since the tangential stiffness in PCONT with MU1=0.2 is slightly lower.

The fourth model is the model with PCONT with MU1=0.2 and now it covers two linear static load cases, first with a force applied normal to the surface and the second with a force applied in the plane direction.

A computer generated image of a square objectDescription automatically generated

image

 

In the setup we can see how to define contact force with CONTF output, print initial contact conditions with CONTPRM,PREPRT and define a cross section through SECTION entry.

 

Useful Links

OptiStruct Contacts User Guide

OptiStruct Contact Types

Search Distance (SRCHDIS)

Contact Clearence (CLEARENCE)

How to Choose Main-and-Secondary-Surface in OptiStruct