Hello
Thank you for the help so far,
the error I’m facing now is, that my stl surfaces penetrate each other after starting the simulation and I can’t explain why.
I tried them in the simple FDK tutorial, where I replaced the simpletibial.stl and the simplefemural.stl by them, which worked.
But also importing the simpletibial.stl and the simplefemural.stl into my model resulted in the same error.
As soon as it comes to 3D modeling, theres is no contact created anymore.
For the stiffness and the pressure model I used the same parameters as in the hipjoint example:
This my contact forces file
[i] AnyForceSurfaceContact FSurf =
{
AnySurface &sSlave = Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Humerus.gh.Bergmann.HumImplantNode.HumerusImplant;
AnySurface &sMaster = Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Scapula.gh.scapulaImplantNode.GlenImplant;
PressureModule = 3e9;//3.7e9;//600e8; //Vol Pen
ForceViewOnOff = On;
MeshRefinementMaster = 10;
MeshRefinementSlave = 10;
SingleSidedOnOff= On;
};
AnyForce ArtificialStiffness =
{
AnyFloat Stiffness =7.5e4; //7.5e5;//5e4; // N/m
AnyKinLinear lin =
{
//Ref = -1;
AnyRefFrame &r1= Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Humerus.gh.Bergmann.HumImplantNode;
AnyRefFrame &r2 = Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Scapula.gh.scapulaImplantNode;
};
F = - Stiffness * lin.Pos;
};
AnyKinPLine ArtificialSpring =
{
AnyRefFrame &r1= Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Humerus.gh.Bergmann.HumImplantNode;
AnyRefFrame &r2 = Main.HumanModel.BodyModel.Right.ShoulderArm.Seg.Scapula.gh.scapulaImplantNode;
AnyDrawPLine drw =
{
//Visible = On;
//Opacity = 1;
Thickness = 0.0025;
RGB = {0,0,1};
};
};
[/i]I don’t know where to look for, to fix this problem.
Cheers,
Marc