Magnus Ringh
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
2 ott 2019, 10:02 GMT-4
Updated:
5 years ago
2 ott 2019, 17:28 GMT-4
Hi,
You can use the Find tool (press Ctrl+F), if you have set up all the physics. When you then add mbd.hgj3.e1z
, you will find that it is a variable for the Inner Gimbal-Spinning Disc feature. You also need to activate the Equation View from the Show menu in the Model Builder toolbar. You can then find it in the Variables list in the Inner Gimbal-Spinning Disc node's Equation View subnode, where it is described as the z component of the joint axis.
I will make a suggestion to explain this variable in this tutorial example's step-by-step instructions.
Best regards,
Magnus Ringh, COMSOL
Hi,
You can use the Find tool (press Ctrl+F), if you have set up all the physics. When you then add `mbd.hgj3.e1z`, you will find that it is a variable for the Inner Gimbal-Spinning Disc feature. You also need to activate the **Equation View** from the **Show** menu in the Model Builder toolbar. You can then find it in the Variables list in the **Inner Gimbal-Spinning Disc** node's **Equation View** subnode, where it is described as the z component of the joint axis.
I will make a suggestion to explain this variable in this tutorial example's step-by-step instructions.
Best regards,
Magnus Ringh, COMSOL
Henrik Sönnerlind
COMSOL Employee
Please login with a confirmed email address before reporting spam
Posted:
5 years ago
2 ott 2019, 17:27 GMT-4
Updated:
5 years ago
2 ott 2019, 17:29 GMT-4
Magnus suggestion is the way to go for 'reverse engineering', but what if you were to set up that variable 'theta' without knowing that you were looking for mbd.hgj3.e1z?
In this scenario you know that you are looking for the orientation of the axis of Inner Gimbal-Spinning Disc, but not what its variable is called.
Then you have two options:
Go to Equation View under Inner Gimbal-Spinning Disc and try to find it. You can sort the Description column in alphabetical order.
Use the Replace Expression dialog, and try to find it in a more structured manner (see screenshot). This, however assumes that the variable you are looking for is announced as a postprocessing variable. Most variables that you as a user would be interested in can probably be found this way. In order to have access to the Replace Expression dialog, you must have some results. Run a Get Initial Value if there is no solution yet.
Regards,
Henrik
-------------------
Henrik Sönnerlind
COMSOL
Magnus suggestion is the way to go for 'reverse engineering', but what if you were to set up that variable 'theta' without knowing that you were looking for mbd.hgj3.e1z?
In this scenario you know that you are looking for the orientation of the axis of **Inner Gimbal-Spinning Disc**, but not what its variable is called.
Then you have two options:
1. Go to **Equation View** under **Inner Gimbal-Spinning Disc** and try to find it. You can sort the Description column in alphabetical order.
2. Use the **Replace Expression** dialog, and try to find it in a more structured manner (see screenshot). This, however assumes that the variable you are looking for is announced as a postprocessing variable. Most variables that you as a user would be interested in can probably be found this way. In order to have access to the **Replace Expression** dialog, you must have some results. Run a **Get Initial Value** if there is no solution yet.
Regards,
Henrik