Sequential Simulation not Continuing
I have a model in which I want to start with a fixed joint to maintain initial geometry, and then release after a short time in motion. Per MV-1051, I have added a template file as below, however when I save and run (and can confirm that the joints activate and deactivate in the run log, see italicized log snippet), the second half of the simulation does not appear to run and jumps right to the stop (see italicized snippet). I am not sure what is causing the second part of the sequence not to proceed - any help would be greatly appreciated.
<Deactivate
element_type = "JOINT"
element_id = "301001"
/>
<Simulate
analysis_type = "Transient"
end_time = ".05"
print_interval = "0.001"
/>
<Deactivate
element_type = "JOINT"
element_id = "{j_init_fix.idstring}"
/>
<Activate
element_type = "JOINT"
element_id = "301001"
/>
<Simulate
analysis_type = "Transient"
end_time = "5."
print_interval = "0.001"
/>
<Stop/>
Starting kinematic analysis...
Time=1.000E-03; H=1.000E-03 [Max Phi=2.087E-11]
Time=5.000E-03; H=1.000E-03 [Max Phi=2.087E-11]
Time=1.000E-02; H=1.000E-03 [Max Phi=2.087E-11]
Time=1.500E-02; H=1.000E-03 [Max Phi=2.087E-11]
Time=2.000E-02; H=1.000E-03 [Max Phi=2.087E-11]
Time=2.500E-02; H=1.000E-03 [Max Phi=2.087E-11]
Time=3.000E-02; H=1.000E-03 [Max Phi=2.087E-11]
Time=3.500E-02; H=1.000E-03 [Max Phi=2.087E-11]
Time=4.000E-02; H=1.000E-03 [Max Phi=2.087E-11]
Time=4.500E-02; H=1.000E-03 [Max Phi=2.087E-11]
Time=5.000E-02; H=1.000E-03 [Max Phi=2.087E-11]
CUMULATIVE COMPUTE TIME INFORMATION
----------------------------------------
Preprocessing Model : 4.400E-02 sec
Core Analysis : 1.900E-02 sec
Postprocessing/Messaging : 3.300E-02 sec
Total Elapsed Time : 9.600E-02 sec
INPUT:
[actuator_control_DPC.xml]
OUTPUT:
[actuator_control_DPC.mrf]
[actuator_control_DPC.log]
TRANSIENT SIMULATION COMPLETED
Deactivate JOINT/301012
Activate JOINT/301001
Execution terminated by STOP command.
Answers
-
Hello @d_con13
It is hard to figure out a reason why that does not work without looking at the model? Is it possible to share the model ?
What type of joint is "301001" ? If its an inplane or planar joint, you may have to use the keyword "JPRIM".
Regards
Praful
0 -
Unfortunately I don't think I can share the rest of the model, but it is a relatively simple crank-slider type assembly consisting of two bars, one on a rotating base point and the other end of the linkage in a translational joint. I am trying to lock the base pivot, Joint 301001 for the initial motion and then release (Joint 301001 is a revolute joint)
0