Pfem Base Application

From KratosWiki
(Difference between revisions)
Jump to: navigation, search
(External libraries)
(Libraries installation:)
Line 20: Line 20:
 
== Libraries installation: ==
 
== Libraries installation: ==
  
 +
1.- Check if '''triangle''' and '''tetgen/tetgen1.4.3''' exist in the '''external_libraries" folder. If not, copy them there.
  
1.- Copy the triangle and tetgen libraries to /kratos/external_libraries/  folder.
+
2.- Add the following lines to your configure.sh:
 
+
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                                                            \
 
  -DINCLUDE_TRIANGLE=ON                                                            \

Revision as of 09:36, 9 May 2016

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.- Check if triangle and tetgen/tetgen1.4.3 exist in the external_libraries" folder. If not, copy them there.

2.- 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