Skip to content

The finite element method of the heat equation in 3D

Notifications You must be signed in to change notification settings

Rkiefe/HeatFEM3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HeatFEM

HeatFEM is an open-source implementation of the finite element method for 3D objects. Users can import stl files to simulate complex shapes, set the initial temperature profile, thermal conductivity, time of the simulation and more, to simulate heat on complex 3D shapes.

Validation of HeatFEM was performed by comparing with an analytic solution,

$$ T = T_0 e^{-3 \alpha t} cos(x+y+z) $$

with boundary conditions:

$$ -k\nabla T \cdot \vec{n} = k T_0 e^{-3\alpha t}sin(x+y+z) [1,1,1]\cdot\vec{n} $$

Results (Time = 0.01s and Time step = 0.001s):

FEM FEM

Model

The heat equation considered was as follows,

$\rho C_p \frac{\partial T}{\partial t} - \nabla \cdot (k\nabla T) = \frac{d q_V}{dt}$

With Neumann boundary conditions:

$k\nabla T \cdot \vec{n} = h\left(T_{ext}-T\right)$

About

The finite element method of the heat equation in 3D

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages