Analyzing A Model: Objectives
Analyzing A Model: Objectives
Analyzing A Model: Objectives
CHAPTER 6
Analyzing a Model
Figure 6-1
Model of a Piston Assembly
This base model shows the piston mechanism in motion, driven by the
motor attached to the crankshaft. Since this is the first time the simulation
is run, SimWise calculates the dynamics and stores the
data.
5. Repeat the simulation by clicking the Stop button, then the Reset
button, and then the Run button again. The animation may be faster this
time because the history has already been calculated.
Set the Initial Condition 6-3
2. Move the mouse over the side surface of the crankshaft counterweight.
As you move the mouse over objects in the modeling window, a dashed box
appears around them to show that they are framed.
Figure 6-2
Bounding Box Showing
Framed Object
3. Hold the mouse button down, and drag the mouse to rotate the
crankshaft. As you drag the mouse, the crank rotates around the crank
pin.
4. Position the crankshaft so that the piston is halfway through the down
stroke, as shown in the next figure.
6-4 Chapter 6—Analyzing a Model
Figure 6-3
Piston Rotated Halfway through
the Full Stroke
You can change the configuration by using the Move tool to drag any
of the moving parts in the model. Try dragging the piston head or the
connecting rod. The movement stops when the parts are dragged to the
mechanical limits imposed by the physical joints.
5. Click the Run button in the Tape Player Control. The simulation runs
again, starting from its new initial position.
6. Click the Stop button, then reset the simulation by clicking the Reset
button. The piston assembly returns to the new initial position, halfway
through the full stroke.
Figure 6-4
Choose Input Type Dialog
3. Choose Slider and click OK. An input slider window appears above the
modeling window with the title Rot. Velocity of Concentric1 as shown
in the figure below.
Figure 6-5
New Input Slider for Rotational
Velocity of Motor
4. Select the input slider, then choose Properties in the Edit menu.
5. Click the Appearance tab in the Properties window, then enter Motor
Rotational Velocity as the name for this input slider. The new name
appears as the title of the input slider window.
6-6 Chapter 6—Analyzing a Model
Figure 6-6
Properties Window
(Appearance Page) for Input
Slider
6. Click the Input tab in the Properties window, then enter 0 as the
minimum value for the input range and 3600 as the maximum value.
The numbers are interpreted in degrees per second.
Figure 6-7
Properties Window
(Input Page) for Input Slider
9. As the simulation runs, try dragging the input slider to higher and lower
values.
As you drag the slider to the right, the angular velocity of the motor
increases and the crank rotates more quickly. Conversely, as you drag the
slider to the left, the crank rotates more slowly.
10. Click the Stop button, then reset the simulation by clicking the Reset
button. The piston assembly returns to the initial position, halfway
through the down stroke.
The input slider is still available in the Object List, but it is temporarily
hidden from view. You can re-display the input slider by double-clicking it in the
Object List.
The slider is also listed on Charts and Meters page of the Object
Manager.
In this section, you will create a table that provides torque inputs to the
revolute motor.
2. In the Insert menu, choose Control, and then choose Torque in the
Control submenu.
3. Select Table as the Input Type and click OK. The Insert Table window
is displayed.
6-8 Chapter 6—Analyzing a Model
Figure 6-8
Insert Table Window
“Lookup” refers to the
independent variable
(here, time) to be used when
“looking up” the corresponding
dependent variable (Value).
5. Click OK.
SimWise applies the torque values at the time intervals specified in the table
during the simulation.
1. Select Piston Pin-1 in the Object List. The list of constraints and
Coords connected to the piston pin appears in the Connections List.
2. Select Concentric5, the revolute joint that connects the connecting rod
to the piston pin, in the Connections List.
3. Make sure that Concentric5 is selected in the Object List and choose
Meter in the Insert menu. Then choose Constraint Force... in the
Meter submenu. The Measure Constraint Force/Torque dialog
appears.
Figure 6-9
Constraint Force Settings
Dialog
5. The Tiling Options dialog appears. Select Tile Horizontally and click
OK to display the model and the meter side-by-side.
The new meter will display the x, y, and z components and the total
constraint force exerted by Concentric5 on the Connecting Rod-1 as
separate curves on the same graph.
6-10 Chapter 6—Analyzing a Model
Figure 6-10
Constraint Force Meter Window
As the simulation runs, the values of the x, y, and z components and the
total constraint force between the piston pin and the connecting rod are
plotted in the meter window. Notice how Fx and Fy oscillate as the crank
rotates through a full stroke, as shown in figure below.
Figure 6-11
Constraint Force Meter Window
Display the Angular Acceleration of the Connecting Rod 6-11
NOTE: Your results may not match the figure shown. The appearance of the plots
depends upon the initial position of the crankshaft and the torque values
entered in the table that drives the motor.
7. Click the Stop button. Reset the simulation by clicking the Reset
button. The piston assembly returns to the initial position.
The meter is still available in the Object List, but it is temporarily hidden
from view. You can redisplay the meter by double-clicking it in the meter
page of the Object List.
In this step, you will display vectors that show the acceleration of the
connecting rod.
Figure 6-12
Properties Window
(Vectors Page) for the
Connecting Rod
6-12 Chapter 6—Analyzing a Model
3. Click the Angular Acceleration box to put a check mark in it. Close
the Properties window.
As the simulation runs, the angular acceleration vector is displayed, but can
be difficult to see because of its size. In the next step, you will resize the
acceleration vector to make it easier to see.
6. Click the Stop button, then reset the simulation by clicking the Reset
button.
1. Choose Display Settings in the World menu and click Vectors in the
Display Settings menu pane. The vector settings dialog appears.
Figure 6-13
Vector settings
2. Enter 0.07 for the scaling factor for the length of the Angular
Acceleration vector and click the Apply button.
3. Click the color button next to the Angular Acceleration label. Click the
Other button to select a different color for the vector. The Color dialog
appears.
Display the Angular Acceleration of the Connecting Rod 6-13
Figure 6-14
Color Dialog
4. Choose a bright red color and click OK to close the Color dialog. The
angular acceleration vector will now be displayed in red.
As the simulation runs, note that the angular acceleration vector attached to
the connecting rod switches sides (because the acceleration switches
direction halfway through the full cycle), as shown in following figure.
Figure 6-15
Angular Acceleration Vector on
Connecting Rod
Angular
Acceleration
Vector
7. Click the Stop button, then reset the simulation by clicking the Reset
button.
6-14 Chapter 6—Analyzing a Model
Specify
Translucency
You may have to move the dialog so that you can view the piston head in the
modeling window.
Fine-tune the Simulation 6-15
Figure 6-17
Translucent Piston Head
Figure 6-18
Constraint Settings Dialog
1. If you have not already done so, select Shaded from the View menu.
The modeling window changes to a shaded rendering of the piston,
which will make it easier to complete the next steps.
Figure 6-19
Top of the Piston Head
4. Click the mouse pointer at the top of the piston, near the center. (The
precise location of the attachment is not important for this exercise.)
6. Click the Structural Load tab, then enter -10 in the y-field to apply a
10 Newton force downward. The force’s Coord attachment dictates this
orientation setting.
Figure 6-20
Properties Window
(Structural Load Page)
8. Choose Go Home in the View menu to restore the original view of the
piston assembly.
As the simulation runs, the piston behaves like a pendulum because the force
is applied constantly, which isn’t a realistic scenario.
10. Click the Stop button, then reset the simulation by clicking the Reset
button.
2. Click the Active tab to go to the Active page of the Properties window.
3. Click the Active while: radio button, and then click the (...) button to
display the Formula Editor dialog.
6-18 Chapter 6—Analyzing a Model
Figure 6-21
Formula Editor Dialog
(Active Page) for Force
The expression returns angular velocity in radians per second. The formula
applies the explosive force only when the piston is coming down, and cuts off
the push to limit the motor to approximately 600 rpm.
Figure 6-22
Properties Window
(Active Page) for Force
1. Select Crank-1, the left half of the crank, in the Object List.
Fine-tune the Simulation 6-19
2. Choose Meter in the Insert menu, and then choose Angular Velocity
in the submenu. A new meter window appears.
4. Choose Display Settings in the World menu and click Units tab of the
Display Settings menu.
Figure 6-23
Units Page
Choose
“rpm”
Figure 6-24
Angular Velocity Meter