( 
Solid 2D Thermal model with heat generation and convection.
10mm X 10mm X 1mm slab 
1.0 W/mm^3 heat gen in the element 
Tc = 0  in the surrounding fluid, with heat transfer
coeff = 1.0 W/mm^2K
top & bottom are adiabatic
k=1, c=0, density=0

q= 1 W/mm^3 x 10mm x 10mm x 1mm generated
q= h A (T - Tc)
100 = 1 * (4 * 10 * 1) *( T - 0.0)
T = 2.5 at all nodes - average for the body.

Osman Buyukisik        osman@fuse.net

)

echo -no
number_of_space_dimensions 2
condif_temperature
end_initia

options_solver -matrix_iterative_bicg

node 1  0 0
node 2  10 0
node 3  0  10
node 4  10 10

element 1  -quad4 1 2 3 4

group_type 0  -condif
group_condif_conductivity 0 1

(all sides  convect )
condif_convection  0   1.0 0.0
condif_convection_geometry 0 1 2 3 4

(heat gen in element 1)
force_element_volume          0  1.0
force_element_volume_geometry 0  1 

control_timestep                       10  0.1 1.
control_timestep_iterations_automatic  10  0.01 0.05
control_options_solver                 10  -matrix_iterative_bicg
(
control_print                          10  -time_current -node_dof
)

target_item    1  -node_dof 1 -temp
target_value   1  2.5 0.01
target_item    2  -node_dof 2 -temp
target_value   2  2.5 0.01
target_item    3  -node_dof 3 -temp
target_value   3  2.5 0.01
target_item    4  -node_dof 4 -temp
target_value   4  2.5 0.01
end_data
