









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










1) Start Working Model 2D
2) Set display and units Select View then Workspace Check the X,Y Axes and Coordinates boxes and then select Close You may also select Grid Lines and Rulers if you wish
Select View then Numbers and Units then More Choices Select Distance in Millimeters Select Rotation in Radians and then select OK
Select View then View Size Set Window width to 100 then select OK
3) Save this example Select File then Save As and choose a suitable folder and filename and then select Save
REMEMBER TO SAVE YOUR WORK OFTEN!
4) Draw a link and add points to it Select the Rectangle drawing tool from the tool bar on the left and draw a rectangle
You may use the H and W indicator boxes at the bottom tool bar to resize
Select the round Point Element drawing tool from the tool bar on the left Position the cursor over an edge of the link and WAIT for a small X to snap onto that edge Left-click to attach the point to the link Place a second round point on the link
Left-click on the ground pin to highlight it if necessary Hold down the Shift Key and left-click on point A on the Crank to highlight it also Select the Join button from the tool bar on the left to create a revolute joint
You should be able to left-click and drag the link to move it around Animate your pendulum by selecting Run and then later Stop from the toolbar at the top Select World then Erase Track (Ctrl+E) to clean the screen if needed
7) Create a revolute joint connected to another link Repeat steps 4) and 5) to create “ConRod” with round points B and C attached to it
Left-click on point B on Crank to highlight it Hold down the Shift Key and left-click on point B on the ConRod to highlight it also Select the Join button from the tool bar on the left to create a revolute joint
You should be able to left-click and drag the links to move them around
8) Create a pin-in-slot joint connected to ground Select the Horizontal Slot Element drawing tool from the tool bar on the left Position the cursor and left-click to attach a slot to ground
Left-click on the slot to highlight it if necessary Hold down the Shift Key and left-click on point C on the ConRod to highlight it also Select the Join button from the tool bar on the left to create a pin-in-slot joint
You should be able to left-click and drag the links to move them around
Add a new round point C to the end of the ConRod Add a new round point C to the middle of the Piston Highlight the points and use the Join button to create a revolute joint
You should be able to left-click and drag the links to move them around
11) Create a slot connected to a link Repeat steps 4) and 5) to create a large block “Cylinder” Select the Horizontal Slot Element drawing tool from the tool bar on the left Position the cursor over the Cylinder and left-click to attach a slot to the Cylinder
Select the Anchor tool from the tool bar on the left Position the cursor over the Cylinder and left-click to connect the Cylinder to ground
Left-click on square point D to highlight it and press the Delete Key to remove point D Left-click and drag the Piston away from the ground slot Left-click on the ground slot and press the Delete Key to remove it Add a new square point D to the Piston Left- click on the Piston and select Object then Move to Front Left- click on the ConRod and select Object then Move to Front
Move the slot in the cylinder where the ground slot had been Left-click on the slot attached to the Cylinder to highlight it if necessary Hold down the Shift Key and left-click on point D on the Piston to highlight it also Select the Join button from the tool bar on the left to create a prismatic joint
You should be able to left-click and drag the links to move them around The Cylinder should not move
12) Collision Depending on how you designed your Piston, the ConRod may collide with your Cylinder You can ignore or enforce collision between objects in two ways
Global setting Select World then Preferences and choose if you want all objects to collide or not collide
Left-click on the motor to highlight it Select Split from the tool bar on the left Select Window then Properties to see the names for the Base Point and regular Point the Motor In the Properties window use the pull-down to select to regular Point for the motor
Left-click on the CENTER of the motor and drag the point icon onto point A on the Crank Select the Join button from the tool bar on the left
Double left-click on the motor to show the Properties pop-up Use Type Velocity to create a speed control motor A constant positive value causes a constant CCW rotation speed
Animate your slider crank by selecting Run and then later Stop from the toolbar at the top Select World then Erase Track (Ctrl+E) to clean the screen if needed
Use Type Rotation to create a position control motor You may enter a formula in the value window to vary position as a function of time The formula “1.57sin(3.14t)” will produce ±90 degrees of rotation with 2 second period
Use Type Torque to create a torque control motor A constant positive value causes a constant CCW torque Alternately you may enter a formula in the value window to vary torque as a function of time
14) Change animation speed Select World then Accuracy Smaller values for the upper box under Animation Step provide fewer animation steps You can also change forward time integration controls with this window
16) Display and export numerical data Left-click on the Piston to highlight it and select Measure then P-V-A then X Select Run and then later Stop from the toolbar at the top Different output formats for the Measure window may be selected with the hollow arrow You may have several Measure windows for different variables open at the same time To remove a Measure window, left-click on it to select and press the Delete Key
If you save your WM file with active Measure windows, file size may be very large. If you delete all Measure windows and save your file under a different name, size of the new file will be significantly smaller.
Select File then Export and choose a suitable folder and filename Select Export type Meter Data (*.dta) Select Export *.dta files contain tab-delimited text and may be opened with Notepad, Word or Excel
Select File then Export and choose a suitable folder and filename Select Export type Video for Windows (*.avi) Select Export You may also control the number of frames that are exported Note: Exporting *.avi files may cause problems with exporting *.dta files in future runs
Using standard settings to export *.avi movies may produce very grainy images. To solve this problem, simulate and export at a very high frame rate (e.g. 2000 Hz) which will create a huge file that requires a long time to play. Then import into Windows Movie Maker (free utility) and change the frame rate to play faster.
17) Polygonal objects This will be much easier if you move all other objects away from the origin Select the Polygon drawing tool from the tool bar on the left Left-click on the origin for the first vertex Observing the DX and DY indicator boxes, move the cursor to DX= 0, DY= 10 Left-click to place the second vertex Repeat to place the third vertex at DX= 4, DY= - Repeat to place the fourth vertex at DX= -2, DY= 0 Repeat to place the fifth vertex at DX= 0, DY= - Double left-click to complete the polygon