Skip to content

Instantly share code, notes, and snippets.

@shkiefer
Last active June 18, 2020 07:25
Show Gist options
  • Save shkiefer/499562ed9823969ce9a5e83f5bb51ec6 to your computer and use it in GitHub Desktop.
Save shkiefer/499562ed9823969ce9a5e83f5bb51ec6 to your computer and use it in GitHub Desktop.
*do,j,1,nCMs
fini
/prep7
! get cs_mass location and angles
*GET,cs_x,CDSY,%css(1,j)%,LOC,X
*GET,cs_y,CDSY,%css(1,j)%,LOC,Y
*GET,cs_z,CDSY,%css(1,j)%,LOC,Z
*GET,cs_xy,CDSY,%css(1,j)%,ANG,XY
*GET,cs_yz,CDSY,%css(1,j)%,ANG,YZ
*GET,cs_zx,CDSY,%css(1,j)%,ANG,ZX
fini
/sol
cmsel, s, %cms(1,j)%
nsle,s
irlf,-1
psolve,elform
psolve,elprep
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment