Marc & Structures
Course index

Save your progress

Enter your email and we will send a secure sign-in link. There is no password and the first link creates your account.

Contact

CONTA/TARGE, friction, stiffness, initial status, and diagnostics

On this page
  1. Objectives
  2. Prerequisites and downloads
  3. How to use this lesson
  4. Session map
  5. Prediction — What happens before SOLVE?
  6. Mental model — Contact pair
  7. Step 1 — Geometry and mesh
  8. Step 2 — Define the CONTA/TARGE pair
  9. Step 3 — CNCHECK and initial state
  10. Step 4 — Solve, POST1, and CSV
  11. Bug hunt
  12. Verifiable challenge — Friction or modified gap
  13. Self-assessment
  14. Learning evidence
  15. Exit checklist
  16. Technical traceability

M10 introduced geometric and material nonlinearity. M11 opens the second optional specialization: structural contact between two 3D bodies. You will define a CONTA174/TARGE170 pair, run CNCHECK before solving, and document gap, penetration, and closing reaction with CSV evidence.

Your mission

You will build two stacked blocks, create the contact pair, audit the initial state, close the contact with controlled displacement, and compare three verifiable cases in CSV.

Guiding question: can you prove whether contact is open or closed before trusting the stresses?

Objectives

After completing M11, you will be able to:

  • Select surfaces and generate CONTA174 and TARGE170 elements with ESURF.
  • Configure a frictionless pair with consistent REAL, TYPE, and KEYOPT settings.
  • Run CNCHECK,AUTO and document the initial gap or penetration.
  • Solve with NLGEOM,ON, ramping (KBC,0, NSUBST), and rigid-body-motion constraints.
  • Extract support reactions and determine contact_closed using a numerical criterion.
  • Diagnose common faults by reading the .out file and audit CSV.

Prerequisites and downloads

  • M06: substeps and global equilibrium.
  • M10 (recommended): NLGEOM and nonlinear convergence.
  • M02: robust surface selection (ASEL, SELTOL).

How to use this lesson

PathDurationCoverage
First win20–25 minGeometry, contact pair, CNCHECK, and first CSV.
Complete70–75 minThree cases, POST1, debugging, challenge, and mastery.

Session map

  1. Mission: objectives, downloads, and prediction.
  2. Mental model: contact versus target, normals, and gap.
  3. Demonstration: geometry, pair, CNCHECK, and solution.
  4. Debugging: five common faults.
  5. Challenge: friction or gap variation.
  6. Mastery: final M11 test.

Prediction — What happens before SOLVE?

Two 40 × 40 × 20 mm blocks with an initial 0.5 mm gap.

QuantityValueInterpretation
Initial gap0.0005 mOpen pair in CNCHECK
Case 1 displacement−0.0002 mDoes not close the gap → no load transfer
Case 2 displacement−0.0012 mCloses the gap and compresses → support reaction
Topology150 nodes / 64 solids / 16+16 contactMesh consistent with mesh_h = 0.01 m

Prediction: with disp = −0.2 mm, contact remains open (contact_closed = 0). With disp = −1.2 mm, it must close and produce a vertical reaction at the lower support.

Mental model — Contact pair

3D blocks with CONTA174 and TARGE170
Figure 1. Target surface on the lower block; contact on the upper block; normal pointing toward the gap.
  • Contact: CONTA174 — surface that may penetrate the target.
  • Target: TARGE170 — reference surface.
  • Initial state: CNCHECK reports gaps, penetration, and open/closed pairs.
  • Frictionless: KEYOPT,2,12,0 in the base deliverable.

Step 1 — Geometry and mesh

BLOCK,0,block_x,0,h_lower,0,block_z
BLOCK,0,block_x,h_lower+initial_gap,h_lower+initial_gap+h_upper,0,block_z
VMESH,ALL

Use SELTOL when selecting faces at Y = h_lower and Y = h_lower + initial_gap.

Two 3D blocks with a visible initial gap in a MAPDL side view
Figure 2. Side view: initial 0.5 mm gap between the blocks before ESURF.

Step 2 — Define the CONTA/TARGE pair

ET,2,CONTA174
KEYOPT,2,12,0
ET,3,TARGE170
TYPE,3 / REAL,2 / MAT,1
ASEL,S,LOC,Y,h_lower
NSLA,S,1 / ESLN,S / ESURF
TYPE,2 / REAL,2 / MAT,1
ASEL,S,LOC,Y,h_lower+initial_gap
NSLA,S,1 / ESLN,S / ESURF

Confirm that n_conta and n_targe are > 0 before continuing.

CONTA174 and TARGE170 elements at the interface after ESURF
Figure 3. Contact and target elements created with ESURF on the selected faces.

Step 3 — CNCHECK and initial state

Open gap, closure, and interference
Figure 4. Three states: open gap, displacement-driven closure, and initial interference.
/SOLU
NLGEOM,ON
CNCHECK,AUTO

Read the .out file: minimum gap, reported penetration, and initially open or closed pairs.

Step 4 — Solve, POST1, and CSV

CMSEL,S,bottom_nodes / D,ALL,ALL,0
CMSEL,S,top_nodes
D,ALL,UY,disp / D,ALL,UX,0 / D,ALL,UZ,0
AUTOTS,OFF / KBC,0 / NSUBST,10 / SOLVE

In POST1, sum RFY at the lower support. Write m11_contact_audit.csv with contact_closed, force_error, and n_converged. Measured reference: rfy_close ≈ 5.65 MN, study_passes = 1.

Bug hunt

Five scenarios documented in 11_bug_hunt.mac:

  1. Contact and target surfaces swapped.
  2. ESURF without a prior selection → n_conta = 0.
  3. Omitting CNCHECK → undocumented initial state.
  4. Incorrect TYPE/REAL while creating surface elements.
  5. Accepting SOLVE without reading reactions or contact state.

Verifiable challenge — Friction or modified gap

After validating the base deliverable, choose Challenge A (add friction with KEYOPT,2,12,1 and MP,MU) or Challenge B (increase the gap to 1 mm and adjust displacement). Predict the change in RFY or contact_closed before running.

Self-assessment

> Quick questions
  • What does CNCHECK report that does not appear in an analysis without contact?
  • Why do we constrain UX and UZ on the upper face while the gap is open?
  • When would you use friction instead of the frictionless base deliverable?

Learning evidence

  • m11_contact_audit.csv — three cases with passes=1.
  • m11_summary.csvstudy_passes=1.
  • Excerpt from the .out file containing CNCHECK output.
  • Brief note explaining gap versus penetration versus closure.

Exit checklist

  • CONTA/TARGE pair with consistent 16+16 counts.
  • CNCHECK run before each SOLVE.
  • Case 1: contact_closed = 0.
  • Case 2: contact_closed = 1 and rfy_close ≈ 5.65 MN.
  • Case 3: documented initial penetration of 0.1 mm.
  • study_passes=1 in a clean run.

Technical traceability

Commands: CONTA174, TARGE170, ESURF, REAL, KEYOPT, CNCHECK, NLGEOM, NSUBST, *GET. Reference: Contact Technology Guide. Inherited from: M10 (substeps, NLGEOM). Next: M12 idealized bolted joints with CERIG.

Show that you can do it without hints

You need at least 80% and every critical check correct. You can retry without a limit; each attempt gives you a focused review path.

6 checks

Competency

Model and verify a 3D contact pair with prior diagnosis and CSV evidence.

Expected evidence

CONTA/TARGE with n_conta=16, consistent contact_closed, rfy_close≈5.65 MN, and study_passes=1.

Save mastery across devices

Enter your email to receive a secure link. Your account stores only progress, attempts, and scores.

1.What does CNCHECK provide before SOLVE in a contact pair? Critical
2.n_conta=0 after ESURF. Most likely cause? Critical
3.With an open gap, why restrict UX and UZ on the top face? Critical
4.How many CONTA174 elements does the base deliverable contract require? Critical
elements
5.Enter |rfy_close| measured (N) in the case of closure with disp = -0.0012 m (1 significant digit ok). Critical
N
6.Case 1: disp=−0.2 mm with gap=0.5 mm. What contact_closed value is expected?

The assessment is scored and progress is saved in this browser.