For instance, is it possible to create a channel giving a force or a moment in a specific reference frame?
The block outputs of type “ForceMoment”are converted into a common reference frame when generating the channel values. This can be controlled with the property at the root of the boc file called “ForceReportFrameName”. If putting all the forces in a different reference frame is not what is intended, then separate channels can be generated with a JavaScript expression like:
“FxInCustomFrame”: “{YourFM}.toFrame({^.YourFrame}).F[0]”
Example:
“MzInFrameWaterPlane”: “{^.Hull.FM}.toFrame({^^.FrameWaterPlane}).M[2]”,
It is also possible to output forces in a desired frame directly in the GUI Commands Window using the following syntax:
Z(‘YourFMBlock‘).toFrame(Z(‘YourFrameBlock’)).F[0]]
Example:
Z(‘Boat.Hull.FM’).toFrame(Z(‘Boat.FrameWaterPlane’)).M[2]]