Simple DMU Kinematics Prismatic Tutorial and Applying a Law
Lets make this block slide along the base!
Two very simple parts need to be designed which are the block and the base. Video part 1 shows a quick way to create them along with the dimensions. For simplicity make the block the same width of the base. Once the parts are constructed then they can be brought into a product and constrained properly. A coincidence constraint is applied to the edge of the block to the edge of the base and then the bottom face of the block to the top face of the base.
Part 2 shows the block being constrained to the end of the base for its starting point in the simulation and the base being fixed because the block will do the moving. Once the constrained are done then move over to the DMU Kinematics workbench and fix the base allowing you to create a new simulation. In the specification tree under application you will now see there is a mechanism. Under the fix part you will see the base you selected. To make adding the joints easier, drag and put the compass on the block to move it off the base (This will go back to how it was constrained when updated). Now you can add your first joint. Lets select the prismatic joint and select the first line to be the bottom edge of the block and the other line to be the top edge of the base. The plane will the bottom face of the block and the top face of the base. As you can see your mechanism still has one degree of freedom that needs to be taken care of.
A mechanism needs at least 1 command to be simulated and the command will take away 1 degree of freedom. So now we can add a length driven command to the prismatic joint we made. When adding a command a blue arrow will show up showing which way it will translate or rotate. When you have 0 DOF's and your joints are done correctly you will receive a message that you can simulate your mechanism. Congratulations.
Click simulate with command and drag the cursor on the bar to watch the block slide along the base until the end length which was added. The length can be modified by clicking on the joint if your block is coming up short or going off the end of the block.
Under edit simulation, click the mechanism you created and insert a new simulation. Change it to a continuous look and change the speed to 0.01 to slow it down.
Note: If your simulation does not move, drag the cursor on the simulate with command to the end before you click insert and it will work.
Part 3 shows adding a law to your length command. This is done by adding a formula and then clicking your mechanism to show the parameters it can be added too. Lets add a velocity of 1mm per second we want the block to travel. Since we are in a kinematics simulation we need to relate this velocity to the kinematics time. This can be done by going under parameters under time and selection Mechanism.1/KINTime and multiplying it by your formula. Apply the formula and add a sensor to the block and the base. The reference product would be the base (which is your fixed part) and the part we want to get data from is the moving block so lets select a vertex on the block.
Part 4 shows how to simulate your mechanism with a law. Select the simulate with law tool behind the simulate with command and add the number of steps. The number of steps is the amount of times CATIA is collecting data within the amount of seconds the simulation will be ran. The seconds can be changed by clicking the three dots and entering a new amount of seconds. The more steps the longe the simulation will take. 200-500 is usually a good range of steps for accurate data depending on the complexity of the simulation.
Note: Make sure to clear history each time the simulation is ran even when sending it back to the start point to ensure accurate data and graphs.
Under selection is where you can select sensors you would like to observe. They can be activated by clicking on them. Units can be changed under CATIAs options. Once you have the sensors you want selected you can clear your history and run the simulation.
Clicking graphics allows you to view your graphs. Under options you can create custom graphs that allow you to control the data you would like to see by selecting the axis's of the graph.
Note: Custom graphs will not save and will have to be entered each time the simulation is open. So screenshot your graphs if you would like to save them.
Comment with any questions or problems you encounter. Thanks!