how do i extract nodal displacements at each node at all time steps in transient analysis (workbench

  • 417 Views
  • Last Post 06 June 2019
mayakuntla92 posted this 25 May 2019

 i am working on wave propagation analysis in Ansys workbench

Order By: Standard | Newest | Votes
jpasquerell posted this 28 May 2019

Use 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.

 

  • Liked by
  • prasannakumar92
prasannakumar92 posted this 05 June 2019

SET,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

prasannakumar92 posted this 06 June 2019

 i want only displacements in y direction....

prasannakumar92 posted this 06 June 2019

SET,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)

(E15.8)

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???

Close