ADDED mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/TwoLinkxyn/TwoLinkxyn_numpar.txt Index: mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/TwoLinkxyn/TwoLinkxyn_numpar.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/TwoLinkxyn/TwoLinkxyn_numpar.txt @@ -0,0 +1,14 @@ +# Numerical parameter file (TwoLinkxyn_numpar.txt) +# Generated by MTT at Fri Jun 13 16:39:41 BST 1997 + +# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +# %% Version control history +# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +# %% $Id$ +# %% $Log$ +# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +# Parameters +l = 1.0; # Default value +m = 1.0; # Default value +j = m*l*l/12.0; # Uniform rod ADDED mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/TwoLinkxyn/TwoLinkxyn_state.txt Index: mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/TwoLinkxyn/TwoLinkxyn_state.txt ================================================================== --- /dev/null +++ mttroot/mtt/lib/examples/Mechanical/Mechanical-2D/TwoLinkxyn/TwoLinkxyn_state.txt @@ -0,0 +1,16 @@ +# State file (TwoLinkxyn_state.txt) +# Generated by MTT at Fri Jun 13 16:39:41 BST 1997 + +# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +# %% Version control history +# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +# %% $Id$ +# %% $Log$ +# %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +# Initial states +x(1) = 0.0; # Initial state for TwoLinkxyn_rod1 (J) +x(2) = 0.0; # Initial state for TwoLinkxyn_rod1_th (3) +x(3) = 0.0; # Initial state for TwoLinkxyn_rod2 (J) +x(4) = 3.142/4; # Initial state for TwoLinkxyn_rod2_th (3) - 45 deg. +x(5) = 0.0; # Initial state for TwoLinkxyn_g (2)