Table des matières

GetFEM++

GetFEM++ is an open source library based on collaborative development. It aims to offer a framework for solving potentially coupled systems of linear and nonlinear partial differential equations with the finite element method. GetFEM++ is interfaced with some script languages (Python, Scilab and Matlab) so that almost all of the functionalities can be used just writing scripts. It works in arbitrary dimension and allow to couple 1D, 2D and 3D problems. The strong points of GetFEM++ can be summarized as follows:

GetFEM++ can be used to construct very generic finite element codes, where finite element methods, integration methods and the dimension of the problem are the parameters that can be changed very easily. This allows a wide range of experiments. Many examples and demos are provided.

GetFEM++ has only an experimental meshing procedure (and produces regular meshes). It is therefore often necessary to import meshes. The formats currently supported are GID, GMSH and EMC2.

Version installée

module load numlib/getfem pour utiliser la bibliothèque.

Pour bénéficier du parallélisme concernant certaines fonctionse, vous pouvez fixer la variable d'environnement OMP_NUM_THREADS dans votre script SGE à l'aide de la ligne: export OMP_NUM_THREADS=4 si vous souhaitez 4 coeurs (cf: OpenMP)

Exemple script SGE

getfem_seq.sge
#!/bin/bash -l
 
#$ -o $JOB_NAME.o$JOB_ID
#$ -e $JOB_NAME.e$JOB_ID
#$ -N job_getfem_seq
#$ -V
 
module load numlib/getfem
 
python monscript.py
getfem_omp.sge
#!/bin/bash -l
 
#$ -o $JOB_NAME.o$JOB_ID
#$ -e $JOB_NAME.e$JOB_ID
#$ -N job_getfem_omp
#$ -V
 
module load numlib/getfem
 
export OMP_NUM_THREADS=8
 
python monscript.py

Liens