Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.
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.
Using a Probe Value for a Stop Condition
Posted Jan 15, 2013, 6:25 p.m. EST Studies & Solvers Version 4.3a 4 Replies
Please login with a confirmed email address before reporting spam
Hello fellow COMSOL users.
Can someone refer me to a model or tell me how to solve my problem.
In a system undergoing resistive heating I want to use the calculated resistive energy as the stop condition for a resistive heating step. The User Manual talks about using Probes to monitor the development of a scalar quantity and says that a Probe variable can be used as a stop condition.
In order to test the concept I developed the attached simple 2D case. It is easy enough to keep track of the resistive power by volume integrating ec.Qrh and calling it POWER. Next, I tried to keep track of resistive energy by setting up a Global Variable Probe and defining it as the time integral of power (timeint(0,t,POWER)).
When I ran the Study I received the warning that the time integral operator cannot be used in this context. Nevertheless, the resulting table looked OK. It is clear that I need help!
Also, I don’t have to be precise with regard to the stopping point. I can always control my time steps to have them close to each other within my time zone of interest.
So here is my two part question: How should I keep track of resistive energy and how do I use it as a stop condition?
Any help will be greatly appreciated.
Joe Williams
Can someone refer me to a model or tell me how to solve my problem.
In a system undergoing resistive heating I want to use the calculated resistive energy as the stop condition for a resistive heating step. The User Manual talks about using Probes to monitor the development of a scalar quantity and says that a Probe variable can be used as a stop condition.
In order to test the concept I developed the attached simple 2D case. It is easy enough to keep track of the resistive power by volume integrating ec.Qrh and calling it POWER. Next, I tried to keep track of resistive energy by setting up a Global Variable Probe and defining it as the time integral of power (timeint(0,t,POWER)).
When I ran the Study I received the warning that the time integral operator cannot be used in this context. Nevertheless, the resulting table looked OK. It is clear that I need help!
Also, I don’t have to be precise with regard to the stopping point. I can always control my time steps to have them close to each other within my time zone of interest.
So here is my two part question: How should I keep track of resistive energy and how do I use it as a stop condition?
Any help will be greatly appreciated.
Joe Williams
Attachments:
4 Replies Last Post Jan 17, 2013, 4:10 p.m. EST