Skip to content

Example 1: semi-infinite solid with constant surface heat flux

Files

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 Ω\Omega is a segment [0,103][0,10^{-3}]

ρCpTt=[kT] in Ω \begin{align} \rho C_p \frac{\partial T}{\partial t}=[\nabla \cdot{} k\nabla T] \text{ in }\Omega \end{align}

Boundary conditions

Neumann boundary conditions are prescribed on Γleft\Gamma_{left} and Dirichlet boundary conditions are prescribed on Γright\Gamma_{right}:

nkT=q0 on ΓleftT(x=L,t)=Ti \begin{align} {\bf{n}} \cdot{} k \nabla T &= q_0'' \text{ on }\Gamma_{left} \\[6pt] T(x=L,t) &= T_i \end{align}

Initial condition

The temperature is assumed to be constant at t=0t=0:

T(x,t=0)=Ti \begin{align} T(x,t=0) = T_i \end{align}

Parameters used for the test

For this test, the following parameters are considered:

Parameter Symbol Value
Density ρ\rho 10410^4
Heat capacity CpC_p 10410^4
Thermal conductivity kk 11
Initial temperature TiT_i 00
Surface heat flux q0q_0'' 11

Numerical scheme

  • Time integration: Euler Implicit over the interval t[0,5]t\in[0,5] with a time-step δt=0.1\delta t=0.1
  • Spatial discretization: uniform grid with N=30N=30 nodes
  • Newton solver: absolute tolerance 101010^{-10}

Results

The simulated temperature is compared to the analytical solution ([1]), which can be written as:

T(x,t)=Ti+q0Lcπkexp(x2Lc2)q0xkerfc(xLc) \begin{align} T(x,t) = T_i + \frac{ q_0'' L_c }{ \sqrt{\pi} k } \exp \left( \frac{ -x^2 }{ L_c^2 } \right) - \frac{ q_0'' x }{ k } \text{erfc} \left( \frac{ x }{ L_c } \right) \end{align}

with Lc=4αtα=kρCpL_c = \sqrt{ 4 \alpha t } \text{, } \alpha=\frac{ k }{ \rho C_p }.

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.