Jump to content

Recommended Posts

Hi,

 

Does anyone know if Flux2D have the function of terminate the simulation at desire condition?

Let say, I want my simulation to stop when the center point of the substrate hits the melting temperature.

 

'Best.

Jerome.

Share this post


Link to post
Share on other sites

Hi Jerome,

Yes, of course you can use all the functionalities of phyton in your script, including loops and “if” conditions.

Problem here is, once you have launched the resolution, Flux is not going to take any other python command until the end of this resolution process.

One possible solution is to launch a solving process with only a few steps, verify your stop condition, then modify your solving scenario adding new steps and launch the resolution of these new steps. You can repeat this schema in an iterative way until your stop condition has been reached.

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...