示例:使用 RuleCHECK
下列示例显示 RuleCHECK 如何帮助用户设计压力容器的壳单元。
shell.rule 文件包含下列规则:
• 长度 (Length) - 软规则
• 直径 (Diameter) - 软规则
• 厚度 (Thickness) - 硬规则
该文件如下所示:
# PTC Inc. RuleCHECK Rule File
#
# Note: The name of this file should be the same as the model
# type that the rules apply to with the suffix '.rule'
#
# Lines in this file which begin with '#' are considered
# comments. The format of the rules in this file is:
#
#
# (Hard or Soft)
#
#
# EndOfRule
#
# The 'EndOfRule' indicates the end of the description, and
# description lines should be no more than 80 characters long
#
Length
Soft
1.00
RANGE: 72" to 360" (modify in skeleton part).
Should use 12" increments to avoid extra offcuts.
Set Skeleton parameter "SHELL_LENGTH" to desired value.
EndOfRule
#
Diameter
Soft
1.00
RANGE: 48" to 166"
Must be in 3" increments, limited by manufacturing equipment.
Set Skeleton parameter "OD" to desired value.
EndOfRule
#
#Name of Rule#
Thickness
#Type of Rule (Hard/Soft)#
Hard
#Value (default value to be shown)#
1.00
#Design Guidelines which should be followed (this is displayed for this rule)#
RANGE: 1/2" to 2"
MINIMUM THICKNESS = P*R/(S*E-0.6*P)
NomThk = 1/8" + MINIMUM THICKNESS(or 1/2" MIN).
Modify Dimension "SHELL_THK" in the shell part to the desired value.
#Indicates end of this rule definition #
EndOfRule
#
相应的 RuleCHECK 报告会显示软规则和硬规则的名称。如果是硬规则,选择名称以查看说明及规则状况。可编辑状况。