Skip to content

Heat solid

Heat transfer in solids is a thermal conduction process that is governed by the equation

ρCpβˆ‚Tβˆ‚t=βˆ’βˆ‡β‹…q+Q,\begin{equation} \rho C_p \frac{\partial T}{\partial t} = -\nabla \cdot \boldsymbol{q} + Q, \end{equation}

where

  • ρ\rho is the material density (kg/m3kg/m^3)
  • CpC_p is specific heat capacity of the material (J/kgβ‹…KJ/kg \cdot K)
  • q\boldsymbol{q} is the heat flux density (W/m2W/m^2)
  • QQ is the volumetric heat source (W/m3W/m^3)
  • TT is the Temperature field (KK).

Heat flux density due to conduction is given by Fick’s law of diffusion

q=βˆ’ΞΊβˆ‡T,\begin{equation} \boldsymbol{q} = -\kappa \nabla T, \end{equation}

where ΞΊ\kappa is the thermal conductivity of the material (W/m2KW/m^2 K).

The governing equation (1)(1) then becomes

βˆ’ΟCpβˆ‚Tβˆ‚t+βˆ‡β‹…(ΞΊβˆ‡T)+Q=0.\begin{equation} -\rho C_p \frac{\partial T}{\partial t} + \nabla \cdot (\kappa \nabla T) + Q = 0. \end{equation}

The weak form of solid mechanics is obtained by multiplying the partial differential equation in (3)(3) with the test function of Temperature field Tβ€²T^\prime, and integrating over the whole domain Ξ©\Omega to get

βˆ«Ξ©β€…β€Šβˆ’ΟCpβˆ‚Tβˆ‚tβ€…β€ŠTβ€²β€…β€ŠdΞ©+βˆ«Ξ©β€…β€Šβˆ‡β‹…(ΞΊβˆ‡T)β€…β€ŠTβ€²β€…β€ŠdΞ©+βˆ«Ξ©β€…β€ŠQβ€…β€ŠTβ€²β€…β€ŠdΞ©=0. \int_{\Omega}\; -\rho C_p \frac{\partial T}{\partial t} \; T^{\prime} \; d\Omega + \int_{\Omega}\; \nabla \cdot (\kappa \nabla T) \; T^{\prime} \; d\Omega + \int_{\Omega}\; Q \; T^{\prime} \; d\Omega = 0.

Applying Leibniz rule on the divergence term, we get

βˆ«Ξ©β€…β€Šβˆ’ΟCpβˆ‚Tβˆ‚tβ€…β€ŠTβ€²β€…β€ŠdΞ©+βˆ«Ξ©β€…β€Šβˆ’ΞΊβˆ‡Tβ‹…βˆ‡Tβ€²β€…β€ŠdΞ©+βˆ«Ξ©β€…β€Šβˆ‡β‹…(ΞΊβˆ‡Tβ€…β€ŠTβ€²)β€…β€ŠdΞ©+βˆ«Ξ©β€…β€ŠQβ€…β€ŠTβ€²β€…β€ŠdΞ©=0. \int_{\Omega}\; -\rho C_p \frac{\partial T}{\partial t} \; T^{\prime} \; d\Omega + \int_{\Omega}\; -\kappa \nabla T \cdot \nabla T^{\prime} \; d\Omega + \int_{\Omega}\; \nabla \cdot (\kappa \nabla T \; T^{\prime}) \; d\Omega + \int_{\Omega}\; Q \; T^{\prime} \; d\Omega = 0.

Applying Divergence theorem on the divergence term, we get

βˆ«Ξ©β€…β€Šβˆ’ΟCpβˆ‚Tβˆ‚tβ€…β€ŠTβ€²β€…β€ŠdΞ©+βˆ«Ξ©β€…β€Šβˆ’ΞΊβˆ‡Tβ‹…βˆ‡Tβ€²β€…β€ŠdΞ©+βˆ«Ξ“β€…β€Š(ΞΊβˆ‡Tβ‹…n)β€…β€ŠTβ€²β€…β€ŠdΞ“+βˆ«Ξ©β€…β€ŠQβ€…β€ŠTβ€²β€…β€ŠdΞ©=0. \int_{\Omega}\; -\rho C_p \frac{\partial T}{\partial t} \; T^{\prime} \; d\Omega + \int_{\Omega}\; -\kappa \nabla T \cdot \nabla T^{\prime} \; d\Omega + \int_{\Gamma}\; (\kappa \nabla T \cdot \boldsymbol{n}) \; T^{\prime} \; d\Gamma + \int_{\Omega}\; Q \; T^{\prime} \; d\Omega = 0.

Substituting (2)(2) into the boundary term, we get the final weak formulation

βˆ«Ξ©β€…β€Šβˆ’ΟCpβˆ‚Tβˆ‚tβ€…β€ŠTβ€²β€…β€ŠdΞ©+βˆ«Ξ©β€…β€Šβˆ’ΞΊβˆ‡Tβ‹…βˆ‡Tβ€²β€…β€ŠdΞ©+βˆ«Ξ“β€…β€Š(βˆ’qβ‹…n)β€…β€ŠTβ€²β€…β€ŠdΞ“+βˆ«Ξ©β€…β€ŠQβ€…β€ŠTβ€²β€…β€ŠdΞ©=0. \int_{\Omega}\; -\rho C_p \frac{\partial T}{\partial t} \; T^{\prime} \; d\Omega + \int_{\Omega}\; -\kappa \nabla T \cdot \nabla T^{\prime} \; d\Omega + \int_{\Gamma}\; (-\boldsymbol{q} \cdot \boldsymbol{n}) \; T^{\prime} \; d\Gamma + \int_{\Omega}\; Q \; T^{\prime} \; d\Omega = 0.

Applies a fixed temperature TT to a node or region, enforcing a Dirichlet boundary condition for the heat equation. Use this to define fixed-temperature boundaries, such as a heat sink held at a constant temperature or a surface in contact with a thermal reservoir.

How to use:

Provide a scalar temperature value in Kelvins (K).

Example:

300 applies a fixed temperature of 300 K to the selected node or region.

Adding Heat-solid Constraint

Unit: Temperature in Kelvins (K)

Applies a heat source QQ to a region, acting as a source term in the heat equation. Used to model internally generated heat, such as resistive heating in conductors. Can be specified as a constant value or a spatially varying field. In Quanscient Allsolve, zero heat flux Neumann boundary condition Q=0Q = 0 is automatically applied to all boundaries where no other condition is set. There is no need to define it manually.

Example:

1000 applies a heat source of 1000 W/m^regdim to the target region. The unit depends on the dimension of the target region.

Adding Heat source constraint

Unit: Heat source in Watts/m^regdim. The regdim is the dimension of the target regions. For volume target, the unit is in W/m^3 and for surface targets it is W/m^2.

Imposes periodic boundary conditions on the temperature field TT between two boundaries. Reduces the computational domain size for geometrically symmetric problems, avoiding the need to model the full geometry.

Example:

Periodicity is similar in every physics section. This example is from Ο†\varphi-formulation, but workflows are identical:

Periodicity in electric motor

Applies a convective heat flux boundary condition on a surface or a curve, modeling heat exchange between the solid and a surrounding fluid. The heat flux is proportional to the difference between the surface temperature and the ambient fluid temperature, defined by Newton’s law of cooling:

q=h(Tβˆ’T∞)q = h(T - T_{\infty})

where hh is the heat transfer coefficient and T∞T_{\infty} is the surrounding fluid temperature.

How to use:

Provide the heat transfer coefficient hh and the surrounding fluid temperature T∞T_{\infty}.

Example:

h=25β€…Wm2Kh = 25\: \frac{W}{mΒ²K} and T∞=293β€…KT_{\infty} = 293\:K models natural air convection at room temperature.

Unit: Heat transfer coefficient in Watts per square meter Kelvin Wm2K\frac{W}{mΒ²K}, fluid temperature in Kelvins (K)

Applies a lumped temperature TT or heat power Ξ¦\Phi to a specific region. Used to model simplified thermal elements where the detailed temperature distribution is not explicitly resolved, but replaced with an equivalent lumped temperature or heat flux.

How to use:

Specify the target region. From Actuation mode, select either temperature, heat power or circuit coupling. Fill in the value.

Example: T=100T = 100 applies a temperature of 100β€…K100\:K to the specified region.

Unit: Temperature in Kelvins (K) or heat power in Watts (W)

This formulation supports the following couplings:

Joule heating (Current flow or Magnetism H)
Models resistive heat generation caused by electrical currents.