( Water force.
  Two-dimensional.

  The right elements are soil and contain water.
  The left elements model a wall.
  The pressure of the water in the soil acting on the wall is 
  modeled with force_element_edge_water.
  Gravitation acceleration is 9.8.
  Since the wall_soil_interface contains elements at both sides,
  only half the force should be imposed (since the edge force on both
  elements then will give the correct force in total);
  so we use 4.9 for g.

)

echo -no
number_of_space_dimensions 2
materi_velocity
materi_stress
end_initia

start_define
  eps_geometry 1.e-7
end_define

start_define
  left_edge geometry_line 1
end_define
left_edge 0. 0. 0. 1. eps_geometry

start_define
  wall_soil_interface geometry_line 2
end_define
wall_soil_interface 1. 0. 1. 1. eps_geometry

node 1  0 0
node 2  1 0
node 3  0 1
node 4  1 1
node 5  2 0
node 6  2 1
element 1  -quad4 1 2 3 4
element 2  -quad4 2 5 4 6
element_group 1 1
element_group 2 2

(wall)
group_type 1  -materi
group_materi_elasti_young 1  200.e5
(soil)
group_type 2  -materi
group_materi_elasti_young 2  207.e3

groundflow_phreaticlevel 0. 1. 2. 1.

force_element_edge_water          0  1. 4.9 -1. 0.
force_element_edge_water_geometry 0  -wall_soil_interface

bounda_unknown 0  -left_edge -velx -vely
bounda_time    0  0.0

post_point 1  0.25 0.

control_mesh_refine_globally   10  -h_refinement
control_repeat                 20  4 10

control_timestep              100  1. 1.

target_item   0   -post_point_dof 1 -sigxx
target_value  0   -9.8 1.e-2
end_data
