Models - Heat.heat Conduction in Slab
Models - Heat.heat Conduction in Slab
Model Definition
The model domain is defined between x = -b and x = b. The initial temperature is
constant, equal to T0, over the whole domain; see the figure below. At time t = 0, the
temperature at both boundaries is lowered to T1.
T(b,0)=T1
T(-b,0)=T1
-----
= ---------2
2012 COMSOL
1 |
To model the temperature decrease at the boundaries use a smoothed step function of
time f().
= 1, = f ( )
This method is usually more realistic from a physical point of view than the sudden
change in the temperature, and it is also better from a numerical point of view.
Reference
1. H.S. Carslaw and J.C. Jaeger, Conduction of heat in Solids, 2nd ed., Oxford
University Press, p. 101, 1959.
2 |
2012 COMSOL
Modeling Instructions
MODEL WIZARD
The Heat Transfer in Solids interface can be used for solving the dimensionless
equations. You can switch of the dimensions using the following commands:
1 In the Model Builder window, click Model 1.
2 In the Model settings window, locate the Model Settings section.
3 From the Unit system list, choose None.
GEOMETRY 1
Interval 1
1 In the Model Builder window, under Model 1 right-click Geometry 1 and choose
Interval.
2 In the Interval settings window, locate the Interval section.
3 In the Left endpoint edit field, type -1.
4 Click the Build All button.
5 Right-click Model 1>Geometry 1>Interval 1 and choose Rename.
6 Go to the Rename Interval dialog box and type Slab in the New name edit field.
7 Click OK.
2012 COMSOL
3 |
DEFINITIONS
Step 1
1 In the Model Builder window, under Model 1 right-click Definitions and choose
Functions>Step.
2 In the Step settings window, locate the Parameters section.
3 In the Location edit field, type 5e-4.
4 In the From edit field, type 1.
5 In the To edit field, type 0.
6 Click to expand the Smoothing section. In the Size of transition zone edit field, type
1e3.
H E A T TR A N S F E R I N S O L I D S
4 |
2012 COMSOL
3 From the k list, choose User defined. In the associated edit field, type 1.
4 Locate the Thermodynamics section. From the list, choose User defined. In the
Initial Values 1
1 In the Model Builder window, under Model 1>Heat Transfer in Solids click Initial Values
1.
2 In the Initial Values settings window, locate the Initial Values section.
3 In the T edit field, type 1.
Temperature 1
1 In the Model Builder window, right-click Heat Transfer in Solids and choose the
To make sure that the transition of the boundary temperature from 1 to zero is
represented correctly by the transient solver, use the initial time step that is smaller
than the transition zone of the step function.
Solver 1
1 In the Model Builder window, right-click Study 1 and choose Show Default Solver.
2012 COMSOL
5 |
2 In the Model Builder window, expand the Solver 1 node, then click Time-Dependent
Solver 1.
3 In the Time-Dependent Solver settings window, click to expand the Time Stepping
section.
4 Select the Initial step check box.
5 In the associated edit field, type 0.00010.
6 In the Model Builder window, right-click Study 1 and choose Compute.
The default plot shows the temperature distribution along the slab for all time steps.
You can compare the COMSOL Multiphysics solution to that of Ref. 1 by plotting
the temperature for a given set of output times, as in Figure 2.
RESULTS
Temperature (ht)
1 In the 1D Plot Group settings window, locate the Data section.
2 From the Time selection list, choose From list.
3 In the Times list, choose 0.01, 0.04, 0.1, 0.2, 0.4, and 0.6.
4 Click the Plot button.
5 In the Model Builder window, expand the Temperature (ht) node, then click Line
Graph 1.
6 In the Line Graph settings window, click to expand the Legends section.
7 Select the Show legends check box.
8 Click to expand the Coloring and Style section. Find the Line markers subsection.
6 |
2012 COMSOL