{"action":"created","issue":{"url":"https://api.github.com/repos/gdbaldw/BlenderAndMBDyn/issues/13","labels_url":"https://api.github.com/repos/gdbaldw/BlenderAndMBDyn/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/gdbaldw/BlenderAndMBDyn/issues/13/comments","events_url":"https://api.github.com/repos/gdbaldw/BlenderAndMBDyn/issues/13/events","html_url":"https://github.com/gdbaldw/BlenderAndMBDyn/issues/13","id":109513420,"number":13,"title":"driving element must have the same label of the driven one","user":{"login":"timgow","id":14345444,"avatar_url":"https://avatars.githubusercontent.com/u/14345444?v=3","gravatar_id":"","url":"https://api.github.com/users/timgow","html_url":"https://github.com/timgow","followers_url":"https://api.github.com/users/timgow/followers","following_url":"https://api.github.com/users/timgow/following{/other_user}","gists_url":"https://api.github.com/users/timgow/gists{/gist_id}","starred_url":"https://api.github.com/users/timgow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timgow/subscriptions","organizations_url":"https://api.github.com/users/timgow/orgs","repos_url":"https://api.github.com/users/timgow/repos","events_url":"https://api.github.com/users/timgow/events{/privacy}","received_events_url":"https://api.github.com/users/timgow/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-02T15:22:58Z","updated_at":"2015-10-02T21:38:02Z","closed_at":"2015-10-02T21:04:05Z","body":"I'm following the 'BAM v2 - Simulate a Double Pendulum' video and get a problem at the stage where the driven element is introduced.\r\n\r\nThe error message that I get is:\r\nError: the driving element must have the same label of the driven one\r\nAn error occurred during the execution of MBDyn; aborting... \r\n\r\nThe MBDyn input file contents:\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nbegin: data;\r\n\tproblem: initial value;\r\nend: data;\r\n\r\nbegin: initial value;\r\n\tinitial time: 0;\r\n\tfinal time: 10;\r\n\tstrategy: no change;\r\n\ttime step: 0.001;\r\n\ttolerance: 1e-06;\r\n\tmax iterations: 10;\r\n\tderivatives tolerance: 2;\r\n\tderivatives max iterations: 1;\r\n\tderivatives coefficient: 0.001;\r\nend: initial value;\r\n\r\nbegin: control data;\r\n\tselect timeout: forever;\r\n\tdefault orientation: orientation matrix;\r\n\toutput meter: meter, 0, forever, steps, 1;\r\n\toutput precision: 6;\r\n\tdefault output:\r\n\t\treference frames,\r\n\t\tabstract nodes,\r\n\t\telectric nodes,\r\n\t\thydraulic nodes,\r\n\t\tstructural nodes,\r\n\t\taccelerations,\r\n\t\taerodynamic elements,\r\n\t\tair properties,\r\n\t\tbeams,\r\n\t\telectric elements,\r\n\t\tforces,\r\n\t\tgenels,\r\n\t\tgravity,\r\n\t\thydraulic elements,\r\n\t\tjoints,\r\n\t\trigid bodies,\r\n\t\tinduced velocity elements;\r\n\tstructural nodes: 2;\r\n\tjoints: 2;\r\n\tforces: 1;\r\n\trigid bodies: 1;\r\n\tgravity;\r\nend: control data;\r\n\r\nset: const integer Cube = 0;\r\nset: const integer Cube_001 = 1;\r\nbegin: nodes;\r\n\tstructural: Cube, static,\r\n\t\treference, global, 0, 0, 0,\r\n\t\treference, global, matr,\r\n\t\t\t1, 0, 0,\r\n\t\t\t0, 1, 0,\r\n\t\t\t0, 0, 1,\r\n\t\treference, global, null,\r\n\t\treference, global, null;\r\n\tstructural: Cube_001, dynamic,\r\n\t\treference, global, 0, 0, -4,\r\n\t\treference, global, matr,\r\n\t\t\t1, 0, 0,\r\n\t\t\t0, 0, -1,\r\n\t\t\t0, 1, 0,\r\n\t\treference, global, null,\r\n\t\treference, global, null;\r\nend: nodes;\r\n\r\nset: const integer Constant_drive = 0;\r\nset: const integer Meter_drive = 1;\r\nset: const integer String_drive = 2;\r\nset: const integer Unit_drive = 3;\r\ndrive caller: Constant_drive, 5;\r\ndrive caller: Unit_drive, unit;\r\ndrive caller: Meter_drive, meter, 0, forever, steps, 1;\r\ndrive caller: String_drive, string, \"time<1.0\";\r\n\r\nset: const integer Body = 0;\r\nset: const integer Clamp = 1;\r\nset: const integer Distance = 2;\r\nset: const integer Driven = 3;\r\nset: const integer Gravity = 4;\r\nset: const integer Structural_force = 5;\r\nbegin: elements;\r\n\tbody: Body,\r\n\t\tCube_001,\r\n\t\t\t1,\r\n\t\t\t0, 0, 0, \r\n\t\t\teye,\r\n\t\t\tinertial, matr,\r\n\t\t\t\t1, 0, 0,\r\n\t\t\t\t0, 1, 0,\r\n\t\t\t\t0, 0, 1;\r\n\tforce: Structural_force, follower,\r\n\t\tCube_001,\r\n\t\t\tposition, 0, 0, 0,\r\n\t\t\t0, 0, 1,\r\n\t\treference, String_drive;\r\n\tjoint: Clamp, clamp,\r\n\t\tCube, node, node;\r\n\tjoint: Distance, distance,\r\n\t\tCube,\r\n\t\t\tposition, 0, 0, 0,\r\n\t\tCube_001,\r\n\t\t\tposition, 0, 0, 0,\r\n\t\tfrom nodes;\r\n\tgravity: \r\n\t\t\t0, 0, -1, scale, 9.81, reference, Unit_drive;\r\n\tdriven: Driven,\r\nString_drive,\r\n\t\texisting: force, Structural_force;\r\nend: elements;\r\n~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\r\nBelow are images of the Structural Force, Driven and String Drive edit windows:\r\n![screenshot structuralforce](https://cloud.githubusercontent.com/assets/14345444/10250177/3c73c9e2-6921-11e5-894e-c3a3716fb278.png)\r\n![screenshot driven](https://cloud.githubusercontent.com/assets/14345444/10250190/4508faf0-6921-11e5-84ef-55a894c34df6.png)\r\n![screenshot stringdrive](https://cloud.githubusercontent.com/assets/14345444/10250198/4e637c10-6921-11e5-8faf-e2e1b7e9c1de.png)\r\n\r\nPlease point me in the right direction on the creation of force, driven and drive within BAM.\r\nTim"},"comment":{"url":"https://api.github.com/repos/gdbaldw/BlenderAndMBDyn/issues/comments/145161013","html_url":"https://github.com/gdbaldw/BlenderAndMBDyn/issues/13#issuecomment-145161013","issue_url":"https://api.github.com/repos/gdbaldw/BlenderAndMBDyn/issues/13","id":145161013,"user":{"login":"gdbaldw","id":5253102,"avatar_url":"https://avatars.githubusercontent.com/u/5253102?v=3","gravatar_id":"","url":"https://api.github.com/users/gdbaldw","html_url":"https://github.com/gdbaldw","followers_url":"https://api.github.com/users/gdbaldw/followers","following_url":"https://api.github.com/users/gdbaldw/following{/other_user}","gists_url":"https://api.github.com/users/gdbaldw/gists{/gist_id}","starred_url":"https://api.github.com/users/gdbaldw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gdbaldw/subscriptions","organizations_url":"https://api.github.com/users/gdbaldw/orgs","repos_url":"https://api.github.com/users/gdbaldw/repos","events_url":"https://api.github.com/users/gdbaldw/events{/privacy}","received_events_url":"https://api.github.com/users/gdbaldw/received_events","type":"User","site_admin":false},"created_at":"2015-10-02T21:38:02Z","updated_at":"2015-10-02T21:38:02Z","body":"Tim,\r\nYes, Blender Objects at the joint positions. Rigid offsets from your Body Object to each joint position Object. Then, a new Object for whatever you are to join, perhaps a new Body. And then, select 1) the new Body, 2) one of the Rigid offset Objects. Now, create your joint. Node 1 will be Rigid offset from the original Body node. Node 2 will be the new Body.\r\n-Doug"}}