Updates in sixDOFSolver tutorials
This commit is contained in:
parent
3232e008ea
commit
ed31562fe8
3 changed files with 12 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Reference in a new issue