Jump to content
m.brassel

Is there a way to interrupt a command in Flux?

Recommended Posts

Hello,

 

with bigger models I had the problem recently, that some commands were taking a lot of time (from several minutes to even hours) to complete. These commands could be meshing the domain, assembling objects etc. Is there a way to interrupt the ongoing command and return to the previous step?

 

I tried the STOP sign during meshing. But that does not work if the mesher is in the state of repairing the mesh.

 

My work around is to save beforehand, execute the command and if it takes too long or the output messages show problems, I kill the whole Flux process.

Share this post


Link to post
Share on other sites

Hello.

Unfortunately, the commands are treated one by one, so a new command cannot be run until the previous one was finished, this remains true if the commands is introduced through the GUI or a python instruction/file.

In conclusion, you cannot choose to stop a command depending on how much time he spends to finish.

Best regards.

Share this post


Link to post
Share on other sites

Thank you for your answer. Though it's not what I wanted to hear.

 

Maybe this could be added as an improvement for a coming release? This could be very helpful, especially for longer or more complex operations. So one could send the interrupt and change the settings before starting the command again.

 

Kind regards.

Share this post


Link to post
Share on other sites

You are welcome.

In fact, this is a good possibility for a “new feature request”.

Today, your best option if one commands takes a long time is to kill your Flux project manually and take advantage of the automatically generated python file to reproduce all the non-blocking steps that have been done after the last project opening. You will find this python file in your working directory under the name Flux2D_log.py (or Flux3D_log.py). Of course, you can edit it as any usual Python file, it is also worthwile to notice that only the finish commands are recorded there (i.e., the blocking command will not be there).

Best regards.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
You are posting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...