Quantcast
Channel: Latest Discussions - COMSOL Forums
Viewing all articles
Browse latest Browse all 6573

Time Dependent Solver - Stop Condition

$
0
0

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


Viewing all articles
Browse latest Browse all 6573

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>