measure > measure modify computed

www.kxcad.net Home > CAE Index > MSC Software Index > Adams MD R2 Index


Your Ad Here

measure modify computed
Allows you to modify an existing computed measure
Adams/View computed measures allow you to create measures in the Adams/View expression language that can be evaluated before a simulation or any time after. You build them using design-time functions and typically use them in the initial model set up.
An Adams/View computed measure is convenient because it can reference any Adams/View variable. For example, if you create two measures and you want to add or subtract them, you can use an Adams/View computed measure to do so. You can also compute data from a run-time measure.
Format:
 
Example:
Assuming that ADAMS_KE is an existing measure of the kinetic energy of a pendulum and MY_KE is an existing analytical measure if the kinetic energy.
.
“100*(.model_1.adams_ke - .model_1.my_ke)/322.6” &
“measure comparison of analytical and kinetic energy results”
Description:
 
The TEXT_OF_EXPRESSION parameter defines the computation to be performed by the function. Remember that the value of this argument should be a character string, NOT an expression.
Cautions:
1.
Be careful, however, about the changes you make in your model. Making changes can cause a potential problem because model changes can invalidate the accuracy of any measure that depends on the results of a simulation. The simulation redefines the model data and re-evaluates your Adams/View computed measures.
Your Ad Here