Example of A Free Surface Simulation
Example of A Free Surface Simulation
At the start of this example, the reservoir on the left is full, and the one on the right is empty. The
reservoirs are separated by a retaining wall with a gate cut-out
cut out to allow water to pass between the
reservoirs.
Boundary Conditions:: There are no inlets or outlets because the flow is contained within the
domain. No boundary conditions are applied. Note that a pressure condition is automatically applied
at the liquid-air
air interface, so it is not necessary to apply an additional pressure boundary condition in
this model.
Initial Conditions:: Because the reservoir on the left starts
starts full of water, apply the HOF initial condition
to it.
Mesh Sizing:: Use Automatic Sizing, but refine the mesh where the air and water will interact. In this
case, that is primarily in the gate and in the right-side
right
reservoir.
Solve:
On the Physics tab of the Solve dialog, click Free surface, and check Enable free surface.
surface
On the Control tab, the Solution Mode is automatically set to Transient, and the Time Step Size
is automatically set to 0.01.
If you wish to animate the results, specify a value for Save Intervals > Results.
Results
Specify the number of time steps (1400 were used for this simulation), and click Solve.
Results:
To view the shape of the flow, right click off the model, and click Free Surface.
Surface
As you can see, the water flows from the left reservoir into the right reservoir until the water level in
the two is the same.