hexagon logo

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?

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!
 
  • 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
     
     
     
  • Thanks a lot for your quick answer!
    You are absolutely right, I put the statements into the wrong order.