I do a transient structural mechanics in ANSYS Workbench and want to export the results of a defined path for each time step. Can anyone help me with this command?
Thank you so much
ANSYS APDL: Get Path results for each Substep and export this?
- 143 Views
- Last Post 15 August 2019
What are you already using?
You can try using something like this:
Hey, thank you for tip,
currently I try it this way, but it doesn't work:
*GET,nline,PARM,PathData,DIM,1 !retrieve the number of values of the paget table
*do,i,1,nsets ! do it for every time
*MWRITE,PATHsig(1,1),RESULTS_PathSig,txt,,JIK,,, 1 !write it on a file
echo what you have for in 'nline' and 'nsets' and double-check? You are not using the set commands as specified earlier. Refer to the *GET help on what each argument means.
Let's say I want to export 2 columns of data (substep, max equivalent stress) into an external file.
I would use something as follows (not for the path):
!Beginning of script set,last *get,total_sets,active,0,set,nset *dim,seqv_max,array,total_sets,1 *dim,substep,array,total_sets,1 *do,i,1,total_sets set,,,,,,,i *vget,all_seqv,node,,s,eqv *vscfun,mymax,max,all_seqv *get,substep(i,1),active,0,set,sbst seqv_max(i,1) = mymax *enddo *cfopen,seqv_data,txt *vwrite,substep(1),seqv_max(1) (f3.0,tl1,F10.6) *cfclose !End of script
- All Categories
- Community Rules, Guidelines, and Tips
- News & Announcements
- Student Products
- Pre and Post Processing
- Physics Simulation
- Tutorials, Articles and Textbooks
- Installation and Licensing
- Student Competition Teams
- eMasters Degree from UPM
- Site Feedback