• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Adams
  3. How to rotate and translate a part during run time simulation...

Following Cadence Design Systems’ acquisition of the Design & Engineering (D&E) business, the D&E Community Forum on the Nexus Community Center has been migrated in the Cadence Physical System Simulation Community. For more details and if you have any questions, please refer to the FAQ.

Stats

  • State Verified Answer
  • Replies 14
  • Subscribers 3
  • Views 22
  • Members are here 0
More Content

How to rotate and translate a part during run time simulation?

Tuan Nguyen
Tuan Nguyen over 7 years ago
How to rotate and translate a part during run time simulation?
  • Sign in to reply
  • Cancel
  • Maziar R
    0 Maziar R over 7 years ago
    Hi Tuan,
     
    You can make use of the Adams Solver Command
     
    MARKER/ID,QP=...
     
    to move a part around provided that the marker is the anchor/reference marker of that part. You also need to make sure that the dependencies are all properly addressed.
     
    Check out the attached model. MARKER/2 which is the anchor marker of the box is used to move it around at time 0.2 seconds. However, the dependent object JOINT/1 whose ground marker is MARKER/4 should also be moved. As a result, MARKER/4 is also moved to address the dependency issue.
     
    Thanks,
    Maziar

    Attached Files (1)
    test_mod.cmd.zip
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • MK202610123211
    0 MK202610123211 over 7 years ago
    Otherwise a GCON would be my favorite pick.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Tuan Nguyen
    0 Tuan Nguyen over 7 years ago
    Thank you, Maziar !
    I see the part II moves as expected.
     
    My problem seems a little bit more complicated.
    I need to move a part based on of the translation vector and rotation matrix of another part in the last successful integration step.
    Some thing should relate to subroutine, right ? But I have never tried subroutine and don't know is this possible to do my idea.
     
    Any suggestion?
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • MK202610123211
    0 MK202610123211 over 7 years ago
    Well this is what a GCON does, but I won't type it a third time.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Tuan Nguyen
    0 Tuan Nguyen over 7 years ago
    @Martin Kieltsch​ I looked at some examples of GCON in this and old forum. I see GCON could be nice way to constrain object.
    However in my situation, I need to input the previous displacement of another part which probably could't get using acf file, but might be with subroutine .
     
    @Maziar Rostamian​ Would you mind suggesting any subroutine I could use to move a part per integration step ?
     
    I have just started with Adams but got more experience with Marc subroutine.
     
    My thanks!
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
>
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2026 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information