This page provides tips to:

  1. run scripts based on the OS.
  2. troubleshoot issues in model development and model convergence.
  3. troubleshoot issues due to software packages.


Running python scripts for mesh generation and template model generation

Usage instructions:

Linux

Windows

Both

Script specific

MedToFebio.py

Note: Febio 2.7 works if pre-strain is not used, otherwise use Febio 2.8(or above).

OS preference:


Installing python packages in Salome

Windows

  1. If certain python libraries are not installed in Salome’s Python installation– go to the folder where python is installed in the Salome directory – open power shell – type – .\python -m pip install <library>

  2. Linking external packages does not usually work well in windows.

Linux

https://simtk.org/plugins/moinmoin/multis/Infrastructure/AuxiliarySoftware/Python_with_SALOME


Checklist for updating model component

  1. Update component (update MED files)
  2. Transfer MED groups (using python script)
  3. convert MED files to version 3.2 (Salome 9.2 and above)
  4. Update connectivity.xml (if needed)
  5. MED2FEbio.py
  6. Customize
  7. run in febio 2.9