How much energy needed to push a volume of water? I am trying to solve a situation, where I'd like to know how much energy would be needed to push a mass of water out of a container. Here's an image to help understand:

The water tank has a height of 2 meters, length of 6 meters, and width of 4 meters. If a piston, much like a coffee press but watertight, pushes the water with only the hole on top of the container, as shown in the drawing, as an exit point, how much energy would be needed for that device to go all the way to the other side of the container? Assuming the hole is 1 square meter, if that can help. 
I understand there are a lot of forces to take into consideration, such as friction, hydrostatic pressure, and more, but I'm trying to figure out if it would require a lot of energy or would it remain minimal? What is the force that will require the most energy? Hydrostatic pressure?
If there is a formula that would enable me to figure this out, that is all I'm asking, I can try and do the math myself, but I can't figure out where to start!
Thanks a lot for the help!
 A: Hint: What potential energy does the water have with respect to the heigh of the container valve?
A: I don't think that the size of the hole has an influence on the energy required. Friction is a complicated matter here, not easy to calculate. Try to calculate the pressure imposed by the water on the piston. The force working against that pressure will require most energy. 
Edit
The pressure on the piston isn't uniform along its height in this case. At any given height the pressure is $p=\rho g z$, where $z$ is the vertical coordinate. To get the force required to counteract the pressure imposed on the piston You need to integrate this formula across the piston surface:
$F=\int_Sda $ = $F=\rho g \int_0^w \int_0^h zdzdx$
Finally, after the integration:
$F_{piston}= \frac{1}{2} \rho g w h^2 $,
where $\rho$ is the density of the fluid, $g$ is the gravitational acceleration, $w$ is the tank's (and piston's) width and $h$ is the tank's (and piston's) height.
Having the force all You need to do is multiply it by tank's length to get the work (and energy) required.
A: This can be treated by use of Bernoulli Equation, which says that the sum of geodetic, dynamic and static pressure is constant for every flow cross section of a frictionless fluid system. On top of that, friction can be accounted separately and represent the other side of the Eqn.. For the fluid part, friction factors depend on Reynolds Number and geometry. They are multiplied by the corresponding dynamic pressures to obtain the fluid pressure losses. For the piston the friction factor gives the friction force by multiplication with the normal force (weight force). Or perhaps more realistically by the sealing force of the piston sealing. Those friction factors depend on tribology. As pressure times area is force, all of what you are interested in can be calculated that way. 
