Right now the inlet is shutoff during the simulation using the nDo parameter:
To specify nDo sometimes requires an iterative process to know at what point of increments I shut off the intlet.
I would like to shut it off using an IF statement if possible. For example, if the rate_inlet is the same as the rate_outlet. That way I know that steady state has been reached and no more rocks can be added to the dumpbody and it is time to shutoff the inlet.
There are several possibilities for controlling the inlet.
thanks for implementing DetectSteadyState. It will be a very useful feature for simulations.