SimcenterKnowledge

Margin of safety > Custom methods

Creating tables and groups

Attributes and elements are available for you to do the following:

  • Create tables of input parameters

  • Create groups of input parameters and tables

Example

Suppose that you want to create a custom method to evaluate the margin of safety for the bolted connection shown in the figure. If the bolts are located halfway through the depth of the horizontal member, and the leftmost bolt is located at a fixed distance from the end of the horizontal member, you must obtain the following data:

  • Number of bolts

  • Bolt diameters

  • Bolt proof strengths

  • Bolt spacing

The following code from the XML file for the custom method creates a group called Bolts in the Calculation Creation dialog box for the method, and the following data entry provisions within the Bolts group:

  • Provides a parameter input for the number of bolts.

  • Provides a table input for the bolt diameters.The size of this table equals the number of bolts.

  • Provides a table input for the proof strengths.The size of this table equals the number of bolts.

  • Provides a table input for the bolt spacing.The size of this table equals the number of bolts minus one.

<input>    <group id="Bolts">        <parameter            id="BCount"            uiname="Number of Bolts"            type="size"/>        <table id="BDIMTable" uiname="Bolt Diameters" sizeParameter="BCount">            <column                id="BDims"                uiname="Bolt Diameters"                type="scalar"                measure="Length"/>        </table>        <table id="BPROOFTable" uiname="Bolt Proof Strengths" sizeParameter="BCount">            <column                id="BProofs"                uiname="Proof Strengths"                type="scalar"                measure="Stress"/>        </table>        <table id="BDISTable" uiname="Spacing between Bolts" sizeParameter="BCount" sizeOffset="-1">            <column                id="BDists"                uiname="Bolt Spacing"                type="scalar"                measure="Length"/>        </table>    </group></input>

The resulting Calculation Creation dialog box is shown in the following figure.

Learn more

Custom methods

Custom method example

Interfacing with external files

Diagrams for custom methods

Specifying default values for parameters

Bulk processing of calculations

Interfacing with external post-processors

Look up more details

Elements and attributes of XML files

Quick links

Command reference

Pre/Post video examples

Bulk Entry Descriptions

Simcenter 3D tutorials

Browse Simcenter 3D help by product area

Margin of Safety methods documentation

Creating tables and groups, Simcenter 3D 2021.1 Series

© 2020 Siemens

window.mainLanguage="en_US"

window.delivId=""

window.projectId=""

MathJax.Hub.Config({ TeX: { extensions: ["autoload-all.js"] }, tex2jax: { displayMath: [ ] }, "SVG": { scale: 125 } });

Source: https://docs.sw.siemens.com/en-US/doc/289054037/PL20200601120302950.advanced/xid1624177 · retrieved 2026-07-17