Professional Documents
Culture Documents
E X E R C I S E
This demonstration shows how easy it can be: You define and control your geometry inside Mechanical Desktop and export to Working Model to add the physical components which drive the motion. This demonstration is made easy because the piston was assembled in Mechanical Desktop with the idea in mind that it would move inside of Working Model. This concept of Assembling With Motion In Mind is an important part of this training course and is discussed in detail in one of the following demonstrations. New Concepts Introduced CAD Integration
7-2
CAD Associativity
This directory is part of the Working Model 3D installation. Its path is shown in Figure 7-1. Figure 7-1 Path to Piston Model.
3.
7-3
The installation of Working Model 3D modifies the Mechanical Desktop work space such that both a Motion menu and a Simulate Motion Toolbar appear. Selection of the menu drops down the list shown in Figure 7-2. You should select Simulate Motion from this list. This initiates the CAD export. All parts and constraints in the Mechanical Desktop document are mapped over to a Working Model file; Working Model is then launched automatically with this file open, as is shown in Figure 7-3. This same export can be initiated also by choosing the simulate motion button from the toolbar which is shown in the left margin. Figure 7-2 Selection of Simulate Motion begins export to working Model
7-4
A view like that shown in Figure 7-4 appears. Notice from this view that the z-axis points up; this is the axis along which gravity acts. Our objective with this maneuver is to align the piston with the Zaxis.
7-5
2.
We will attach this coord to the body called Anchor_1 and position it through the properties window.
3. Through Properties window Appearance tab, name the new coord The New Global Coordinate System. Add to this selection the body Anchor_1 by holding the control key down and by clicking the left mouse button on this object in the object list. Attach the selected coord to the selected body.
4.
5.
Locate mouse over the highlighted word Anchor_1 in the object list and click once on the right mouse button. A list like that shown in Figure 7-5 appears. Choose Attach Coord to Body.
6. Through the Properties window Position tab assign the coord The New
Global Coordinate System the position shown below. X=0 Y=0 Z=0 Rx = -90 Ry = 0 Rz = 0
7-6
Figure 7-5
A dialog like that shown in Figure 7-6 appears. Figure 7-6 Attach Coordinate System Dialog
3.
Select the option, Attach to: The New Global Coordinate System.
7-7
4.
A dialog stating that you cannot reverse this appears. Select OK.
5. From the View menu, choose Look At -> Front View.
The view shows the piston aligned vertically as is shown in Figure 7-7. Figure 7-7 Front View Shows Piston Aligned with the Gravity Axis
With Anchor_1 as the selected object, all objects connected to it appear in the connections manager. As is shown in the figure to the left, there should be only one constraint on Anchor_1 and it should be called Constraint[59].
3. Open the properties window for this constraint and choose the Constraint tab.
7-8
4.
Select the constraint type to be a Revolute Motor from the constraint list to the left in this tab, as is shown in Figure 7-8.
Run Simulation
Run simulation to make sure that constraints function as intended.
1. Select run button.
The motor drives the rotation of the crank shaft. The motion shows that the connections are correctly defined between the connecting rod and the crankshaft and between the connecting rod and the piston head. The piston head tumbles, however, because we have not yet enforced the constraint that the combustion cylinder imposes on a real piston; that is that the piston head is confined to a nonrotating, vertical motion only.
2. Let simulation run 50 frames before selecting stop button.
7-9
Figure 7-9 Location of Slot Joint Coord on Top Surface of Piston Head
3.
Select newly created coord and open the Create Constraint dialog.
Create Constraint dialog appears as is shown in Figure 7-10. Figure 7-10 Create Constraint dialog
7-10
4.
From the constraint list to the left side of the Create Constraint dialog, choose rigid joint on a slot.
The complete piston appears with a rigid slot joint attaching the top surface of the Piston Head to the background as is shown in Figure 7-11.
Figure 7-11 Rigid Slot Joint attaches Piston Head to the background
5.
7-11
This creates a meter measuring the force required by the constraint. The force component references of F x, Fy, and F z refer to the coordinate axes defined for Coord[75] .
Run Simulation
Confirm that the model functions as intended by running the simulation for 200 frames. Observe the variation of the constraint force with the motion of the piston.
1. Select run button.
Piston should move as expected. Constraint force measurement should appear as is shown in Figure 7-12.
2. Let simulation run 200 frames before selecting stop button.
7-12
2.
7-13
3. 4.
Select CON_ROD_1 from this list. Select the Part Modeling Button in Mechanical Desktop.
5. 6.
Mechanical Desktop displays dimensions for the base extrusion of the connecting rod. The vertical dimension appearing to the left of the connecting rod indicates the length of the connecting rod. Figure 7-14 Right Mouse click on Base
Extrude
7.
10. Update the assembly drawing by selecting the Update Assembly button.
7-14
The drawing appears with the lengthened connecting rod integrated into the assembly as is shown in Figure 7-15. Figure 7-15 Updated Assembly in Mechanical Desktop
The Working Model simulation is automatically updated to include the new geometry definition as is shown in Figure 7-16. Through Associativity , the file is updated and does not require redefinition of the motor and rigid slot joint, even though they were originally created in Working Model.
7-15
Figure 7-16 Piston Geometry Modified for Working Model through Associativity
Run Simulation
Run the simulation with newly defined geometry.
1. Select run button.
7-16