General

General

How can I monitor the position of a rigid body in a Rigid Body model?

    • FAQFAQ
      Participant

      “rbstate” is a quantitative function that returns the specified rigid body state variable. One of those state variables is Position. For example, if you define the following expression you can monitor the x value of the rigid body, Rigid Body 1: rbstate (Position X) @Rigid Body 1 In addition to Position, the following physical quantities can be monitored. Linear velocity Linear acceleration Euler Angle Angular Velocity Angular Acceleration For details, please refer to 15.5.24. Rbstate in the CFX Reference Guide. Note that the value returned by rbstate is not included in the interpolation data used as the initial value when restarting the calculation.