Changeset 1113 for trunk/Modelica/Mechanics/MultiBody/Forces.mo
- Timestamp:
- 05/04/08 13:46:15 (4 months ago)
- Files:
-
- 1 modified
-
trunk/Modelica/Mechanics/MultiBody/Forces.mo (modified) (16 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modelica/Mechanics/MultiBody/Forces.mo
r1050 r1113 280 280 annotation (Dialog(group="if animation = true", enable=animation)); 281 281 282 annotation (defaultComponentName="torque" 283 , 282 annotation (defaultComponentName="torque", 284 283 Documentation(info="<HTML> 285 284 … … 391 390 r_head=-t_in_m) if world.enableAnimation and animation; 392 391 public 393 Internal.BasicWorldTorque basicWorldTorque 392 Internal.BasicWorldTorque basicWorldTorque(resolveInFrame=resolveInFrame) 394 393 annotation (Placement(transformation(extent={{-10,-10},{10,10}}))); 395 394 protected … … 581 580 extent=[-100, -100; 100, 100], 582 581 grid=[1, 1], 583 component=[20, 20]) 584 , 582 component=[20, 20]), 585 583 Documentation(info=" 586 584 An external force element exerts the inport signal … … 628 626 Internal.BasicWorldForce basicWorldForce(resolveInFrame=resolveInFrame) 629 627 annotation (Placement(transformation(extent={{18,-50},{38,-70}}))); 630 WorldTorque torque1628 Internal.BasicWorldTorque basicWorldTorque(resolveInFrame=resolveInFrame) 631 629 annotation (Placement(transformation(extent={{-10,50},{10,70}}))); 632 630 protected … … 644 642 color={0,0,127}, 645 643 smooth=Smooth.None)); 646 connect(torque1.frame_b, frame_b) annotation (Line( 644 connect(basicWorldTorque.frame_b, frame_b) 645 annotation (Line( 647 646 points={{10,60},{60,60},{60,0},{100,0}}, 648 647 color={95,95,95}, 649 648 thickness=0.5, 650 649 smooth=Smooth.None)); 651 connect(torque1.torque, torque) annotation (Line( 650 connect(basicWorldTorque.torque, torque) 651 annotation (Line( 652 652 points={{-12,60},{-120,60}}, 653 653 color={0,0,127}, … … 658 658 pattern=LinePattern.Dot, 659 659 smooth=Smooth.None)); 660 connect(torque1.frame_resolve, frame_resolve) annotation (Line( 660 connect(basicWorldTorque.frame_resolve, frame_resolve) 661 annotation (Line( 661 662 points={{0,70},{0,100}}, 662 663 color={95,95,95}, 663 664 pattern=LinePattern.Dot, 664 665 smooth=Smooth.None)); 665 connect(zeroPosition.frame_resolve, torque1.frame_resolve) annotation (Line( 666 connect(zeroPosition.frame_resolve, basicWorldTorque.frame_resolve) 667 annotation (Line( 666 668 points={{58,80},{0,80},{0,70}}, 667 669 color={95,95,95}, … … 1414 1416 "Unit vector in direction from frame_a to frame_b, resolved in world frame"; 1415 1417 annotation ( 1416 1417 1418 Icon(coordinateSystem( 1418 1419 preserveAspectRatio=true, … … 1771 1772 "Unit vector in direction from frame_a to frame_b, resolved in world frame"; 1772 1773 annotation ( 1773 1774 1774 Icon(coordinateSystem( 1775 1775 preserveAspectRatio=true, … … 2313 2313 extends Interfaces.PartialLineForce; 2314 2314 annotation ( 2315 2316 2315 Documentation(info="<HTML> 2317 2316 <p> … … 2436 2435 extends Interfaces.PartialLineForce; 2437 2436 annotation ( 2438 2439 2437 Documentation(info="<HTML> 2440 2438 <p> … … 2544 2542 extends Interfaces.PartialLineForce; 2545 2543 annotation ( 2546 2547 2544 Documentation(info="<HTML> 2548 2545 <p> … … 2630 2627 lineColor={160,160,164}, 2631 2628 textString="s")})); 2629 2632 2630 equation 2633 2631 f = c*(s - s_unstretched - s_damper); … … 2649 2647 rotation=90))); 2650 2648 Modelica.Blocks.Interfaces.RealInput force[3](each final quantity="Force", each 2651 final unit ="N")2649 final unit="N") 2652 2650 "x-, y-, z-coordinates of force resolved in frame defined by resolveInFrame" 2653 2651 annotation (Placement(transformation( … … 2785 2783 2786 2784 Modelica.Blocks.Interfaces.RealInput torque[3](each final quantity="Torque", each 2787 final unit ="N.m")2785 final unit="N.m") 2788 2786 "x-, y-, z-coordiantes of torque resolved in frame defined by resolveInFrame" 2789 2787 annotation (Placement(transformation( … … 2924 2922 2925 2923 Modelica.Blocks.Interfaces.RealInput force[3](each final quantity="Force", each 2926 final unit ="N")2924 final unit="N") 2927 2925 "x-, y-, z-coordinates of force resolved in frame defined by resolveInFrame" 2928 2926 annotation (Placement(transformation(extent={{-140,-20},{-100,20}}, … … 3032 3030 3033 3031 Modelica.Blocks.Interfaces.RealInput torque[3](each final quantity="Torque", each 3034 final unit ="N.m")3032 final unit="N.m") 3035 3033 "x-, y-, z-coordinates of torque resolved in frame defined by resolveInFrame" 3036 3034 annotation (Placement(transformation(extent={{-140,-20},{-100,20}},
