ENH: tutorial updates

This commit is contained in:
andy
2014-01-20 16:25:13 +00:00
parent b3f01cd93b
commit e7201c0326
2 changed files with 39 additions and 18 deletions

View File

@ -45,11 +45,14 @@ boundaryField
{
sixDoFRigidBodyMotionRestraint linearSpring;
anchor (0.5 0.5 1);
refAttachmentPt $centreOfMass;
stiffness 5000;
damping 50;
restLength 0.4;
linearSpringCoeffs
{
anchor (0.5 0.5 1);
refAttachmentPt $centreOfMass;
stiffness 5000;
damping 50;
restLength 0.4;
}
}
}
constraints
@ -62,7 +65,11 @@ boundaryField
zLine
{
sixDoFRigidBodyMotionConstraint line;
direction (0 0 1);
lineCoeffs
{
direction (0 0 1);
}
}
}
value uniform (0 0 0);