I have to tanks thta are right next to each other in the system that i am modeling. It is a steady state model so I modeled the 2 tanks as reservoirs. But as you can see by the flow direction one tank is being filled by the other which does not seem logical to me both reservoirs should be sending flow out.
In a given steady state, energy is balanced based on boundary conditions (known hydraulic grade at reservoirs and tanks) and other constraints like demands and physical parameters. For a steady state this concept is the same between tanks and reservoirs (both establish a boundary condition based on the reservoir elevation or the tank initial elevation).
In your example case the flow direction of each reservoir is based on what the hydraulic grade is at the junction between them. Consider the two below illustrations for example. In the first example on the left side, the HGL from the outflow of the left tank/reservoir is still higher than the right side tank elevation at the junction location, so the right side tank fills. In the second example on the right side the headloss in the left side pipe is higher so by the time flow reaches the junction, the HGL is lower than the elevation of the right tank, so both tanks experience outflow.
Check the elevations of your reservoirs, the headloss in the connecting pipes and look at the profile view. If they represent hydraulically close tanks, combine them into a single tank (or place a reservoir at the junction point with the elevation set to the assumed HGL that the tanks would supply). This general idea is documented in the following article: Rapid flow oscillation between hydraulically close tanks
Regards,
Jesse DringoliTechnical Support Manager, OpenFlowsBentley Communities Site AdministratorBentley Systems, Inc.
Answer Verified By: Christen Crique