From ed31562fe82e4671f7f0f10d1295bab247c33050 Mon Sep 17 00:00:00 2001 From: Vuko Vukcevic Date: Mon, 27 Feb 2017 08:29:22 +0100 Subject: [PATCH] Updates in sixDOFSolver tutorials --- tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyA | 4 ++++ tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyB | 4 ++++ tutorials/basic/sixDOFSolver/springDamper/0/massSpringDamper | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyA b/tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyA index 8d2a60449..af375e662 100644 --- a/tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyA +++ b/tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyA @@ -14,6 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Mass properties and restraints (common to all sixDOFODE's) mass m [1 0 0 0 0 0 0] 1; momentOfInertia J [1 2 0 0 0 0 0] (1 1 1); @@ -21,6 +22,9 @@ equilibriumPosition Xeq [0 1 0 0 0 0 0] (0 0 0); linearSpring k [1 0 -2 0 0 0 0] (1 1 1); linearDamping d [1 0 -1 0 0 0 0] (0 0 0); +// Specific input for certain sixDOFODE (here quaternionSixDOF) +type quaternionSixDOF; + // Xabs = Xeq + Xrel Xrel Xrel [0 1 0 0 0 0 0] (0 0 0); U U [0 1 -1 0 0 0 0] (1 0 0); diff --git a/tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyB b/tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyB index 6160dc49a..867489189 100644 --- a/tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyB +++ b/tutorials/basic/sixDOFSolver/sixDOFmotion/0/bodyB @@ -14,6 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Mass properties and restraints (common to all sixDOFODE's) mass m [1 0 0 0 0 0 0] 1; momentOfInertia J [1 2 0 0 0 0 0] (1 1 1); @@ -21,6 +22,9 @@ equilibriumPosition Xeq [0 1 0 0 0 0 0] (-1 0 0); linearSpring k [1 0 -2 0 0 0 0] (1 1 1); linearDamping d [1 0 -1 0 0 0 0] (0 0 0); +// Specific input for certain sixDOFODE (here quaternionSixDOF) +type quaternionSixDOF; + // Xabs = Xeq + Xrel Xrel Xrel [0 1 0 0 0 0 0] (0 0 0); U U [0 1 -1 0 0 0 0] (0 0 0); diff --git a/tutorials/basic/sixDOFSolver/springDamper/0/massSpringDamper b/tutorials/basic/sixDOFSolver/springDamper/0/massSpringDamper index 54d6cef84..aaed6cc9b 100644 --- a/tutorials/basic/sixDOFSolver/springDamper/0/massSpringDamper +++ b/tutorials/basic/sixDOFSolver/springDamper/0/massSpringDamper @@ -14,6 +14,7 @@ FoamFile } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// Mass properties and restraints (common to all sixDOFODE's) mass m [1 0 0 0 0 0 0] 1; momentOfInertia J [1 2 0 0 0 0 0] (1 1 1); @@ -21,6 +22,9 @@ equilibriumPosition Xeq [0 1 0 0 0 0 0] (2 0 0); linearSpring k [1 0 -2 0 0 0 0] (1 0 0); linearDamping d [1 0 -1 0 0 0 0] (1 0 0); +// Specific input for certain sixDOFODE (here quaternionSixDOF) +type quaternionSixDOF; + // Xabs = Xeq + Xrel Xrel Xrel [0 1 0 0 0 0 0] (-2 0 0); U U [0 1 -1 0 0 0 0] (0 0 0);