General Mechanical

General Mechanical

Topics related to Mechanical Enterprise, Motion, Additive Print and more.

Terminate solution based on results

    • wahspilihp
      Subscriber
      I’m using Ansys mechanical to simulate an impact attenuator, so if the acceleration of a particular point exceeds a given value or if the deformation of a set of points exceeds a given value the design must be rejected, so there’s no point continuing the analysis.

      Is there a way to tell the solver to give up if the results are unacceptable? I tried searching but I could t guess what it was called.

      I’m currently running solutions from the mechanical GUI, but I’m comfortable using the command line or editing scripts if needed.
    • Sandeep Medikonda
      Ansys Employee

      You can define EKILL as needed to delete elements based on certain criteria. See this post by peter.


      You can always use Interrupt Solution and then kill it at that time. This way you have the restart file to make changes and submit again if needed.


      See this section from the help.


      Regards,
      Sandeep
      Guidelines on the Student Community

    • mrife
      Ansys Employee

      Hi Wahspilihp


      You've not quite given us enough information about the actual type of analysis...or I should say the solution type.  Since you mention acceleration as a design criteria.  Is this an implicit or explicit analysis?  In either case it can be difficult to automate a stop/continue criteria.  For implicit it may be expected and reasonable that the criteria be violated on the Newton-Rhapson iteration level, but then at the end of the sub-step the criteria are still being met so the solution can proceed to the next time step.  So having a solution-only implementation would not be straight-forward.  However you could define a deformation result tracker and view it in real time, then interrupt/stop the solve as needed.  The EKILL discussion that Sandeep M linked is a nice application that I suspect uses some kind of "solve -> post process -> restart solve"  type of loop to do more in-depth post-processing to determine whether to stop the analysis or continue on with a restarted solve.


      See this section from the help for more information on restarting MAPDL - you would implement via a command object in WB Mechanical.


      Mike

Viewing 2 reply threads
  • The topic ‘Terminate solution based on results’ is closed to new replies.