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


Building model with updated 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


Model convergence troubleshooting

  1. reduce mesh size
  2. adjust mcl-msn_m ties spring stiffness
  3. adjust prestrain values
  4. mci-mns_m contact may need to be added in some cases
  5. check surface and volume mesh quality before template model generation
  6. individually turn off contacts

for further details go to, https://simtk.org/plugins/moinmoin/openknee/Specifications/ModelTroubleshooting

Specifications/TipsAndTricks (last edited 2020-06-18 14:39:31 by snehalkc)