Kill a computation but generate the output files

Steven PETROWISTE
Steven PETROWISTE Altair Community Member
edited November 2022 in Community Q&A

Hi, 
My issue with OptiStruct is the following:
Is it possible to stop/kill a running computation when convergence begin to be really difficult and really close to the end of the computation AND let OptiStruct generates the h3d file and all the output files like contact file (especially when the results seems to be good so far and enough for my concern)
Thanks.
Best regards

Steven

Best Answer

  • PaulAltair
    PaulAltair
    Altair Employee
    edited November 2022 Answer ✓

    If you create a file with name/extension 'yourjobname.osquit' in the running folder, that should terminate the job at the end of the current iteration, and produce full results of that iteration (including full set of h3d files), exactly as if the iterations converged. Ben's comment about improving the convergence is a good one though!

Answers

  • Ben Buchanan
    Ben Buchanan
    Altair Employee
    edited September 2022

    What kind of convergence (i.e. optimization convergence, contact convergence, etc.)? I don't know of a way to kill the job and make it create out files for either but depending on what you are doing there may be some things that will help.  You may want to look at things that will improve the convergence before you try and kill jobs.

  • PaulAltair
    PaulAltair
    Altair Employee
    edited November 2022 Answer ✓

    If you create a file with name/extension 'yourjobname.osquit' in the running folder, that should terminate the job at the end of the current iteration, and produce full results of that iteration (including full set of h3d files), exactly as if the iterations converged. Ben's comment about improving the convergence is a good one though!

  • Steven PETROWISTE
    Steven PETROWISTE Altair Community Member
    edited November 2022

    Thank you @Paul Sharp your solution fits perfectly my need. I use windows command prompt and I just create the file 'myjobname.osquit' with the command fsutil file createnew