Skip to content

Implementation of the finite element method on the example of the approximation problem

License

Notifications You must be signed in to change notification settings

rugleb/finite-element-method

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finite element method

Build Status Language License: MIT

About

The finite element method (wiki), is a numerical method for solving problems of engineering and mathematical physics.
Typical problem areas of interest include structural analysis, heat transfer, fluid flow, mass transport, and electromagnetic potential.

Specifically, this program solves the problem of approximation of the equation at a given site in the presence of boundary conditions.

The program solves the equation by the finite element method, compares the result with the analytical solution and writes the data to a file.

Compile & running

./compile.sh    # compile
./build/fem     # run

Output

Linear solution:
---- Max error: 1.2%
Cube solution:
---- Max error: 1.2%