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

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


1 Reply Last Post 15.05.2018, 05:32 GMT-4
Johannes Gräwer COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 7 years ago 15.05.2018, 05:32 GMT-4

Dear phil

if your COMSOL license is on subscription, you can submit your questions via the Support Center for a comprehensive response from our Technical Support team.

Best Regards, Johannes Gräwer

Dear phil if your COMSOL license is on subscription, you can submit your questions via the [Support Center](https://www.comsol.com/support) for a comprehensive response from our Technical Support team. Best Regards, Johannes Gräwer

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.