User Tools

Site Tools


tools:salome_module

OOFEM Salome Module Tutorial

The OOFEM Salome module is a plug-in module into Salome platform, which is established open-source software that provides a generic platform for Pre- and Post-Processing for numerical simulations. The OOFEM module adds a support for OOFEM:

  • Ability to assign the boundary conditions, materials on the level of the geometrical model (to defined groups)
  • Ability to set up the complete model by selecting the components from the library and editing their properties within the salome
  • Export the created model into oofem

Instalation

In this installation tutorial, the SALOME_MODULE_DIR variable is a path to Salome module directory

  • Unpack module sources (OOFEM_SRC.tar.gz) into a Salome module directory (Salome_7.4.0 in my case)
  • In the same directory create OOFEM_BUILD and OOFEM directories.
  • In the same directory define SALOME_MODULE_DIR
  • export SALOME_MODULE_DIR=$PWD
  • run
    source env_build.sh
  • run
    export OOFEM_ROOT_DIR=$SALOME_MODULE_DIR/OOFEM/
  • change working directory to OOFEM_BUILD
    cd OOFEM_BUILD
  • run
    cmake ../OOFEM_SRC -DCMAKE_INSTALL_PREFIX=${OOFEM_ROOT_DIR}
    sudo make install
  • finally run salome
    $SALOME_MODULE_DIR/KERNEL_7.4.0/bin/salome/runSalome -mGEOM,SMESH,OOFEM

Starting up

  • After the installation is complete, you can run salome
    export OOFEM_ROOT_DIR=$SALOME_MODULE_DIR/OOFEM/
    $SALOME_MODULE_DIR/KERNEL_7.4.0/bin/salome/runSalome -mGEOM,SMESH,OOFEM

Tutorial

tools/salome_module.txt · Last modified: 2015/05/25 09:36 by bp