Hello everyone,
I am currently working on a model where a gas spring needs to be implemented. To better understand the definition of this spring I've prepared a simple model to assess some features of cylindrical joints. I established a time-dependant displacement motion on the joint to simulate the piston stroke, and also defined an output request to obtain the force needed to create that motion. However I did not get a proper result by using the MOTION function.
The model is very simple, it consists only of a slider (the piston) and a cylinder connected by a cylindrical joint (varname 'j_cylindrical_joint_1'). The translational degree of freedom is the displacement in the X-axis.


The motion assigned to the joint is a linear displacement with respect to the time, in the form of 'displacement=A*TIME', where 'A' is a positive integer (varname 'mot_slider_1'). To measure the force that creates this motion I used the MOTION function in the following form:
`MOTION({mot_slider_1.idstring},{0},{2},{j_cylindrical_joint_1.i.idstring})`
When plotting the output I obtained a graph of null force throughout the simulation time.

I would like to know which is the mistake that is preventing me from obtaining a proper force output.
Thank you in advance.