Function aborted, Stop calculation? error

Rachit Semalty
Rachit Semalty Altair Community Member
edited May 2021 in Community Q&A

Hi all. I am running a TCL code that needs number of iterations. After a particular number of iterations of one function in the code, hm giving the error:

function aborted, Stop run? yes   no.

I am selecting no and proceeding. The code is working fine. Is there any way I may prevent hm from giving this error or if it may auto select yes so that the calculation does not stop by itself?

Regards,

Rachit

Tagged:

Answers

  • Adriano_Koga
    Adriano_Koga
    Altair Employee
    edited May 2021

    it's hard to tell what is going on.

     

    I know that for some user interaction you could use 'hm_answernext' to preset an answer if needed.

    But i don't know if that's the case.

     

        hm_answernext yes
        *deletemodel

  • Rachit Semalty
    Rachit Semalty Altair Community Member
    edited May 2021

    it's hard to tell what is going on.

     

    I know that for some user interaction you could use 'hm_answernext' to preset an answer if needed.

    But i don't know if that's the case.

     

        hm_answernext yes
        *deletemodel

    Dear Adriano, thanks for your reply. But is there any way I may automatically ask hm to continue? I mean how to catch the error, asking hm to not stop calculation and continue script execution right from where the error occurred?

    I am running a code that involves moving a number of nodes simultaneously. If the number of nodes is small it is fine but when it is more (> 20) the script will give this error after some iterations.

    Regards,

    Rachit

Welcome!

It looks like you're new here. Sign in or register to get started.

Welcome!

It looks like you're new here. Sign in or register to get started.