( 1D contact. Temperature.
  Node 1 penetrates element 1; so contact occurs.
  The temperature of element 0 initially is 1.
  The temperature of element 1 initially is 2.
  After contact the temperature of the contacting
  nodes should become 1.5 )

echo -no
number_of_space_dimensions 1
condif_temperature
materi_velocity
materi_strain_total
materi_stress
end_initia

node 1 -0.01
node 2  0.99
node 3  1
node 4  2
element 1  -bar2 1 2
element 2  -bar2 3 4

group_type 0  -condif -materi
group_materi_density 0  1.0
group_materi_elasti_young 0  1.0
group_materi_memory 0  -updated_without_rotation
group_condif_capacity 0  1.
group_condif_density 0  1.

node_dof -ra 1 2 -ra  1. 0.02 0. 0. 0. 0. 0. 0.  0. 0. 0. 0. 0. 0.
node_dof -ra 3 4 -ra  2. 0.00 0. 0. 0. 0. 0. 0.  0. 0. 0. 0. 0. 0.

node_boundary 3  -yes

contact_penalty_velocity  10000.
contact_penalty_temperature  10000.

control_timestep 10  1. 1.
(control_print    10  -node -node_dof)

target_item  1  -node_dof 2 -temp
target_value 1  1.5 1.e-3
target_item  2  -node_dof 3 -temp
target_value 2  1.5 1.e-3
end_data
