Quick Design Section Properties
The Quick Design Section Properties library has been developed to standardize the creation of custom steel cross-sections in quick design calculations. These functions take the dimensions of a custom section and return a section object with commonly used section properties. The section object mimics the format of a section pulled from the SkyCiv database using the await Database.getSection() function. The sample return format is outlined below.
NOTE: All section properties are taken with respect to the global Z and Y axis. This axis is equivalent to the principal axis for all shapes other than angle sections. These functions do not produce results relative to the principal axes for angle sections.
Additional results are returned for some shapes and regions:
| Result | Returned when |
|---|---|
alpha, D1 | I sections with region = "EN" (torsion constant coefficients) |
alpha_3, D3 | Angle sections (including FEA) with region = "EN" (torsion constant coefficients) |
Iy, Iz, Zy_*, Zz_*, Sy, Sz, r0p, PNAyp, PNAzp, beta_*, A_*, B_*, C_* | AngleSectionPropertiesFEA only (see below) |
NOTE: shear_center is always an array and is never rounded. See Rounding for how all other values are rounded.
Installation#
The section props library is available in quick design calculations as a global. Access it as follows:
Supported Sections#
- I Sections
- T Sections
- Channel Sections
- Angle Sections
- Rectangular Hollow Sections
- Circular Hollow Sections
- Hat Sections
- Solid Rectangular Sections
- Solid Circular Sections
Region Option#
Some shapes properties are calculated differently in different design codes. The region option is used to control which code is adopted. Supported regions are outlined below. AS is the default region for all shapes.
| Code | Standard |
|---|---|
AS | AS 4100 |
EN | EN 1993-1-1 |
US | AISC 360 |
CA | CSA S16 |
ADM | Aluminum Design Manual |
Region support varies by shape. An unrecognised region falls back to the AS values.
| Shape | Regions with specific calculations |
|---|---|
| I Sections | US, CA, EN, ADM |
| T Sections | US, CA, EN |
| Channel Sections | US, CA, EN, ADM |
| Angle Sections | EN |
| Rectangular Hollow Sections | US, CA, EN, ADM |
| Circular Hollow Sections | EN, ADM |
| Hat, Solid Rectangular and Solid Circular Sections | None (no region option) |
Rounding#
Every function takes an optional last parameter, decimals, which controls how results are rounded. Arrays (e.g. shear_center) are not rounded.
decimals | Behaviour |
|---|---|
'auto' (default) | Values below 0.01 are not rounded, values below 0.05 are rounded to 6 decimal places, all other values are rounded to 2 decimal places. The magnitude is used for negative values. |
| number | Round to that many decimal places (e.g. 4). |
null or false | No rounding, full precision results are returned. |
Functions#
ISectionProperties(d, b, t_f, t_w, r, region, decimals)#
Calculates the section properties for a custom I section.
| Parameter | Type | Description |
|---|---|---|
d | number | Total section depth |
b | number | Total flange width |
t_f | number | Section flange thickness |
t_w | number | Section web thickness |
r | number | Fillet radius (Default r = 0) |
region | string | Design code region (Default is AS = AS 4100) |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: object - Object containing section properties.
Example Code#
In the calculate.js (or util) file.
TSectionProperties(d, b, t_f, t_w, r, region, decimals)#
Calculates the section properties for a custom T section.
| Parameter | Type | Description |
|---|---|---|
d | number | Total section depth |
b | number | Total flange width |
t_f | number | Section flange thickness |
t_w | number | Section web thickness |
r | number | Fillet radius (Default r = 0) |
region | string | Design code region (Default is AS = AS 4100) |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: object - Object containing section properties.
Example Code#
In the calculate.js (or util) file.
PFCSectionProperties(d, b, t_f, t_w, r, region, decimals)#
Calculates the section properties for a custom Channel section.
| Parameter | Type | Description |
|---|---|---|
d | number | Total section depth |
b | number | Total flange width |
t_f | number | Section flange thickness |
t_w | number | Section web thickness |
r | number | Fillet radius (Default r = 0) |
region | string | Design code region (Default is AS = AS 4100) |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: object - Object containing section properties.
Example Code#
In the calculate.js (or util) file.
AngleSectionProperties(d, b, t_f, t_w, r, region, decimals)#
Calculates the section properties for a custom Angle section.
NOTE: All section properties are taken with respect to the global Z and Y axis. The principal axes for an angle section are generally not equivalent to the global Z and Y axis, meaning the function results for angle sections are not about the principal axes. Use AngleSectionPropertiesFEA (below) for principal axis results.
| Parameter | Type | Description |
|---|---|---|
d | number | Vertical leg length |
b | number | Horizontal leg length |
t_f | number | Horizontal leg thickness |
t_w | number | Vertical leg thickness |
r | number | Fillet radius (Default r = 0) |
region | string | Design code region (Default is AS = AS 4100) |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: object - Object containing section properties.
Example Code#
In the calculate.js (or util) file.
RHSSectionProperties(d, b, t_f, t_w, r, region, fabrication, decimals)#
Calculates the section properties for a custom Rectangular Hollow Section.
| Parameter | Type | Description |
|---|---|---|
d | number | Total section height |
b | number | Total section width |
t_f | number | Horizontal (top) wall thickness |
t_w | number | Vertical (side) wall thickness |
r | number | Fillet radius (Default r = 0) |
region | string | Design code region (Default is AS = AS 4100) |
fabrication | string | 'CF' (cold formed) or 'HF' (hot finished). Sets the outer corner radius from r and the wall thicknesses. Any other value ignores r (square corners). Default is 'CF' |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: object - Object containing section properties.
Example Code#
In the calculate.js (or util) file.
CHSSectionProperties(d, t_f, region, decimals)#
Calculates the section properties for a custom Circular Hollow Section.
| Parameter | Type | Description |
|---|---|---|
d | number | Outer diameter |
t_f | number | Wall thickness |
region | string | Design code region (Default is AS = AS 4100) |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: object - Object containing section properties.
Example Code#
In the calculate.js (or util) file.
HatSectionProperties(d, b_1, b_2, t_f, decimals)#
Calculates the section properties for a custom Hat section.
| Parameter | Type | Description |
|---|---|---|
d | number | Total depth of section |
b_1 | number | Top flange width |
b_2 | number | Btm leg width |
t_f | number | Thickness of section |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: object - Object containing section properties. Note, this function does not currently calculate J or Iw values for a hat section.
Example Code#
In the calculate.js (or util) file.
SolidRectangleProperties(d, b, decimals)#
Calculates the section properties for a custom Solid Rectangle section.
| Parameter | Type | Description |
|---|---|---|
d | number | Total depth of section |
b | number | Top width of section |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: object - Object containing section properties.
Example Code#
In the calculate.js (or util) file.
SolidCircleProperties(b, decimals)#
Calculates the section properties for a custom Solid Circle section.
| Parameter | Type | Description |
|---|---|---|
b | number | Outer diameter of section |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: object - Object containing section properties.
Example Code#
In the calculate.js (or util) file.
AngleSectionPropertiesFEA(d, b, t, r, t_r, region, rerun_count, decimals)#
Calculates the section properties for an Angle section using a finite element analysis (Python), including principal axis properties and shear centre. This function is asynchronous and returns a Promise.
| Parameter | Type | Description |
|---|---|---|
d | number | Vertical leg length |
b | number | Horizontal leg length |
t | number | Leg thickness (both legs are assumed equal) |
r | number | Fillet radius (Default r = 0) |
t_r | number | Toe radius (Default t_r = 0) |
region | string | Design code region (Default is AS = AS 4100). AS and EN calculate the torsion constant analytically, other regions use the FEA torsion and warping constants |
rerun_count | number | Internal retry counter, do not set (Default is 0) |
decimals | number | null | string | Rounding option (Default is 'auto', see Rounding) |
Returns: Promise<object> - Resolves to an object containing section properties.
In addition to the standard results, this function returns:
Alpha: angle of the principal axes (andAlpha_phi, the raw FEA angle)Iy,Iz: moments of inertia about the global axesZy_top,Zy_btm,Zz_top,Zz_btm,Sy,Sz: elastic and plastic moduli about the global axesPNAyp,PNAzp,r0p,shear_center_p: principal plastic neutral axis, polar radius of gyration and shear centrebeta_*: monosymmetry constants (beta_y_plus,beta_z_minus,beta_yp_plus, etc.)A_*,B_*,C_*: distances to, and elastic moduli at, the three corner points of the angle
NOTE: Requires Python and the angle FEA scripts to be available on the server. Results are cached on disk by d, b, t and r.
Example Code#
In the calculate.js (or util) file.