User Tools

Site Tools


tools:salome_module

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
tools:salome_module [2015/04/28 15:47] – created bptools:salome_module [2015/05/25 09:36] (current) bp
Line 1: Line 1:
 ====== OOFEM Salome Module Tutorial ====== ====== OOFEM Salome Module Tutorial ======
 +The OOFEM Salome module is a plug-in module into [[http://www.salome-platform.org/|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 ===== ===== Instalation =====
 In this installation tutorial, the SALOME_MODULE_DIR variable is a path to Salome module directory 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) +  * 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 create OOFEM_BUILD and OOFEM directories. 
-run +  In the same directory define SALOME_MODULE_DIR 
-  source env_build.sh +  * <code>export SALOME_MODULE_DIR=$PWD</code> 
-* run +  * run <code>source env_build.sh</code> 
-  export OOFEM_ROOT_DIR= SALOME_MODULE_DIR/OOFEM_BUILD+  * run <code>export OOFEM_ROOT_DIR=$SALOME_MODULE_DIR/OOFEM/</code> 
-* change working directory to OOFEM_BUILD +  * change working directory to OOFEM_BUILD <code>cd OOFEM_BUILD</code> 
-* run +  * run <code>cmake ../OOFEM_SRC -DCMAKE_INSTALL_PREFIX=${OOFEM_ROOT_DIR} 
-  cmake ../OOFEM_SRC -DCMAKE_INSTALL_PREFIX=$(OOFEM_ROOT_DIR) +sudo make install</code> 
-  make install +  * finally run salome <code>$SALOME_MODULE_DIR/KERNEL_7.4.0/bin/salome/runSalome -mGEOM,SMESH,OOFEM</code> 
-* finally run salome +===== Starting up ===== 
-  SALOME_MODULE_DIR/KERNEL_7.4.0/bin/salome/runSalome -mGEOM,SMESH,OOFEM +  * After the installation is complete, you can run salome <code>export OOFEM_ROOT_DIR=$SALOME_MODULE_DIR/OOFEM/ 
- +$SALOME_MODULE_DIR/KERNEL_7.4.0/bin/salome/runSalome -mGEOM,SMESH,OOFEM 
 +</code> 
 + 
 ===== Tutorial ===== ===== Tutorial =====
  
tools/salome_module.1430228876.txt.gz · Last modified: 2015/04/28 15:47 by bp