! ============================================================
! M06 - Punto de partida
! ============================================================
/CLEAR,START                        ! Completa la solucion y demuestra el equilibrio.
/FILNAME,m06_start,1
/UNITS,SI

beam_l=1.0
beam_h=0.10
beam_b=0.05
mesh_h=0.05
young=210E9
nu=0.30
tip_force=-1000

! TODO 1: reconstruye la viga SOLID185 de M05.
! TODO 2: crea fixed_nodes y tip_nodes sin utilizar IDs.
! TODO 3: aplica el empotramiento y reparte tip_force.
! TODO 4: declara un analisis estatico lineal de un load step.
!   ANTYPE,STATIC + NLGEOM,OFF definen estatico lineal.
!   KBC,1 y NSUBST,1 fijan un unico substep escalonado.
!   OUTRES,ALL,LAST conserva resultados del ultimo substep.
! TODO 5: resuelve y comprueba que existe un result set.
!   SOLVE ejecuta el load step; SET,LAST carga el ultimo set en /POST1.
! TODO 6: suma las reacciones y reconstruye su momento
!         respecto al centro de la cara empotrada.
!   *GET,...,RF lee reacciones nodales; SPOINT+FSUM verifica totales.
! TODO 7: genera m06_equilibrium_audit.csv.
!
! Prediccion:
! RFY=+1000 N, RMZ=+1000 N*m
! force_error<0.005, moment_error<0.005, passes=1

FINISH



