×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

subtracting the deformations

subtracting the deformations

subtracting the deformations

(OP)
Dear friends,
How can I subtract the deformations of load case 2 from load case 1? In the other words, how can I set the deformations to zero before starting the load case 2?

Regards
Jili

RE: subtracting the deformations

Hi,

I have done some time ago such a thing. You could save the displacements of the first load case in a table parameter and then use the comand desol to substract the initial deformations (from the table) from the actual deformations. When you then plot the results, you will see only the displacements from the second load case.

Regards,
Alex

RE: subtracting the deformations

(OP)
Dear Alex,
 thanks a lot for your answer. Do you have any example that uses this command?

Regrads
Jili

RE: subtracting the deformations

For example (just 2 load cases):

CODE

/post1
lc=2 ! two load cases
! define vector of nodal displacements:
nsel,all
*get,ncount,node,,count
*dim,uvector,array,ncount,3,lc
! fill uvector with results from all loadcases:
*do,i,1,lc
set,i
*vget,uvector(1,1,i),node,1,u,x
*vget,uvector(1,2,i),node,1,u,y
*vget,uvector(1,3,i),node,1,u,z
*enddo
! substract results (first lc from second lc) and
! overwrite the second lc:
*voper,uvector(1,1,2),uvector(1,1,2),sub,uvector(1,1,1)
set,2
nd=ndnext(0)
*dowhile,nd
dnsol,nd,u,x,uvector(i,1,2)
dnsol,nd,u,y,uvector(i,2,2)
dnsol,nd,u,z,uvector(i,3,2)
nd=ndnext(nd)
*enddo
plnsol,u,sum
*enddo

I don't find the original code, so I'm not shure this code is 100% bug free. I hope it works.

Regards,
Alex

RE: subtracting the deformations

(OP)
Dear Alex, Thanks a lot for your valuable answer,

Regards
Jili

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources