0

所以我试图在交互属性下创建一个阻尼对象。下面是阻尼对象参数等。

**definition**
A SymbolicConstant specifying the method used to define the damping. Possible values are DAMPING_COEFFICIENT and CRITICAL_DAMPING_FRACTION. The default value is DAMPING_COEFFICIENT.

**tangentFraction**
The SymbolicConstant DEFAULT or a Float specifying the tangential damping coefficient divided by the normal damping coefficient. The default value is DEFAULT.

**clearanceDependence**
A SymbolicConstant specifying the variation of the damping coefficient or fraction with respect to clearance. Possible values are STEP, LINEAR, and BILINEAR. The default value is STEP.

If definition=CRITICAL_DAMPING_FRACTION, the only possible value is STEP.

**table**
A sequence of pairs of Floats specifying the damping properties. The items in the table data are
described below.

**Table data**
If definition=DAMPING_COEFFICIENT and clearanceDependence=STEP, the table data specify the following:
• Damping coefficient.
If definition=DAMPING_COEFFICIENT and clearanceDependence=LINEAR or BILINEAR, the table
data specify the following: 
• Damping coefficient. 
• Clearance.
    Two pairs must be given for clearanceDependence=LINEAR and three pairs for clearanceDependence=BILINEAR. The first pair must have clearance=0.0, and the last pair must have coefficient=0.0.
 If definition=CRITICAL_DAMPING_FRACTION, the table data specify the following: 
        • Critical damping fraction.

所以我使用的定义是 CRITICAL_DAMPING_FRACTION。我遇到的唯一困难是如何为“表格”部分编写。下面是我的代码:

myModel.interactionProperties['Prop-1'].Damping(definition = CRITICAL_DAMPING_FRACTION, table = ((6,),))

所以从手册中,它说该表应该是一对浮点数的序列,并期望一个元组。因为对于临界阻尼分数,只需要一个数字。我得到的错误信息是“无效阻尼表”。

我真的不知道我在表格部分做错了什么。希望这里有人能知道我错在哪里!谢谢!!

4

1 回答 1

1

您的表定义是正确的,但您缺少clearanceDependence. 要使您的命令正常工作,请编写以下内容:

myModel.interactionProperties['Prop-1'].Damping(definition = CRITICAL_DAMPING_FRACTION, table = ((6,),), clearanceDependence=STEP)

属性只有一个可能的值clearanceDependence,即 STEP,但无论如何您都需要定义它。不幸的是,文档对此并不那么清楚。

将来,您可以在 Abaqus 中手动修改交互属性,然后使用 Python 读取值。这样你就会看到它应该是什么样子。另外,abaqus.rpy 文件将包含正确的命令。

于 2015-03-20T07:04:23.047 回答