====== OOFEM ====== ==Website== [[http://www.oofem.org]] ==OOFEM 2.3 (default)== **//Features//**: fm;tm;sm;dss;openmp;LAPACK;metis;TinyXML-2;IML++;Python ''**/opt/apps/oofem/2.3-default/bin/oofem**'' module load oofem/2.3-default == OOFEM 2.3 (petsc) == **//Features//**: fm;tm;sm;dss;openmp;LAPACK;metis;PETSc;MPI;IML++;Python A faster version of the default oofem with parallel support through PetSc. ''**/opt/apps/oofem/2.3-petsc**'' module loadmpi/openmpi-x86_64 moduel load petsc/3.4.4-default module load oofem/2.3-petsc Runs FEM simulations from input file and produces Paraview files. In the input file the solver, nodes, elements, materials and boundary conditions are defined. ===== Getting started ===== For your first steps use the basic version of oofem (v 2.3 fm;tm;sm;dss;IML++) module load oofem/2.3-default oofem -f inputfile.in ===== Advanced Parallelization ===== To use the MPI capabilities of PetSc (mpirun -n X oofem) you have to prepare your input file for. module loadmpi/openmpi-x86_64 moduel load petsc/3.4.4-default module load oofem/2.3-petsc mpirun -n 4 oofem -f inputfile.in ==== Using user material with OOFEM ==== **OOFEM Umat documentation**\\ [[http://www.oofem.org/resources/doc/oofemrefman/classoofem_1_1AbaqusUserMaterial.html#details]] Without MPi support gfortran -fPIC -I${INCLUDEDIR} -shared -Wl,-soname,umat.so -o umat.so umat.f where umat.f is the fortran umat alternative with MPI support: gfortran -fPIC -I/usr/lib/openmpi/include -L/usr/lib/openmpi/lib -lmpi -I${INCLUDEDIR} -shared -Wl,-soname,umat.so -o umat.so umat.f To use this UserMaterial you have to add the path to the umat.so to your ''**LD_LIBRARY_PATH**'': export LD_LIBRARY_PATH=$(pwd):$LD_LIBRARY_PATH ==== no longer supported ==== === OOFEM 2.3 (Ubuntu systems) === **// Features//** * x86_64-Linux, fm;tm;sm;openmp;LAPACK;parmetis;metis;PETSc;MPI;IML++;Python * without tinyxml2 to support Ubuntu systems without working tinyxml2 source "/usr/net/modules-1.1/module_all" or oofem-enable