Note:
By default, the app creates
the knowledge design table under the Relations node of the
Scenario. To create the
knowledge design table under the mechanism, select the mechanism in the design table tool
(that is, select the mechanism in the Destination field in the
Creation of a Design Table dialog box).
From the Mechanism section of the action bar,
click Function.
Select From Design Table as the function
type to create.
Optional:
Modify the default name of the element.
Tip:
Click outside the field to update the name of the element in
the tree.
From Create in, select an option:
Option
Description
Mechanism
Creates the function in the current mechanism.
In the tree, the function appears under the Functions node of the Model.
Analysis Case
Creates the function in the current analysis case.
In the tree, the function appears under the Functions node of the Scenario.
Tip:
To compute function results in different analysis cases, create
the functions in the current mechanism.
In the Physical Quantities section, select a type of
quantity for each function value:
From Independent, x, select a type of quantity
for the input value.
From Dependent, F(x), select a type of quantity
for the output value.
In the Definition section, select the design table and the type of
interpolation for the function.
From Design table, select a design table that includes the
function data.
Notes:
You can only select a design table that is available in the same creation
context as the function (current mechanism or analysis case).
To ensure that a column is valid for selection, the header (typically the
first row) in the design table must include both the parameter name and its
unit, with the unit strictly enclosed in round brackets; for example, Length
(mm). No other format will be recognized.
Tip:
To view and edit the design table, click Edit Design
Table
.
From the Column for x
options, select the column from the design table that defines the independent
physical quantity of the function.
Important:
You cannot use the same column to define the independent
physical quantity of several functions.
From the Column for F(x)
options, select the column from the design table that defines the dependent physical
quantity of the function.
Important:
The columns selected for Column for x
and Column for F(x) must include the same number of data
entries.
From the Interpolation
options, select the type of interpolation for the function.
Option
Description
Example
Natural cubic spline
Interpolates the values between two data points using a third-order
polynomial (segmented cubic spline).
Cubic interpolation of the translation along the z-axis through time (0
to 5 seconds).
Linear
Interpolates the values between two data points using a first-order
polynomial (segmented linear interpolation).
Linear interpolation of the translation along the z-axis through time (0
to 5 seconds).
The values of the three defined data points are the same, but the interpolation
type is different.
Extrapolation displays the type of extrapolation used for
the function.
Notes:
By default, the extrapolation before the first data point and after the last
data point is linear. You cannot modify the extrapolation type.
Avoid using extrapolation and instead ensure that your data set covers all
potential scenarios represented in your model.
Expand Scale and Offset, and then specify a value for the scale
and offset of the x and F(x) variables.
By default, the scale values correspond to 1 and the offset values correspond to
0.
Tip:
You can use knowledge formulas
to define the scale and offset parameters.
Click Show Plot to hide or show the Plot Graph
panel.
The Plot
Graph panel
plots the curve. This lets you view the resulting function before computing the
mechanism and generating the 2D Plot results. For
more information, see Using 2D Plots.
Note:
The plot curve updates according to the selected function type, input
or output physical quantities, or any other function parameter. To update the resulting curve, click
outside of the edited field or press Tab.
Tip:
Select an area of the plot graph to zoom
in on, and click Zoom to Fit to return to the full view.