how do i extract nodal displacements at each node at all time steps in transient analysis (workbench
-
-
May 25, 2019 at 4:10 pm
mayakuntla92
Subscriber i am working on wave propagation analysis in Ansys workbench
-
May 28, 2019 at 11:50 am
jpasquerell
Ansys EmployeeUse of a command object under solution is one way. Start with:
/post1
set,first
*get,nres,active,,set,nset  ! number of results sets
*get,ndmx,node,,num,maxd
*dim,nodaldisp,array,nres,ndmx*3Â Â Â Â Â Â ! for translation only or 6 if rots are needed
Â
then a do loop cycling through the result sets with *vget commands of the three nodal displacements. See *MWRITE for output of the parameter to a file.
Â
-
June 5, 2019 at 7:39 am
prasannakumar92
SubscriberSET,FIRST
NSEL,S,NODE,,141475,142273Â Â !!!! 800 nodes
NODENUMBER = 141475Â Â Â Â !!! initial node number
*DO,KK,1,800,1
*VGET,RES,NODE,NODENUMBER,V,Y,,,4
*CFOPEN,'MYFILE','CSV'
*VWRITE,'NODAL','VELOCITIES'
%I, %G
*SET,NODENUMBER,NODENUMBER+1
*ENDDO
*CFCLOS
Â
is my code correct??? please help me out
-
June 6, 2019 at 3:55 am
prasannakumar92
Subscriber i want only displacements in y direction....
-
June 6, 2019 at 5:47 am
prasannakumar92
SubscriberSET,LIST
*DIM,VELY,ARRAY,3125,800Â !!!!! FOR 800 NODES AT 3125 TIME STEPS
NODENUMBER=141475Â Â Â Â Â ! INITIAL NODE NUMBER
*CFOPEN,VEL,CSV
*DO,KK,1,800,1
*VGET,VELY(1,KK),NODE,NODENUMBER,V,Y,,,4
*VWRITE,VELY(1)
NODENUMBER=NODENUMBER+1
*ENDDO
*CFCLOSE
Â
another code to extract results at 3125-time steps
I am unable to write results to CSV file instead it is writing all zeros
any help will be appreciated???
-
- The topic ‘how do i extract nodal displacements at each node at all time steps in transient analysis (workbench’ is closed to new replies.
-
3832
-
1414
-
1220
-
1101
-
1015
© 2025 Copyright ANSYS, Inc. All rights reserved.