/finite-element-method

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

Primary LanguageC++MIT LicenseMIT

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%