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.
Stop conditions with local values
Posted 4 juin 2014, 14:55 UTC−4 1 Reply
Please login with a confirmed email address before reporting spam
Hi Guys,
I have a 1D - simulation which calculates the particle concenctration in a water-particle-dispersion during drying.
What I would like to implement now is one (or two?) stop conditions which cause that the simulation stops as soon as the local particle concentration either at the bottom (Boundary 1) or at the top (boundary 2) reaches a certain value.
I already know that I'll have to define two global variables with the integration operator which represent my current values at this point. My problem now is that I don't exactly know how I can tell the programm to integrate these values at boundary 1 or 2 respectively?
I was thinking of something like this: phi_B1=intop1(phi) and phi_B2=intop2(phi) ?
(where phi is referred to as the particle concentration)
Could you please help me? I already assume that it's not that of a big deal but I unfortunately didn't find anything helpful in the search before.
I have a 1D - simulation which calculates the particle concenctration in a water-particle-dispersion during drying.
What I would like to implement now is one (or two?) stop conditions which cause that the simulation stops as soon as the local particle concentration either at the bottom (Boundary 1) or at the top (boundary 2) reaches a certain value.
I already know that I'll have to define two global variables with the integration operator which represent my current values at this point. My problem now is that I don't exactly know how I can tell the programm to integrate these values at boundary 1 or 2 respectively?
I was thinking of something like this: phi_B1=intop1(phi) and phi_B2=intop2(phi) ?
(where phi is referred to as the particle concentration)
Could you please help me? I already assume that it's not that of a big deal but I unfortunately didn't find anything helpful in the search before.
1 Reply Last Post 5 juin 2014, 05:19 UTC−4