mecheng050
Mechanical
- Oct 24, 2007
- 9
Hello there! This is one of my first posts on this forum, I usually figure out engineering problems myself but this time I am facing a strange situation with a series of interconnected containers all exchanging water.
I am explaining:
There is, lets say 5 containers all the same size, same volume standing side by side (Imagine cylindrical storage tanks). All containers are tied together by a common drain and each container is connected to the neighbor containers by small pipes.
The purpose of the piping is to allow water being collected into any container to be discharged to all other containers and prevent overflooding.
Now lets say we flood a container (it could be any of them) at a faster rate than what the piping can drain, the water level in this container will raise and when we stop filling this container, the level will drop down due to water being drained to all other containers.
My goal is to develop a mathematical model to plot the water level in individual containers VS time for a certain inflow (GPM) and determine if the container being filled will overflow before the water is drained to other containers.
So far I developped a ODE for the container being filled and also developped flow balance equations taking into account every port or inlet/outlet of every containers. I also developed a ODE for every container before & after the container being filled. I wonder if its necessary.
The ODE for the container being filled looks like this:
delta_v/delta_t = -outflow + inflow
where inflow is the inflow, and outflow is the sum of all ports assumed to be discharging.
delta_v = delta_h * w * d (where w & d are the width & depth of the container).
Isolating delta_h/delta_t will give an ODE for the container being filled.
NExt I formulated flow balance equations for all containers using parametric form (i.e. N being the filled container and N-1 being the previous container, and N+1 being the next one....) because there could be up to 20 containers side by side...
All pipe friction losses to be ignored.
Just to be sure I am on the good road, what you guys would do? See the attached sketch it will help to
understand. Arrows indicate bi-directional pipes so water can flow in either directions...
Thanks!!
I am explaining:
There is, lets say 5 containers all the same size, same volume standing side by side (Imagine cylindrical storage tanks). All containers are tied together by a common drain and each container is connected to the neighbor containers by small pipes.
The purpose of the piping is to allow water being collected into any container to be discharged to all other containers and prevent overflooding.
Now lets say we flood a container (it could be any of them) at a faster rate than what the piping can drain, the water level in this container will raise and when we stop filling this container, the level will drop down due to water being drained to all other containers.
My goal is to develop a mathematical model to plot the water level in individual containers VS time for a certain inflow (GPM) and determine if the container being filled will overflow before the water is drained to other containers.
So far I developped a ODE for the container being filled and also developped flow balance equations taking into account every port or inlet/outlet of every containers. I also developed a ODE for every container before & after the container being filled. I wonder if its necessary.
The ODE for the container being filled looks like this:
delta_v/delta_t = -outflow + inflow
where inflow is the inflow, and outflow is the sum of all ports assumed to be discharging.
delta_v = delta_h * w * d (where w & d are the width & depth of the container).
Isolating delta_h/delta_t will give an ODE for the container being filled.
NExt I formulated flow balance equations for all containers using parametric form (i.e. N being the filled container and N-1 being the previous container, and N+1 being the next one....) because there could be up to 20 containers side by side...
All pipe friction losses to be ignored.
Just to be sure I am on the good road, what you guys would do? See the attached sketch it will help to
understand. Arrows indicate bi-directional pipes so water can flow in either directions...
Thanks!!