Introduction To Solid Modeling Using Solidworks 2006: Cosmosmotion Tutorial
Introduction To Solid Modeling Using Solidworks 2006: Cosmosmotion Tutorial
In this tutorial, we will learn the basics of performing motion analysis using COSMOSMotion. Although
the tutorial can be completed by anyone with a basic knowledge of SolidWorks parts and assemblies, we
have provided enough detail so that students with an understanding of the physics of mechanics will be
able to relate the results to those obtained by hand calculations.
Begin by creating the six part models detailed on page 2. For each part,
define the material by right-clicking Material in the FeatureManager
and selecting Edit Material. The Materials Editor will appear, as shown
here. Select Alloy Steel from the list of steels in the SolidWorks
materials library. The part will appear with the material color (gray)
stored in the library for steel. If you prefer to show the part with a color
that you have defined, uncheck the Use material color box. Click the
check mark to apply the material.
Rotation of a Wheel
F = ma
The above equation applies to bodies undergoing linear acceleration. For
rotating bodies, Newtons Second Law can be written as:
M = I
Where M is the sum of the moments about a point in the body, I is the mass
moment of inertia of the body, and is the angular acceleration of the body.
The moment of inertia about an axis is defined as:
I = mr 2 dV
where r is the radial distance from the axis. For simple shapes, the moment
inertia is easy to calculate. However, for more complex components,
calculation of I can be difficult. SolidWorks allows mass properties, including
moments of inertia, to be determined easily.
Open the part Wheel. From the main menu, select Mass
Properties.
The mass properties of the wheel are reported in the pop-up box.
For this part, the mass is 40.02 pounds-mass, and the moment of
inertia about the z-axis is 609.3 lbmin2. Note that if you centered
the part about the origin, then the properties, labeled Taken at the
center of mass and aligned with the output coordinate system will
be identical to those labeled Taken at the center of mass.
Introduction to Solid Modeling Using SolidWorks 2006 COSMOSMotion Tutorial Page 2
Introduction to Solid Modeling Using SolidWorks 2006 COSMOSMotion Tutorial Page 3
Since the wheel is symmetric about the axis of rotation, it will be difficult to visualize the rotational
motion in the model. Adding a non-symmetric pattern to one of the faces of the wheel will be helpful.
Note that the mass of this part (40.14 lbm) is almost identical to that of the other wheel, but the mass
moment of inertia (837.0 lbmin2) is about 37% greater. The mass moment of the part depends not only on
the parts mass, but also on how that mass is distributed. As more mass is placed further away from the
axis of the part, then the mass moment of inertia about that axis increases (note the r2 in the equation on
page 1).
A pop-up box will appear, asking if you would like to add the existing
parts to Grounded or Moving Parts.
Notice that the frame part is listed under Ground Parts in the motion
model manager.
Insert the part Wheel into the assembly. Click Yes to add the
part to the motion model.
The box that appears shows an analysis of the model. Each moving part has six degrees of freedom in 3-
D space. The part can translate along the x, y, and z axes, and can rotate about the x, y, and z axes. Since
we have one moving part (the wheel), and its motion is so far unconstrained, the number of degrees of
freedom is six.
Click Dismiss to close the message box. Select the Mate Tool.
Add a concentric mate between the center hole of the wheel
and and one of the holes in the frame link. Be sure to select
the cylindrical faces for the mate and not edges.
A concentric joint
has been added. By zooming in on the joint area, you can see the joint
illustrated (shown here with the model in wireframe mode for clarity). Each
joint restricts degrees of freedom. The cylindrical joint prevents translation
in the x and y directions, and also prevents rotations about the x and y axes.
Therefore, two degrees of freedom (DOF) remain: the wheel can turn about
the z axis and can also translate along the z axis.
Dismiss the message box confirming the creation of a joint from the mate. Click the Calculate
button in the Simulation panel.
Close the Mate Command window, and dismiss the message box.
Note that if you calculate the number of DOF, it is now zero, as the
only unconstrained motion now is being driven by the prescribed motion
added to the joint.
Under the Simulation tab, set the duration to 2 seconds and the
number of frames to 100.
The appearance of the plot can be changed with commands similar to those for spreadsheet graphs. For
example, the background color can be changed by right-clicking in the graph are and selecting Chart
Properties. The appearance of the line (color/weight) can be changed by right-clicking on the curve and
selecting Curve properties.
M = I
Delete the simulation results by clicking on the calculator icon in the
Simulation Panel. Right-click on the part name (Wheel) and select
Properties.
Since we defined the material of the wheel when creating the part, we can
leave the source of the properties as Part. The mass moment of intertia
about the Z-axis that was previously calculated (609.3 lbmin2) is
shown.
609.3lb in 2
I= = 1.577 lb in s 2
in
386.4 2
s
rad
M = T = I = (1.577 lb in s 2 ) 10.47 2 = 16.5 in l b
s
Note that the torque required to produce the constant acceleration is also constant. Therefore, the torque
would need to be applied instantaneously, which is impossible. If our goal is to reach a constant angular
velocity of 1200 deg/s (200 rpm) in 2 seconds, then we may consider a motion profile that starts with an
acceleration of zero and ramps up to a maximum value and then ramps back down to zero. In this case,
the torque is allowed to ramp up and down smoothly.
Note that there are 18 DOF, six for each of the three moving links.
The moving links will all fall off the screen, as the motion model includes gravity.
Click the calculator icon again to clear the results and reset the components.
Introduction to Solid Modeling Using SolidWorks 2006 COSMOSMotion Tutorial Page 11
Add a coincident mate between the back face of the crank and the front
face of the frame. Add a concentric mate between the corresponding
cylindrical faces of the frame and crank. Be sure to select faces and not
edges; if edges are selected, then the resulting joints in the motion model
may be incorrect. Close the Mate PropertyManager, and select
Calculate from the Simulation Panel.
To define the starting position of the mechanism, we will set the crank to be
perpendicular to the frame.
This will remove the constraint defined by the mate (and the corresponding joint in the motion model),
but the orientation of the links will remain.
Note that arrows appear on the joint name in the FeatureManager and on the joint itself, indicating the
there is applied motion on this joint. The number of degrees of freedom is now zero.
Introduction to Solid Modeling Using SolidWorks 2006 COSMOSMotion Tutorial Page 13
Under the Simulation tab, set the duration to one second and the
number of frames to 100.
Before running the simulation, we will add a force to the open hole
of the connector.
Check the mass properties of each of the moving parts by right-clicking on each and selecting
Properties.
If you defined the material of each part as steel, then the density box should display about 0.28 pounds per
cubic inch. If you did not define the properties, then the value defaults to the density of water (0.036
pounds per cubic inch). You may override the part-defined properties by selecting a new material here or
by entering a density value.
You can add graphics showing the directions and relative magnitudes of the velocities and accelerations
of any point.
You can also add a trace path, which shows the position of a
point throughout the simulation.
To save the actual data displayed on the graph, right-click on the graph
and select Export CSV. This will create a data file that can be opened in
Excel.
Since the rotational speed is fairly low, you may assume that the inertial effects of the accelerating links
are small compared to the applied 20-pound load. Confirm this by changing the rotational velocity.
Delete the results by clicking on the calculator icon and change the rotational velocity of the crank
by right-clicking on the revolute and selecting Properties. Change the velocity to 36 degrees per
second (6 rpm). Change the duration of the simulation to 10 seconds and run the analysis.
Note that the maximum torque is only slightly less than for the previous analysis, about 61 in-lb. Further
evidence that the inertial effects are low can be seen by conducting a static force analysis, as is shown in
the hand calculations on pages 19 and 20. Ignoring both the accelerations of the members and the
member weights, it is seen that a torque of 29.4 in-lb is required for static equilibrium of the mechanism
when the members are in their starting positions.
Delete the analysis results. From the Simulation Panel, choose the Simulation settings and turn
gravity off. Run the analysis, and save the torque results to a CSV file.
This result for the torque at time =0 agrees with that calculated in
the hand analysis. An analysis in which the inertial forces are
small is sometimes referred to as a quasi-static analysis.
Although a static analysis produces good results if inertial force
are low, the advantage of our computer solution is that a
complete revolution has been considered. The hand calculations
only apply to a single point in time, which of course may not be
the time at which the forces are maximized.
Delete the results by clicking on the calculator icon and change the rotational velocity of the crank
by right-clicking on the revolute and selecting Properties. Change the velocity to 3600 degrees per
second (600 rpm). Change the duration of the simulation to 0.10 seconds, turn on the gravity, and
run the analysis.
Select Motion-Export Results-to AVI Movie. Set the path to which the file will be saved, and OK.
Note that the Simulation Panel and any results windows will appear in the movie if they are open in the
model area. To play the movie, go to the directory where you stored it and double-click on the file name.