! ----------------------------------------------------------------------
! M06 - English course download: 06_challenge.mac
! Follow the matching English lesson for explanations and task details.
! Commands, parameter names, file names, CSV keys, and result tokens are preserved.
! ----------------------------------------------------------------------

/CLEAR,START
/FILNAME,m06_challenge,1
/UNITS,SI

beam_l=1.0
beam_h=0.10
beam_b=0.05
mesh_h=0.05
young=210E9
nu=0.30
force_step_1=-500
force_step_2=-1000

! TODO 1: rebuild the M05 model and fixed support.
! TODO 2: solve load step 1 with total FY=-500 N and TIME=1.
!   ANTYPE,STATIC declares a static analysis; SOLVE runs each step.
! TODO 3: replace the load, do not accumulate it, and solve
!         load step 2 with total FY=-1000 N and TIME=2.
! TODO 4: keep both sets with OUTRES,ALL,ALL.
!   OUTRES,ALL,ALL stores results from all substeps.
! TODO 5: read each set and compute RFY and RMZ about the center
!         of the fixed face.
!   SET loads each load step in /POST1; *GET,...,RF reads reactions.
!   SPOINT+FSUM provides a secondary equilibrium check.
! TODO 6: generate m06_challenge_audit.csv with two rows.
!
! Expected results:
! step 1: RFY=+500 N,  RMZ=+500 N*m
! step 2: RFY=+1000 N, RMZ=+1000 N*m
! RFY_2/RFY_1=2 and RMZ_2/RMZ_1=2
! force and moment error <0.005 in both states.
!
! Hint: F overwrites a force of the same type on the node.
! Check the database before each SOLVE.

FINISH
