Skip to content
Marc & Structures
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.

Demonstration ~10 min · ~42 min remaining

Sweep without residual state

Invoke build/solve/extract in a *DO loop while clearing geometry between cases.

Step 2 — Sweep with *DO and no residual state

*DO,case_id,1,n_cases
  ! set beam_h and mesh_h = h/2
  /INPUT,09_build,mac,,,,1
  /INPUT,09_solve,mac,,,,1
  /INPUT,09_extract,mac,,,,1
  ! store results in arrays
*ENDDO

Each iteration must rebuild the geometry and mesh. In 09_build.mac, clear the previous mesh with VCLEAR and VDELE before creating a new BLOCK. Without that cleanup, the second case fails with “Volume is meshed and cannot be changed.”

Height-versus-deflection plot with a 0.25 mm limit
Figure 2. The physical trend (|uy| decreases as h increases) is an independent check.