• 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. I am using a simulation script that reduces the error tolerance...

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

I am using a simulation script that reduces the error tolerance within the stationary part of the simulation (Solver Hastiff SI1). The saved .msg-file tells me that Gstiff I3 is used. How can I check if the simulation script is performed correctly?

philipp.viandt
philipp.viandt over 5 years ago
I am doing a convergence analysis on a one-stage gear system. To shorten the simulation time, the run-up simulation is performed using a looser error tolerance. When the assumed to be stationary simulation time is reached, the simulation script step-by-step reduces the error tolerance.
I want to perform several of those scripted simulations using different step sizes to find the converged solution / solver settings. So, within one simulation only the error tolerance is changed.
How can I check if the simulation script is performed correctly?
 
The following simulation script is used:
! Insert ACF commands here:
SIMULATE/DYNAMIC, END=11.0, DTOUT=4.0E-05
INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-5
SIMULATE/DYNAMIC, END=14.0, DTOUT=4.0E-05
INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-6
SIMULATE/DYNAMIC, END=17.0, DTOUT=4.0E-05
INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-7
SIMULATE/DYNAMIC, END=20.0, DTOUT=4.0E-05
INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-8
STOP
 
I am saving a Result-File, so a .msg-file is automatically generated.
The .mgs-file tells me that default solver settings are used:
 
Adams_msgfileMessage
Thank you in advance!
 
  • Sign in to reply
  • Cancel
Parents
  • MK202610123211
    0 MK202610123211 over 5 years ago
    Actually I don't see anything "wrong" as ADAMS has exactly done what you ordered.
     
    You said:
    SIMULATE/DYNAMIC, END=11.0, DTOUT=4.0E-05
    which translates to simulate 11s with a output stepsize of 4e-5. As you didn't specify the solver, the default is used.
     
    In the next line you said
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-5
    which translates to: After you did the first 11 s change the solver to HASTIFF and use my custom error tolerance.
     
    Long story short: I guess you wanted to do:
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-5
    SIMULATE/DYNAMIC, END=11.0, DTOUT=4.0E-05
     
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-6
    SIMULATE/DYNAMIC, END=14.0, DTOUT=4.0E-05
     
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-7
    SIMULATE/DYNAMIC, END=17.0, DTOUT=4.0E-05
     
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-8
    SIMULATE/DYNAMIC, END=20.0, DTOUT=4.0E-05
     
     
     
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • MK202610123211
    0 MK202610123211 over 5 years ago
    Actually I don't see anything "wrong" as ADAMS has exactly done what you ordered.
     
    You said:
    SIMULATE/DYNAMIC, END=11.0, DTOUT=4.0E-05
    which translates to simulate 11s with a output stepsize of 4e-5. As you didn't specify the solver, the default is used.
     
    In the next line you said
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-5
    which translates to: After you did the first 11 s change the solver to HASTIFF and use my custom error tolerance.
     
    Long story short: I guess you wanted to do:
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-5
    SIMULATE/DYNAMIC, END=11.0, DTOUT=4.0E-05
     
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-6
    SIMULATE/DYNAMIC, END=14.0, DTOUT=4.0E-05
     
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-7
    SIMULATE/DYNAMIC, END=17.0, DTOUT=4.0E-05
     
    INTEGRATOR/HASTIFF,SI1,ERROR=1.0E-8
    SIMULATE/DYNAMIC, END=20.0, DTOUT=4.0E-05
     
     
     
    • 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