• 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. cnfsub loci and locj

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 11
  • Subscribers 3
  • Views 6
  • Members are here 0
More Content

cnfsub loci and locj

Josef K.
Josef K. over 4 years ago
Hello,
 
I'm trying to build a subroutine for a custom contact normal force. I require the locations of the contact so I wanted to utilize the loci, locj variables but every time print their information they seem to be completely off. To elaborate:
 
I have set up a model with a contact taking place around the location of -100,0,0. I've built a subroutine that prints out the loci, locj arrays from matlab but instead of printing something like
 
[-100, 0, 0 (+-some small percentage due to the contact incidents)]
 
the numbers are completely off.
 
Does Adams measure the locations from a starting point other than the global (0,0,0)? Or am I perhaps interpreting the loci, locj vectors wrong?
 
Thanks,
 
Josef K.
  • Sign in to reply
  • Cancel
Parents
  • Josef K.
    0 Josef K. over 4 years ago
    Right, sorry.
     
    All the parts have (0,0,0) as a location. So it would still not add up. I 'look further into it.
     
    Thanks!
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Josef K.
    0 Josef K. over 4 years ago
    Right, sorry.
     
    All the parts have (0,0,0) as a location. So it would still not add up. I 'look further into it.
     
    Thanks!
    • 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