Example 1: semi-infinite solid with constant surface heat flux¶
Files¶
- Comprehensive test file: main.cpp
- Reference results for comparison: time_specialized.csv
Statement of the problem¶
This test corresponds to a 1D simulation of the evolution of temperature in a semi-infinite solid due to constant surface heat flux.
The domain is a segment
Boundary conditions¶
Neumann boundary conditions are prescribed on and Dirichlet boundary conditions are prescribed on :
Initial condition¶
The temperature is assumed to be constant at :
Parameters used for the test¶
For this test, the following parameters are considered:
| Parameter | Symbol | Value |
|---|---|---|
| Density | ||
| Heat capacity | ||
| Thermal conductivity | ||
| Initial temperature | ||
| Surface heat flux |
Numerical scheme¶
- Time integration: Euler Implicit over the interval with a time-step
- Spatial discretization: uniform grid with nodes
- Newton solver: absolute tolerance
Results¶
The simulated temperature is compared to the analytical solution ([1]), which can be written as:
with .
The results show good agreement with the analytical solution.
References¶
[1] F. Incropera and D. DeWitt, “Fundamentals of Heat and Mass Transfer,” 6th Edition, J. Wiley & Sons, New York, 2007.