Closed timgow closed 8 years ago
Hi Tim, Thanks for the example. To correct the model, Rigid_offset must be reversed (select the objects in the opposite order, then edit). Rigid_offset.001 must originate from the Ground_node (select Ground_node, then select Crank_pin, then edit). Rigid_offset.002, of course, will be ignored until another Element includes it. Your model will have only its two required nodes. -Doug
Hi Doug, Thank you for making the object selection clear to me, I have a working double pendulum now. I'm very pleased with this as I feel like I know a bit more of what's going on. Tim
Hi Doug, I have the crank-slider working under the gravity loading; my next difficulty is rotating the crank at a constant angular velocity, using a reference frame. I'm not clear on the BAM rules on this; in the MBDyn input file we're wanting to include the new reference frame in the node definition. The element is associated with the node, and in BAM it looks like you're putting the element in the reference frame (rather than the node, from where we'd hang the element). Should I create a new blender object from which to create the reference frame? I believe that I should select the body and then the new blender object, in order to create the reference frame. In my crank-slider model, the body is half a unit away from the origin/axis of rotation; should this work, not coincident (I'm getting results with no motion)? How is the reference frame related to the clamp at the origin and the revolute-hinge at the origin? I have tried again from scratch but I have a tangle of clamp, hinge, node rigid offset, body and reference frame. I'm seeking a logical path along which to build up the crank arm rotating about the origin, I appreciate your help. Tim
On 5 Oct 2015, at 15:25, gdbaldw notifications@github.com wrote:
Hi Tim,
Thanks for the example. To correct the model, Rigid_offset must be reversed (select the objects in the opposite order, then edit). Rigid_offset.001 must originate from the Ground_node (select Ground_node, then select Crank_pin, then edit). Rigid_offset.002, of course, will be ignored until another Element includes it. Your model will have only its two required nodes.
-Doug
— Reply to this email directly or view it on GitHub.
Doug, I've got the latest BAM code and building a crank-slider model; initially it's a 2-link pendulum until the slider is added. I tried to run this intermediate stage and I get the error:
The MBDyn input file doesn't include the definition of the 'Node_Ground'. I modified the input file to include the definition and it runs ok; the DIFF output is:
BAM generated MBDyn input file:
The follow images show the objects associated with each element in the BAM list:
I appreciate your time to check this out. Tim