Exemplo: Usando o RuleCHECK
O exemplo a seguir mostra como RuleCHECK pode ser usado para ajudá-lo a projetar uma unidade de shell para um recipiente de pressão.
O arquivo shell.rule contém as regras a seguir:
• Comprimento — Flexível
• Diâmetro — Flexível
• Espessura— Fixo
E o arquivo têm a seguinte aparência:
# 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
#
O relatório RuleCHECK correspondente mostra os nomes das regras flexíveis e fixas. Selecione um nome para ver a descrição e o status da regra se a regra for fixa. É possível editar o status.