! ----------------------------------------------------------------------
! M04 - English course download: 04_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
/FILNAME,m04_start,1
/UNITS,SI

beam_l=1.0
beam_h=0.10
beam_b=0.05
mesh_h=0.025
young=210E9
nu=0.30

/PREP7
ET,1,SOLID185
KEYOPT,1,2,0
MP,EX,1,young
MP,PRXY,1,nu
TYPE,1
MAT,1
BLOCK,0,beam_l,0,beam_h,0,beam_b

! TODO 1: compute div_x, div_y, and div_z.
! NX, NY, and NZ are reserved names of intrinsic functions.
! TODO 2: activate hexahedra and mapped meshing.
!   MSHAPE,0,3D forces hexahedra in 3D volumes.
!   MSHKEY,1 activates structured mapped meshing.
! TODO 3: apply LESIZE to lines grouped by length.
!   ESIZE sets the global reference size.
!   LESIZE imposes exact divisions on lines selected by LENGTH.
! TODO 4: mesh and check the theoretical counts.
! TODO 5: use SHPP,SUMMARY and CHECK,ESEL,WARN.
!   SHPP configures and reports the mesher shape checking.
!   CHECK,ESEL,WARN selects elements with shape warnings.

FINISH
