We’re putting the final touches on our new badges platform. Badge issuance remains temporarily paused, but all completions are being recorded and will be fulfilled once the platform is live. Thank you for your patience.
General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

How to Apply Remote Displacement in ANSYS APDL by Code or Interface

    • ahmet.yildirim
      Subscriber

      Hi,

      Firstly, please see the previous discussion: https://innovationspace.ansys.com/forum/forums/topic/how-to-apply-remote-displacement-in-ansys-apdl-2/ 

      Here, I try to first way succesfully but I try to insert remote displacement to ANSYS APDL/Mechanical by Code by Interface manually. For this, there is a second way "rbe and padt and ansys" google search but how to do by this way I didnot comprehend.

       

      I tried to model simple 100x100x10 mm^3 (X,Y,Z) block in Workbench and see ds.dat file from Solution>Open Solver Directory. The model fixed at the bottom and remote displacement inserted along +z direction by magnitude of 3 mm.

      Is there any process to extract code from ds.dat file? ds.dat file can be found in this link: https://stdyildizedu-my.sharepoint.com/:w:/g/personal/ahmet_yildirim4_std_yildiz_edu_tr/EaZ7B2tIZtVHiDhgbPyGTCwB5TE2EKrjlWR5k6RqqV_0sQ?e=mdzzNa

      As special, I try to apply remote displacement in the time step of 2. Here is a some code I extract from ds.dat file (from another example block):

      """

      time,2

       

      nblock,3

      (1i9,3e20.9e3)

          24130     2.026135417E+03     1.230935777E+03     1.099999994E+02

      *set,tid,3

      *set,cid,2

      et,cid,174

      et,tid,170

      keyo,tid,2,1               ! Don't fix the pilot node

      keyo,tid,4,111111

      keyo,cid,12,5              ! Bonded Contact

      keyo,cid,4,1               ! Deformable RBE3 style load

      keyo,cid,2,2               ! MPC style contact

      eblock,10,,,2124
      nsub, 40, 100, 40

      allsel

       

      *DIM,_loadvari39uz,TABLE,3,1,1,TIME

      ! Time values

      *TAXIS,_loadvari39uz(1),1,0.,1.,2.

      ! Load values

      _loadvari39uz(1,1,1) = 0.

      _loadvari39uz(2,1,1) = 0.

      _loadvari39uz(3,1,1) = 4.

       

      CMBLOCK,REMOTEDISPALL,NODE,        1

      (8i10)

           24130

       

      esel,all

      /gst,on,on

      fini

      *get,_numnode,node,0,count

      *get,_numelem,elem,0,count

      *get, _MAXELEMNUM, elem, 0, NUM, MAX

      *get, _MAXNODENUM, node, 0, NUM, MAX

      *get, _MAXELEMTYPE, etyp, 0, NUM, MAX

      *get, _MAXREALCONST, rcon, 0, NUM, MAX

       

       


      OUTRES, ALL, ALL
      lswrite, 2

      """

      Is there any way to "Apply Remote Displacement in ANSYS APDL by Code or Interface"?

      I am looking forward to any response.

       

      Thanks a lot.

       

      Ahmet YILDIRIM

    • Harshvardhan
      Ansys Employee

      Hi,
      There are a few similar discussion on forum, see if these help you out:
      Remote displacement on Ansys Mechanical APDL
      Remote Displacement using APDL (ansys.com)

      Regards,
      Harshvardhan

    • ahmet.yildirim
      Subscriber

      Hi Harshvardhan,

      I extract a code from discussions,

      """

      nsel,s,loc,z,110

      CM,P1,NODE
      d,P1,uz,4

      """

      But this is like a normal displacement just grouping them and then appl a disp. 

      Trying to do:

      For a wall, which has a thickness of 110 mm, I try to select all nodes at this z=110 mm and then apply remote displacement at the middle of the wall (LxH let's say).

      How to rerrange the code, if you could see?

      Thanks,

      AY

       

Viewing 2 reply threads
  • You must be logged in to reply to this topic.