Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations waross on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how to create my own imposed displacement field 1

Status
Not open for further replies.

bobof77

Mechanical
Oct 18, 2004
12
0
0
FR
I'd like to apply my own created imposed dislacement
to a set of nodes. What is the best way to do it?
 
Replies continue below

Recommended for you

I know this command,
but it is not convinient!

Is it possible to treat a set of nodes
at the same time? Or to apply a local rotation
(on elements SOLID45)! Anyway, the element SOLID45 has
only UX UY UZ as DOF.
 
You have worked with arrays before?

For example you have 10 nodes. (node numbers are: 11,16,27,101 ...).

You can define a vector with the *dim comand.

*dim,name,array,10,2

and fill the vector with node numbers and contraints.

may be:

name(1,1)=11
name(1,2)=0.1
name(2,1)=16
name(2,2)=0.2
....

or with vector operations:
(*vfil, *voper, *vfun, *mfun ...)

If you have the vector, you can define the constraints with a do loop:

*do,i,1,10
d,name(i,1),ux,name(i,2)
*enddo

Or with an implied do loop:

d,name(1:10,1),ux,name(1:10,2) -> works faster by big problems!
 
Status
Not open for further replies.
Back
Top