( Heat transfer + convection.
  One-dimensional.
  Left node prescribed temperature 1.
  Right node prescribed temperature 0.
  Remeshing is used to get evenly spread element residues.
  This is accomplished if node 2 gets about coordinate 1.5 )

echo -no
number_of_space_dimensions 1
derivatives
condif_temperature
residue
end_initia

node 1  0 
node 2  1 
node 3  2 
element 1  -bar2 1 2 
element 2  -bar2 2 3 

node_boundary 1  -yes
node_boundary 3  -yes

geometry_point 1  0. 1.e-2
geometry_point 3  2. 1.e-2

bounda_unknown 0  1 -temp
bounda_time   0  0.0 0.0 1. 1. 1.e6 1.
bounda_unknown 1  3 -temp
bounda_time   1  0.0 0.0 1.e6 0.

group_type 0  -condif
group_condif_density 0  1.0
group_condif_capacity 0  0.1
group_condif_conductivity 0  0.1
group_condif_flow 0  1.

print_filter 1  -node_dof -all -temp -res

control_timestep             0  0.1 20.
control_timestep_iterations  0  4
control_mesh_remesh          0  -yes
control_mesh_remesh_factor   0  0.01 1.
(
control_print                0  -time_current -node -node_dof
control_print_history        0  -node 2 0
)

target_item 0   -node 2 0
target_value   0   1.5 2.e-2
end_data
