https://github.com/rugleb/finite-element-method
Implementation of the finite element method on the example of the approximation problem
https://github.com/rugleb/finite-element-method
cpp finite-element-analysis finite-element-method
Last synced: 11 days ago
JSON representation
Implementation of the finite element method on the example of the approximation problem
- Host: GitHub
- URL: https://github.com/rugleb/finite-element-method
- Owner: rugleb
- License: mit
- Created: 2017-12-21T20:35:37.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-05-11T21:25:47.000Z (almost 6 years ago)
- Last Synced: 2025-02-15T16:49:22.838Z (2 months ago)
- Topics: cpp, finite-element-analysis, finite-element-method
- Language: C++
- Homepage: https://github.com/rugleb/finite-element-method
- Size: 28.3 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Finite element method
[](https://travis-ci.com/rugleb/finite-element-method)
[]()
[](https://opensource.org/licenses/MIT)## About
The finite element method ([wiki](https://en.wikipedia.org/wiki/Finite_element_method)), 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
```bash
./compile.sh # compile
./build/fem # run
```## Output
```bash
Linear solution:
---- Max error: 1.2%
Cube solution:
---- Max error: 1.2%
```