! ----------------------------------------------------------------------
! M08 - English course download: 08_start.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                        ! Convert the validated M07 model into a modular flow.
/FILNAME,m08_start,1
/UNITS,SI

beam_h=0.10                         ! *USE invokes 08_macro_debug.mac passing ARG1..ARG4 as positional parameters.
tip_force=-1000
mesh_h=0.05
case_id=1

! TODO 1: validate ARG1..ARG4 (positive / nonzero) and stop with /EOF.
! TODO 2: set beam_l, beam_b, young, nu, and the M07 tolerances.
! TODO 3: separate construction into 08_build.mac (/INPUT).
!         /INPUT includes submacros from the driver without copying their contents.
! TODO 4: separate the solution into 08_solve.mac.
! TODO 5: separate extraction/validation into 08_extract.mac.
! TODO 6: write m08_results.csv with inputs, FE, refs, and passes.
!         *CFOPEN opens the file; *VWRITE writes formatted rows.
! TODO 7: diagnose with /STATUS,PARM and the .out file.
!
! Course cases:
! case_id=1 -> h=0.10, mesh_h=0.05, 126 nodes, 40 elements
! case_id=2 -> h=0.08, mesh_h=0.04, 156 nodes, 50 elements
!
! References:
! uy_ref_1=-3.80952381E-4 m
! uy_ref_2=-7.44047619E-4 m
! sigma_ref_1 (x=0.2L)=9.60000E6 Pa
! sigma_ref_2 (x=0.2L)=1.50000E7 Pa

FINISH
