×
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

Deformed Shape Model export.

Deformed Shape Model export.

Deformed Shape Model export.

(OP)
I wonder if it is possible to export the meshed deformed shape resulted from a static analysis (i.e. a displacement analysis) so it can be used as a model for a new static analysis. Note that this is different from a transient analysis.
Thanks

RE: Deformed Shape Model export.

Sure it can.  This isn't terribly complex.  I think it should be rather easy to make a macro which does this via apdl.  Here's what I think the pseudocode would look like

-Store undisplaced node numbers and coordinates
-Store element number and connectivity information
-Retrieve nodal displacements from analysis
-Form a new database
-Create nodes with corresponding node numbers to the old in their new (displaced) coordinates
-Create elements using numbering and connectivity information from previous analysis.

This should be relatively easy to code up in APDL.

Good luck,
-Brian

RE: Deformed Shape Model export.

Hello,

It should be easier to do it by using the command UPGEOM.

Regards,
Alex

RE: Deformed Shape Model export.

(OP)
I just finished an APDL code, but it was taking too long to rebuild the nodal model:

  !maximum node number
  *get,n_max,node,,num,maxd
  !temporary array
  list_tmp=
  *dim,list_tmp,array,n_max,11  
  !status of selection (masking vector)
  *vget,list_tmp(1,1),node,,nsel
  !filling array with node numbers
  *vfill,list_tmp(1,2),ramp,1,1
  !####################
  !# geting locations #
  !####################
  !node coordinates (X , Y , Z)
  !X
  *vmask,list_tmp(1,1)
  *vget,list_tmp(1,3),node,,loc,x
  !Y
  *vmask,list_tmp(1,1)
  *vget,list_tmp(1,4),node,,loc,y
  !##################
  !# geting results #
  !##################
  *vmask,list_tmp(1,1)
  *vget,list_tmp(1,6),node,,U,x
  *vmask,list_tmp(1,1)
  *vget,list_tmp(1,7),node,,U,y
  !#########################
  !# cALc. New Coordinates #
  !#########################
  !X
  *VOPER,list_tmp(1,9),list_tmp(1,3),ADD,list_tmp(1,6), , ,   
  !Y
  *VOPER,list_tmp(1,10),list_tmp(1,4),ADD,list_tmp(1,7), , ,   
  *CREATE,ansuitmp
  *CFOPEN,'juju','txt',' '
  *VWRITE,list_tmp(1,2),list_tmp(1,9),list_tmp(1,10),list_tmp(1,11)  
  (7F10.3,7F10.5)
  *CFCLOS
  *END
  /INPUT,ansuitmp
  !*  

!Delete all mesh and solid model manually

  *do,o_,1,n_max,1
  n,list_tmp(o_,1),list_tmp(o_,9),list_tmp(o_,10),
  *enddo

The UPGEOM command works very well, but it needs the .rst file. The UPCOORD command instead works the same way using the current ANSYS database.
The problem is Solved!
Thanks Brian and Alex for the replies!

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