Bentley Communities
Bentley Communities
  • Site
  • User
  • Site
  • Search
  • User
  • Welcome
  • Products
  • Support
  • About
  • More
  • Cancel
OpenPlant | AutoPLANT
  • Product Communities
  • More
OpenPlant | AutoPLANT
OpenPlant | AutoPLANT Wiki How are Bolt Lengths Calculated in OpenPlant Modeler
    • Sign in
    • -OpenPlant | AutoPLANT Wiki
      • -OpenPlant
        • +CONNECT Services - OpenPlant
        • +Example Configuration - CONNECT Edition
        • +Installations - OpenPlant CONNECT Edition Applications
        • +OpenPlant Download Links & Videos
        • OpenPlant Product Compatibility
        • +OpenPlant Modeler CONNECT
        • +OpenPlant PID CONNECT
        • +OpenPlant Isometrics Manager CONNECT
        • +OpenPlant Orthographics Manager CONNECT
        • +OpenPlant Support Engineering CONNECT
        • +OpenPlant Project Administrator CONNECT
        • +OpenPlant CONNECT Edition-PlantSight Integration
        • -OpenPlant Modeler v8i
          • -Component - OpenPlant Modeler
            • Add or Remove Fields from Spec Selection Dialog
            • Delete/Replace the Flange Assembly in OpenPlant Modeler
            • -How are Bolt Lengths Calculated in OpenPlant Modeler
              • Cannot Update Calculated Bolt Lengths in Description Field
              • To Place Fasteners and Flanges of Same Ratings in OpenPlant Modeler
              • To Query Correct set of Bolts on LUG END Type Joint in OpenPlant Modeler
              • To Query Correct set of Bolts on Wafer LUG END Type Joint in OpenPlant Modeler
              • To Select Set of Bolt Length in Spec Grid After Calculation in OpenPlant Modeler
              • To Show All Bolt Records in SpecGrid
            • How to Add Component as a Tool in Piping Task
            • How To Add Custom Valves in Schema
            • How to Auto-Place Victaulic coupling on pipe to pipe connection
            • How to Calculate the Property Value With Help of EC Expression
            • +How to Cascade Properties from Pipeline to Associated Supports
            • How to Change the graphics of Pipe Union from Hexagonal to Circular
            • How to Change the Precision Level of Dimensions on Components
            • How to Change Weld Size in OpenPlant Modeler
            • How to Configure OpenPlant to Allow Flange Connection with Different Facings
            • How to Copy Components from One Model to Another Model in Standalone Mode
            • How to Create a Steam Trap Component in OpenPlant Modeler
            • How to Create Custom BW Valves with Nipples in OpenPlant Modeler
            • How to Create Custom Component's Tool Button in OpenPlant Modeler Task Panel
            • How to Create Custom Components from Cell
            • How to Create Four Ports Component with Different Sizes in OpenPlant Modeler
            • How to Create Multiport Custom Valve
            • How to Create NipoFlange in OpenPlant Modeler
            • How To Create PDF using Dynamic Views with Bookmark.
            • How to Create Search Criteria to Include Properties from Fluid Port in OpenPlant Modeler
            • How to Create Welding Boss Component in OpenPlant Modeler
            • How to Differentiate Between Multiple Records for Topworks in Spec.
            • How to Display Referenced Pipelines in Pipeline Manager Dialog
            • How to Fix Disconnects by Picking Seal and Fastener from Spec Grid
            • How to Generate Equipment Tag Name With & Without Null Value in OpenPlant Modeler
            • How to Get Inside Diameter Calculated in OpenPlant Modeler
            • +How to Map Spec Data for Double Type Property in OpenPlant Modeler
            • How to Map Spec Table for Placement of Missing Component
            • How to Modify Hand Wheel Stem Thickness
            • How to Modify Support Tag by Including Unit, Service and LineNumber Properties
            • How to Move Components to a Different Pipeline
            • How To Pick Nozzle Length From Spec Database in OpenPlant Modeler
            • How to Place a Spec driven welded Spool Piece in OpenPlant Modeler
            • How to Place an Isometric Break Point in OpenPlant Modeler
            • How to Place Components by Actual Pipe Size Instead of Nominal Diameter
            • How to Place Flexible Hose with Flanged Ends
            • How to Place Multiple Welds in Straight Piece of Pipe at Equal Distance
            • How to Place Three Way Control Valve in OpenPlant Modeler
            • How to Place Various Types of Flanges Automatically for Component Assembly in OpenPlant Modeler
            • How to Place Wafer Check Valve in OpenPlant
            • How to Reorder Iso Sheet Numbering Using Pipeline Start Note in OpenPlant Modeler
            • How To Set Inlet-Outlet Ratings on Relief Valve
            • How to Set the Order of the Properties in Spec Selection Grid
            • How To Show Active Model File Name to Piping Components in OpenPlant Modeler
            • How to Show Weld Symbol on Threaded Joint
            • How to Show/Hide Bolts and Gaskets in OpenPlant Modeler
            • How to Turn on Centerline Visibility of Pipelines
            • How to Update Graphics & Property When Spec Value Change
            • How to update graphics of custom equipment in OpenPlant Modeler
            • How to use Different Facing Instead of Default Raised/Flat Face Facings
            • How to use Existing Class as Custom Component
            • Issue with placement of Isometric Break Point on Mating Flange Assembly in OpenPlant Modeler
            • Not able to place 90 Degree Long/Short Radius reducing elbows
            • Nozzle Manager Overview
            • Olet\Tee Doesn't Place Automatically on Small Piece of Header Pipe
            • Piping Components Not Fetching Facing Value From Spec
            • Rating Value Map Issue in OpenPlant Modeler
            • To Add Custom Cell for Supports in OpenPlant Modeler
            • To Apply Slopes on Pipe with a Socket Weld Type Fittings
            • To Assign Shop-Field Value to Components Present in OpenPlant Modeler
            • To Cascade Pipeline Property Value to Fasteners
            • To Create Elbow Fitting with Clamp Length in OpenPlant Modeler
            • +To Define Spool ID start point in OpenPlant Modeler
            • To Fix Welds on Olets in OpenPlant Modeler
            • +To Not Include Gasket as a Joint for Flanged Components in OpenPlant Modeler
            • To Place an Elbow with Trimmed Angle using Intelligent Line Manager
            • To Place Eccentric Reducer with AutoFitting
            • To Place Tap Port on Blind Flange in OpenPlant Modeler
            • To Query the Mating Components Based on Auto-Match
            • To Remove Plant Area Property from Tag of Gauge Class
            • To show Isolation Gasket in Isometrics generated from i-models created from OpenPlant Modeler
          • +Drawing Generation- OpenPlant Modeler
          • +Errors, Logs, Messages, Crashes - OpenPlant Modeler
          • +Import/Export- OpenPlant Modeler
          • +Installation - OpenPlant Modeler
          • OpenPlant HVAC-OpenPlant Modeler
          • OpenPlant Modeler [FAQ]
          • +OpenPlant Specification Generator
          • +ProjectWise - OpenPlant Modeler
          • +Properties - OpenPlant Modeler
          • +Release Notes - OpenPlant Modeler
          • +Schema - OpenPlant Modeler
          • +Settings/Attributes - OpenPlant Modeler
          • +Structural Modeling Components (SMC)- OpenPlant Modeler
          • +Tasks - OpenPlant Modeler
          • +Training - OpenPlant Modeler
        • +OpenPlant Isometrics Manager v8i
        • +OpenPlant Project Administrator v8i
        • +OpenPlant PID v8i
        • +OpenPlant Orthographics Manager v8i
        • +OpenPlant Support Engineering v8i
        • +OpenPlant ModelServer v8i
        • +OpenPlant Reporting v8i
        • How to Connect with Bentley Technical Support Team using Microsoft Teams
        • How to Connect with Bentley Technical Support Team using Microsoft Teams via Browser
        • How to get list of installed applications/programs on Windows Machine using Command Prompt.
        • How to get list of Windows Updates installed on the machine using Command Prompt.
      • +Bentley AutoPLANT
      • +Bentley Navigator
      • +Bentley PlantSpace
      • +Plant Project Tools
      • +Bentley Raceway and Cable Management
      • i-model Composition Service for S3D
      • Working from home with OpenPlant
      • Working from home with Bentley Raceway and Cable Management
      • Working from home with AutoPLANT Modeler
      • Your Feedback is important to us!

     
     Questions about this article, topic, or product? Click here. 

    How are Bolt Lengths Calculated in OpenPlant Modeler

    Applies To 
    Product(s): OpenPlant Modeler
    Version(s): 08.11.09.XXX (SS5) | 08.11.11.XXX (SS6)
    Environment:  Windows 7/8.1/10 (64 bit)
    Area:  Component
    Subarea:  Data
    Original Author: Rahul Kumar, Bentley Product Advantage Group

     

    Bolt Lengths Calculation in OpenPlant Modeler has been described below with Various cases.

    Background

    Bolts:

    The Bolt selection mechanism does not select an individual bolt by the size (diameter) of bolt required but rather it will select the predefined “set” sized for a standard bolting of each facing, rating and size. In OpenPlant Modeler, two basic types of bolt has been classified, such as Machine Bolts and Stud Bolts which further has been categorized under BOLT/STUD BOLT class and significantly using its properties like BOLT_LEN, NUT_LENGTH, BOLT_INC, BOLT_XCESS etc. This set is read from the spec and all properties including bolt diameter and number required are read from the spec unaltered.  The length of the bolts in Open Plant Modeler is typically calculated as described below.

    Controlling Through Variable
    A configuration variable (set for each workspace) will toggle if the calculated length is included in the query. This variable is OPM_QUERY_BOLTS_WITH_IGNORE_LENGTH = (0 or 1)

    The default value is “0” meaning all bolt spec queries will first try to find the correct value for bolt length in the BOLT_LENGTH column of the spec. If no records are found then the length is removed and the first record found is used. 

    Setting this variable to “1” will prevent OpenPlant from querying on length. E.g. if we set the variable to ‘1’ here, it takes BOLT_LEN= 88.9 MM only. See explanations in the sample calculation provided below.

     

    Bolt Length Calculation:

    Length calculated by OPM is dependent on type of bolts and connection. These can be divided in to three main groups:

    • Wafer Connection
      •  Machined Bolts
      •  Stud Bolts
    • Lap Joint Stub End Flange Connection
      •  Machined Bolts
      •  Stud Bolts
    • General Flange Connection
      • Machined Bolts
      •  Stud Bolts

    Wafer Connection:


    Machine Bolt has a hexagon head and one threaded end with nut and excess.  The Head is not part of the length of a Machine bolt.

    For these bolts we have the code logic, so a general formula for machined bolt’s length:

    Machine Bolt_Length = COMP_LEN + [(Gasket_Thickness) x 2] + [(Flange_Thickness) x 2] + Nut_length + BOLT_XCESS


    Stud Bolt
    has threads both ends, nuts both ends and excess both ends. So a general formula for stud bolt’s length:

    Stud Bolt_Length = COMP_LEN + [(Gasket_Thickness) x 2] + [(Flange_Thickness) x 2] + [(Nut_length) x 2] + [(BOLT_XCESS) x 2] 

    COMP_LEN here is the length of wafer assembly. See image above for clarification:

    Lap Joint Stub End Flange Connection:

    Machine Bolt has a hexagon head and one threaded end with nut and excess.  The Head is not part of the length of a Machine bolt.

    So a general formula for machined bolt’s length:

    Machine Bolt_Length = (Gasket_Thickness) + [(Flange_Thickness) x 2] + [(STUB_THK) x 2] + Nut_length + BOLT_XCESS

     

    Stud Bolt has threads both ends, nuts both ends and excess both ends. So a general formula for stud bolt’s length:

    Stud Bolt_Length = (Gasket_Thickness) + [(Flange_Thickness) x 2] + [(STUB_THK) x 2] + [(Nut_length) x 2] + [(BOLT_XCESS) x 2]

    General Flange Connection:

    Machine Bolt has a hexagon head and one threaded end with nut and excess.  The Head is not part of the length of a Machine bolt.

    So a general formula for machined bolt’s length:

    Machine Bolt_Length = (Gasket_Thickness) + [(Flange_Thickness) x 2] + Nut_length + BOLT_XCESS

     

    Stud Bolt has threads both ends, nuts both ends and excess both ends. So a general formula for stud bolt’s length:

    Stud Bolt_Length = (Gasket_Thickness) + [(Flange_Thickness) x 2] + [(Nut_length) x 2] + [(BOLT_XCESS) x 2]

    Let's Take an Exercise For Each Case Mentioned Above

    For Wafer Type Connection:

    For Machine Bolt length Calculation:

    Pipe Size = DN 100

    Spec = mA1-OPM

    Flange THK = 23.9 MM

    Gasket- 3.2 MM

    Nutlength/NUT_LEN = 14.3 MM

    COMP_LEN = 55.6 MM

    Bolt_EXCESS/ Bolt extension length = 7.1 MM

    BOLT_LEN= 76.2 MM (As you can see Bolt_D_X_L = 3“length)

    Using equation, Machine Bolt_Length   = COMP_LEN + [(Gasket_Thickness) x 2] + [(Flange_Thickness) x 2] + Nut_length + BOLT_XCESS

                                                             = 55.6+ (3.2 X2) + (23.9x2) +14.3 + 7.1

                                                             = 131.2 MM

    Manual calculated length = 131.2 MM, as in OpenPlant Modeler dimension.


    Role of BOLT_INC

    As described above, it should get added to BOLT_LEN 9 times to surpass the above calculated value 131.2 MM.

    Here it should be BOLT_LEN+ BOLT_INC = 76.2 + (6.4x9) = 133.8 MM.

    See Bolt Length shown below in element info,


    In Spec: 76.2mm




    For Stud Bolt length Calculation:

    Similar procedure like explained above for Machine bolt, will be applicable for Stud Bolt using the formula,

    Stud Bolt_Length = COMP_LEN + [(Gasket_Thickness) x 2] + [(Flange_Thickness) x 2] + [(Nut_length) x 2] + [(BOLT_XCESS) x 2] 

    Using Stud bolt, calculated length in this case      = 55.6 + (3.2x2) + (23.9x2) + (14.3x2) + (7.1x2)

                                            = 152.6 MM


    As per record shown above, the Length is 88.9 MM < 152.6MM. Hence BOLT_INC need to be added. 

    Hence, 88.9 + (6.4 x 10) = 152.9 MM. See element info for reference.


     

    Using Variable:

    By Setting the variable OPM_QUERY_BOLTS_WITH_IGNORE_LENGTH = 1, It ignores the calculation shown above for Stud Bolts and consider the value as per record i.e. 88.9MM as a final one. See image below for same set of bolts.

     

    For Lap Joint Stub End Flange Connection:

    For Machine Bolt length Calculation:

    Pipe Size = DN 100,

    Spec = mEx-OPM,

    Flange THK = 23.9 MM,

    Gasket- 15.9 MM,

    Nutlength/NUT_LEN = 14.3 MM,

    STUB_THK = 6 MM,

    Bolt_EXCESS/ Bolt extension length = 7.1 MM,

    BOLT_LEN= 76.2 MM (As you can see Bolt_D_X_L = 3“length),

    Using equation, Machine Bolt_Length   = (Gasket_Thickness) + [(Flange_Thickness) x 2] + [(STUB_THK) x 2] + Nut_length + BOLT_XCESS             

    = 15.9+ (23.9x2) + (6x2) + 14.3 + 7.1

                                                                      =   97.1 MM

    Manual calculated length,                     = 97.1 MM, as in OpenPlant Modeler dimension.

    Role of BOLT_INC

    As described above, it should get added to BOLT_LEN 4 times to surpass the above calculated value 97.1 MM.

    Here it should be BOLT_LEN+ BOLT_INC = 76.2 + 6.4+6.4+6.4+6.4 = 101.8 MM, 

    See Bolt Length shown below in element info,   = 101.8 MM


    In Spec: 76.2 MM


    For Stud Bolt length Calculation:

    Similar procedure like explained above for Machine bolt, will be applicable for Stud Bolt using the formula,

    Stud Bolt_Length = (Gasket_Thickness) + [(Flange_Thickness) x 2] + [(STUB_THK) x 2] + [(Nut_length) x 2] + [(BOLT_XCESS) x 2]

    Using Stud bolt, calculated length in this case      = 15.9 + (23.9x2) + (6x2) + (14.3x2) + (7.1x2)

                                                                             = 118.5 MM


    As per record shown above, the Length is 88.9 MM < 118.5MM. Hence BOLT_INC need to be added.

    Hence, 88.9 + (6.4 x 5) = 120.9 MM. See element info for reference.


    Using Variable:

    By Setting the variable OPM_QUERY_BOLTS_WITH_IGNORE_LENGTH = 1, It ignores the calculation shown above for Machine Bolts and consider the value as per record i.e. 76.2 MM as a final one. See image below for same set of bolts.

     

    For General Flange Connection:

    For Machine Bolt length Calculation:

    Pipe Size = DN 200,

    Spec = mEx-OPM,

    Flange THK = 28.4 mm,

    Gasket- 15.9 MM,

    Nutlength/NUT_LEN = 15.9 MM,

    Bolt_EXCESS/ Bolt extension length = 7.9 MM,

    BOLT_LEN= 88.9 MM (As you can see Bolt_D_X_L = 3 ½ “length),

    Using equation, Machine Bolt_Length = (Gasket_Thickness) + [(Flange_Thickness) x 2] + Nut_length + BOLT_XCESS

                  =   15.9+ (28.4X2) +15.9+7.9

                  =   96.5 MM

            Manually calculated length                 = 96.5 MM, as in OpenPlant Modeler dimension.


    Role of BOLT_INC


    If no Bolt of current length is found after processing all the records, then we use the increment value (BOLT_INC) of the last record to calculate correct length.

    Here it should be BOLT_LEN+ BOLT_INC = 88.9 + 6.4 = 95.3 MM, which is still less than the computed value 96.5 MM,
    => it again adds BOLT_INC value, i.e. 95.3+6.4 = 101.7 MM

    Element Info Shows: 101.7 MM, see image below:


    In Spec: 88.9 MM

    For Stud Bolt length Calculation:

    Similar procedure like explained above for Machine bolt, will be applicable for Stud Bolt using the formula,

    Stud Bolt_Length = (Gasket_Thickness) + [(Flange_Thickness) x 2] + [(Nut_length) x 2] + [(BOLT_XCESS) x 2]

    Using Stud bolt, calculated length in this case,    = 15.9 + (28.4x2) + (19.05x2) + (9.525x2)

                                                                   = 129.85 MM


    As per record the Length is 139.7 MM which is greater than the calculated value 129.85 mm. Hence no BOLT_INC required and final length would be 139.7 MM. See image below.


    Using Variable:

    By Setting the variable OPM_QUERY_BOLTS_WITH_IGNORE_LENGTH = 1, It ignores the calculation shown above for Machine Bolts and consider the value as per record i.e. 88.9 MM as a final one. See image below for same set of bolts.

    To fix issue with bolts not being picked from spec

    Sometimes bolt records exist in the spec but still they are not placed with gasket after joint is created. This could be related to the missing values for some key fields like BOLT_INC, BOLT_XCESS in BOLT table as shown below.

    See Also

    http://communities.bentley.com/products/plant/design___engineering/w/plant_design_and_engineering__wiki/15368.cannot-update-calculated-bolt-lengths-in-description-field

    Comments or Corrections?

    Bentley's Product Advantage Group requests that you please confine any comments you have on this Wiki entry to this "Comments or Corrections?" section. THANK YOU!

    • bolts
    • OpenPlant Modeler
    • BOLT_INC
    • BOLT_LEN
    • data
    • Bolt Length
    • Calculation
    • Component
    • how to
    • BOLT_EXCESS
    • SELECTsupport
    • Share
    • History
    • More
    • Cancel
    • Rahul Kumar Created by Bentley Colleague Rahul Kumar
    • When: Wed, Jun 4 2014 8:29 AM
    • Harpreet Singh Last revision by Bentley Colleague Harpreet Singh
    • When: Tue, Jan 31 2017 2:32 AM
    • Revisions: 9
    • Comments: 0
    Recommended
    Related
    Communities
    • Home
    • Getting Started
    • Community Central
    • Products
    • Support
    • Secure File Upload
    • Feedback
    Support and Services
    • Home
    • Product Support
    • Downloads
    • Subscription Services Portal
    Training and Learning
    • Home
    • About Bentley Institute
    • My Learning History
    • Reference Books
    Social Media
    •    LinkedIn
    •    Facebook
    •    Twitter
    •    YouTube
    •    RSS Feed
    •    Email

    © 2021 Bentley Systems, Incorporated  |  Contact Us  |  Privacy |  Terms of Use  |  Cookies