Pfem Base Application

From KratosWiki
Revision as of 09:46, 21 April 2016 by Cpuigbo (Talk | contribs)
Jump to: navigation, search

UNDER CONSTRUCTION : "we are now building this application and the documentation will be available soon"

Contents

Theory

The Particle Finite Element Method

Application contents

PFEM basics, meshing, variables transfer and utilities.

Application Dependencies

External libraries

- 2D mesher : Triangle (https://www.cs.cmu.edu/~quake/triangle.html)

- 3D mesher : Tetgen (http://wias-berlin.de/software/tetgen/)


Libraries installation:

1.- Copy the triangle and tetgen libraries to /kratos/external_libraries/ folder.

2.- Open a shell console, enter to the libraries directories and compile the libraries:

for triangle:

 make trilibrary

for tetgen:

 make tetlib

3.- Check if triangle.o and libtet.a, tetgen.o have been created in the respective folders

4.- Add the following lines to your configure.sh:

-DINCLUDE_TRIANGLE=ON                                                             \
-DTRIANGLE_INSTALL_DIR="/user_directory/kratos/external_libraries/triangle"         \
-DINCLUDE_TETGEN=ON                                                               \
-DTETGEN_INSTALL_DIR="/user_directory/kratos/external_libraries/tetgen/tetgen1.4.3" \

Note:

a. The /user_directory/ is the directory where your kratos folder is located.

b. The tetgen version used in this example is the 1.4.3, replace it according to your version.

Contact

For any question regarding to this application please contact:

Josep Maria Carbonell: cpuigbo@cimne.upc.edu

or post it in the Kratos Forum

Personal tools
Categories