• 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 Car
  3. How to make same request as 907 using functions?

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 Not Answered
  • Replies 2
  • Subscribers 1
  • Views 5
  • Members are here 0
More Content

How to make same request as 907 using functions?

jozef.bucha
jozef.bucha over 5 years ago
Hello, I want to make request same as 907 (measuring displacement) but with functions:
request_subrutine
My request using functions:
request_function
To obtain same translational displacement for F2 i had to add minus sign:
comparison_1
Problem is with angles. Yaw angle values are perfectly same:
comparison_yaw
Roll angles are not perfectly same:
comparison_roll
Biggest difference is in pitch angle. To have same sign of values i have used minus in F7 function of request:,
comparison_pitch
Why are pitch angles so different? Is there some problem in my function request?
 
Also what I do not understand is why subrutine 907 for longitudinal displacement is giving positive values (i think vehicle is going in minus direction of GCS).
 
Thanks
 
Jozef
  • Sign in to reply
  • Cancel
Parents
  • MK202610123211
    0 MK202610123211 over 5 years ago
    Without the source code of req907 that'll be difficult to say, but other codes I ran across use the fortran utility SYSARY with the option DISP to fill a result array and then return that to ADAMS.
    The solver documentation states that SYSARY/DISP evaluates DX/DY/DY/PSI/THETA/PHI which is exactly what you tried.
     
    But you also noticed that the results were negative.
    So in your case I'd first try to invert i/j in the function expressions instead of negating the results.
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • MK202610123211
    0 MK202610123211 over 5 years ago
    Without the source code of req907 that'll be difficult to say, but other codes I ran across use the fortran utility SYSARY with the option DISP to fill a result array and then return that to ADAMS.
    The solver documentation states that SYSARY/DISP evaluates DX/DY/DY/PSI/THETA/PHI which is exactly what you tried.
     
    But you also noticed that the results were negative.
    So in your case I'd first try to invert i/j in the function expressions instead of negating the results.
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
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