Skip to content

Real Time Finite Element Method for Solid Mechanics

Notifications You must be signed in to change notification settings

Jakub-Ciecierski/RT-FEM

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RTFEM

alt tag

RTFEM stands for Real-Time Finite Element Method.
The library computes the entire process of Finite Element Method for solid mechanics in real time, namely:

  1. Pre-Processing:
    • 3D Finite Element Meshing of given geometry.
  2. FEM Solver:
    • CPU and GPU Linear elastic, linear deformation, dynamic.

Sample video:

Supported Platforms

Library is written in c++11.

  • Linux 32/64bit
  • Windows 32/64bit

Build

RTFEM can be built on any platform supporting cmake.
To build the library, run the following command in root directory:

cmake .

Requirements

The following software is required to be installed:

  • Cmake 3.3
  • CUDA 8
    • Set environment variable CUDA_BIN_PATH to root directory (e.g. /opt/cuda/)

External Dependencies

External Dependencies can be found in ./external and tests/external directories.
These are installed automatically when using cmake installation.

  • TetGen (external/tetgen1.5.0)
    • 3D Tetrahedron meshing algorithm
  • Eigen (external/eigen)
    • Matrix operations and System of Linear Equation Solver
  • googletest (tests/external/googletest)
    • Unit testing

Unittests

Building Unittests can be disabled/enabled in CMakeLists.txt.
Unittests are written using googletest

Other Info

Code formatted using CLion built-in Google settings with modifications:

  • All indent is 4
  • Indent of class/struct visiblity is 0

About

Real Time Finite Element Method for Solid Mechanics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published