• This forum is the machine-generated translation of www.cad3d.it/forum1 - the Italian design community. Several terms are not translated correctly.

explanation code ansys

  • Thread starter Thread starter volaff
  • Start date Start date

volaff

Guest
I apologize in advance for the question, but I'm not abided to use ansys like "code".
Could someone explain to me what he does?


finish
/prep7

*do,i,160
ksel,s,,7699+i
ksel,a,,8699+i

*get,n1,node,nxth
*get,n2,node,nxtl
type,4
e,n1,n2


*end

Thank you very much in antipo!
 
finish !esco from the environment in which I was first
/prep7 !entro in the preprocessing environment

*do,i,1,160! start cycle do with counter "i" from 1 to 160 (*)
ksel,s,,7699+i!select the keypont number 7699+i
ksel,a,,8699+i! also the keypont number 8699+i
nslk!select the knots attached to these keypoints
*get,n1,node,n,nxth!memorizzo in n1 the number of keypoints greater
*get,n2,node,n,nxtl!memorizzo in n2 the number of keypont minor
type,4!setto as current element type 4
e,n1,n2!creo an element between n1 and n2

*end

!(*) I carry out 160 times the sequence of operations between *do and *enddo varying "i"
 

Forum statistics

Threads
44,997
Messages
339,767
Members
4
Latest member
ibt

Members online

No members online now.
ciao
Back
Top