(Elongation test truss in 2D.
 A force is given on the second node in 1,1 direction.
 Relaxation is needed because the truss initially has no stiffness in
 y-direction. )

echo -no
number_of_space_dimensions 2
materi_velocity
materi_displacement
materi_stress
end_initia

node 1  0 0
node 2  1 0
element 1  -truss 1 2

group_type 0  -truss
group_truss_area 0  1.0
group_truss_young 0  1.0

bounda_unknown 0  1 -velx -vely
bounda_time    0  0. 0. 1. 0.
bounda_force   1  2 -velx -vely
bounda_time    1  0. 0. 1. 1.

control_timestep                   0  1.e-1 1.e-1
control_options_solver             0  -matrix_iterative_bicg
control_timestep_iterations        0  100
control_relaxation_materi_velocity 0  1.
(
control_print                      0  -node -node_dof -node_rhside
)

target_item    0  -node_rhside 1 -velx
target_value   0  1.e-1 1.e-4
target_item    1  -node_rhside 1 -vely
target_value   1  1.e-1 1.e-4
end_data
