|
a |
|
b/Application/Examples/KneeSimulator/UserDefinedSettings.any |
|
|
1 |
// Define prefix for output data |
|
|
2 |
#define OutputFileNamePrefix "Setting_1" |
|
|
3 |
|
|
|
4 |
// Set SAVE_H5 to 1 in order to save the output of the study to an h5 file in the Output folder, 0:Off |
|
|
5 |
#define SAVE_H5 0 |
|
|
6 |
|
|
|
7 |
//Define to use FDK (0: off 1: on) |
|
|
8 |
#ifndef USE_FDK |
|
|
9 |
#define USE_FDK 1 |
|
|
10 |
#endif |
|
|
11 |
|
|
|
12 |
#ifndef USE_LIGAMENT_CALIBRATION |
|
|
13 |
#define USE_LIGAMENT_CALIBRATION 1 |
|
|
14 |
#endif |
|
|
15 |
//Contact pressure adopted from Marra et al 2015 DOI:10.1115/1.4029258 "This value provided a good trade-off between the amount of |
|
|
16 |
//penetration obtained and the numerical issues involved in solving contact between two surfaces with high stiffness" pg 6. |
|
|
17 |
#ifndef DEF_CONTACT_PRESSURE_TIBIOFEMORAL |
|
|
18 |
#define DEF_CONTACT_PRESSURE_TIBIOFEMORAL 9.3e9*5 |
|
|
19 |
#endif |
|
|
20 |
|
|
|
21 |
#ifndef DEF_CONTACT_PRESSURE_PATELLOFEMORAL |
|
|
22 |
#define DEF_CONTACT_PRESSURE_PATELLOFEMORAL 9.3e9*5 |
|
|
23 |
#endif |
|
|
24 |
|
|
|
25 |
//Trial Specific Settings used in AnyOprSetForceDepKin (see manual for more information) |
|
|
26 |
#ifndef FDK_ForceTol |
|
|
27 |
#define FDK_ForceTol 1e-4 |
|
|
28 |
#endif |
|
|
29 |
|
|
|
30 |
#ifndef FDK_MaxNewtonStep |
|
|
31 |
#define FDK_MaxNewtonStep 1e-2 |
|
|
32 |
#endif |
|
|
33 |
|
|
|
34 |
#ifndef FDK_MaxIteration |
|
|
35 |
#define FDK_MaxIteration 100 |
|
|
36 |
#endif |
|
|
37 |
|
|
|
38 |
//Min&Max knee flexion the simulator is driven |
|
|
39 |
#ifndef DEF_KNEE_FLEXION_MIN |
|
|
40 |
#define DEF_KNEE_FLEXION_MIN 10 |
|
|
41 |
#endif |
|
|
42 |
|
|
|
43 |
#ifndef DEF_KNEE_FLEXION_MAX |
|
|
44 |
#define DEF_KNEE_FLEXION_MAX 60 |
|
|
45 |
#endif |
|
|
46 |
|
|
|
47 |
//Min&Max axial hip loads applied to simulator |
|
|
48 |
#ifndef DEF_HIP_AXIAL_LOAD_MIN |
|
|
49 |
#define DEF_HIP_AXIAL_LOAD_MIN 200 |
|
|
50 |
#endif |
|
|
51 |
|
|
|
52 |
#ifndef DEF_HIP_AXIAL_LOAD_MAX |
|
|
53 |
#define DEF_HIP_AXIAL_LOAD_MAX 200 |
|
|
54 |
#endif |
|
|
55 |
|
|
|
56 |
//Specimen-Specific Settings |
|
|
57 |
#define FEMUR_MASS_RATIO 0.135 |
|
|
58 |
#define TIBIA_MASS_RATIO 0.0465 |
|
|
59 |
|
|
|
60 |
#include "Input/Ligament_Properties.any" |