ZYF

Tag: apdl

APDL Editor: wscite

The APDL editor PeDAL from PADT remind me the editor I used for APDL: SciTE. It’s free, small yet powerful.
With APDL extension installed,

you read/write apdl with syntax highlight.
you get  hints when write apdl command.
you launch Ansys within SciTE, feed the apdl source you are editing into Ansys and get result output in SciTE window, [...]

APDL Editor: PeDAL

from  Eric Miller (PADT)

PADT is very pleased to announce the release of a tool that many of us
long time ANSYS users have wished for over the years: a text editor that
speaks APDL.  Matt Sutton wanted such a thing just like we all did, but
the difference is that he sat down and wrote it.  The result [...]

谐响应分析后处理选点结果

最近需要根据振动测试的测点位置在有限元谐响应分析结果中提取各频率下的振动幅值。因为频率范围大,频率值多,测点多,手动处理非常的费时,重复的体力劳动总是让人头疼,手疼。于是写下这样一段macro
! pick harmonic response at selected location for test correlation
!
! note: assume harmonic response have been solved
! data coordinates are stored in file “locations.dat”
! coordinates should be ‘F8.3′ format, each location 3 numbers each line
! outputfile is ‘loc_disps.dat’

/post1

ndat = 10 ! number of data

*dim,locations,array,ndat,3
*dim,nidx,array,3
*vread,locations(1,1),locations,dat,,,1,1,,IJK
(3F8.3)

*do,i,1,ndat
nidx(i)=node(locations(i,1),locations(i,2),locations(i,3))
*enddo

*get,nfreq,active,0,set,nset
*dim,disps,array,nfreq,4,ndat
*dim,freqs,array,nfreq

*do,idx,1,nfreq
[...]