Skip to content

Instantly share code, notes, and snippets.

@shkiefer
Last active June 25, 2020 04:24
Show Gist options
  • Save shkiefer/debcc295867ba3856a52c3e3bdc8371d to your computer and use it in GitHub Desktop.
Save shkiefer/debcc295867ba3856a52c3e3bdc8371d to your computer and use it in GitHub Desktop.
MAPDL-mass file setup
*cfopen, %_wb_userfiles_dir(1)%%f_name%, txt
*vwrite,'Component','CS_ID','mass_X','mass_Y','mass_Z','Ics_xx','Ics_yy','Ics_zz','Ics_xy','Ics_xz','Ics_yx','Ics_yz','Ics_zx','Ics_zy'
%12C,%12C,%12C,%12C,%12C,%12C,%12C,%12C,%12C,%12C,%12C,%12C,%12C,%12C
*dim,outVars,array,nCMs,12
finish
/filname, mass
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment