Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
Time Dependent Solver - Stop Condition
Posted 15 mag 2018, 05:27 GMT-4 General, Parameters, Variables, & Functions, Studies & Solvers 1 Reply
Please login with a confirmed email address before reporting spam
Hi everyone,
I have a plasma model and I try to implement a stop condition. My idea is that the simulation breaks if a condition is met for example: if the electron density at the current timestep does not change much compared to the one timestep before. (1 - plas.ne(t)/plas.ne(t-1) < epsilon)
I implemented a implicit event with the condition "term < epsilon" then I add an indicator state with the term condition "1 - plas.ne(t)/plas.ne(t-1)". After that I add a stop condition at the time dependent solver node and activate the implicit event button. Unfortunately this implementaion does not work. I don't how to address the variables at current timestep and timestep before.
Maybe someone can help me Best regards