由已知离散数据生成曲线: 新建*.csv文件,需要两行。一行为横坐标,一行为纵坐标,二者顺序可以变化。 在后处理中导入*.csv文件,并画出曲线。通过这条曲线生成spline(点击spline按钮)。上图是生成的曲线,下图是通过曲线生成的样条曲线。 进入前处理,在需要定义的motion/force上施加样条函数(图中abb即为曲线生成的样条) 由已知曲线生成样条: 1、直接在后处理中画出measrue曲线,然后利用spline转化为需要输入的曲线(在这里我还不知道如何得到函数表达式,但是可以有曲线,就可以有输入了)应该有下图中的警告。 2、在database navigator 中可以找到这个spline_1。 3、比如要成为时间的函数施加到motion 或者force上,可见下图。这样运动就定义了。 三种样条函数的定义区别 Example A spline, spline_1, is defined with discrete data as shown in the following table. The data is then used to generate the interpolation function using the Cubic spline fitting method. Since the spline defines a curve rather than a surface, the Second Independent Variable must be set to 0. The following example returns the interpolated value of the spline of displacement over time, to define a motion function: Motion = CUBSPL(TIME, 0, spline_1) Example The following function returns the x direction evaluated value of curve_1 at point TIME, where TIME is the current simulation time: CURVE(TIME, 0, 1, curve_1) Example A spline, spline_1, is defined with discrete data as shown in the following table. The data is then used to generate the interpolation function using the Akima spline fitting method. Since the spline defines a curve rather than a surface, the Second Independent Variable must be set to 0. In the following example, given the tabular data and a value for the independent variable, the AKISPL returns the interpolated value for the dependent variable: f = AKISPL(DX(marker_1, marker_2, marker_2), 0, spline_1)
adams离散数据导入的说明.doc
下载此电子书资料需要扣除0点,