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.

var sect = {
"shape": "ibeam",
"region": // Design code region used (set by I, T, PFC, Angle, RHS and CHS functions)
"dimensions": {
"BFt":
"BFw":
"TFt":
"TFw":
"Wt":
"h":
"r":
},
"results": {
"A": //Gross section area
"Cy": //Centroid taken from the bottom of section
"Cz": //Centroid taken from the left side of section
"Iyp": //Moment of Inertia about Y axis
"Izp": //Moment of Inertia about Z axis
"ry": //Radius of Gyration about Y axis
"rz": //Radius of Gyration about Z axis
"ryp": //Radius of Gyration about Y axis (same as ry, as axes are principal)
"rzp": //Radius of Gyration about Z axis (same as rz, as axes are principal)
"shear_area_y": //Shear area in Y direction (Not available for hat, angle or solid sections)
"shear_area_z": //Shear area in Z direction (Not available for hat, angle or solid sections)
"r0": //Polar Radius of Gyration (Not available for hat or angle sections)
"shear_center": [Z, Y] //Distance from shear centre to centroid in Z axis (first value) and Y axis (second value) (Not available for hat or angle sections)
"Qy": //First/static Moment of area about Y axis (Not available for hat sections)
"Qz": //First/static Moment of area about Z axis (Not available for hat sections)
"Zyp_top": //Elastic section modulus about Y axis (centroid is taken from right side of section)
"Zyp_btm": //Elastic section modulus about Y axis (centroid is taken from left side of section)
"Zzp_top": //Elastic section modulus when about Z axis (centroid is taken from top of section)
"Zzp_btm": //Elastic section modulus when about Z axis (centroid is taken from btm of section)
"PNAy": //Plastic neutral axis location taken from btm side of section
"PNAz": //Plastic neutral axis location taken from left side of section
"Syp": //Plastic section modulus about Y axis
"Szp": //Plastic section modulus about Z axis
"J": //Torsion constant (Not available for hat sections)
"Iw": //Warping constant (Not available for hat sections)
"Alpha": //Angle of the principal axes (0 for all shapes other than FEA angle sections)
}
}

Additional results are returned for some shapes and regions:

ResultReturned when
alpha, D1I sections with region = "EN" (torsion constant coefficients)
alpha_3, D3Angle 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:

const sectionProps = SectionProps;

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.

CodeStandard
ASAS 4100
ENEN 1993-1-1
USAISC 360
CACSA S16
ADMAluminum Design Manual

Region support varies by shape. An unrecognised region falls back to the AS values.

ShapeRegions with specific calculations
I SectionsUS, CA, EN, ADM
T SectionsUS, CA, EN
Channel SectionsUS, CA, EN, ADM
Angle SectionsEN
Rectangular Hollow SectionsUS, CA, EN, ADM
Circular Hollow SectionsEN, ADM
Hat, Solid Rectangular and Solid Circular SectionsNone (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.

decimalsBehaviour
'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.
numberRound to that many decimal places (e.g. 4).
null or falseNo rounding, full precision results are returned.
// Full precision results
let sect = sectionProps.ISectionProperties(d_input, b_input, t_f_input, t_w_input, r_input, "AS", null);

Functions#

ISectionProperties(d, b, t_f, t_w, r, region, decimals)#

Calculates the section properties for a custom I section.

ParameterTypeDescription
dnumberTotal section depth
bnumberTotal flange width
t_fnumberSection flange thickness
t_wnumberSection web thickness
rnumberFillet radius (Default r = 0)
regionstringDesign code region (Default is AS = AS 4100)
decimalsnumber | null | stringRounding option (Default is 'auto', see Rounding)

Returns: object - Object containing section properties.

Example Code#

In the calculate.js (or util) file.

const sectionProps = SectionProps;
let sect = sectionProps.ISectionProperties(d_input, b_input, t_f_input, t_w_input, r_input, "AS");

TSectionProperties(d, b, t_f, t_w, r, region, decimals)#

Calculates the section properties for a custom T section.

ParameterTypeDescription
dnumberTotal section depth
bnumberTotal flange width
t_fnumberSection flange thickness
t_wnumberSection web thickness
rnumberFillet radius (Default r = 0)
regionstringDesign code region (Default is AS = AS 4100)
decimalsnumber | null | stringRounding option (Default is 'auto', see Rounding)

Returns: object - Object containing section properties.

Example Code#

In the calculate.js (or util) file.

const sectionProps = SectionProps;
let sect = sectionProps.TSectionProperties(d_input, b_input, t_f_input, t_w_input, r_input, "AS");

PFCSectionProperties(d, b, t_f, t_w, r, region, decimals)#

Calculates the section properties for a custom Channel section.

ParameterTypeDescription
dnumberTotal section depth
bnumberTotal flange width
t_fnumberSection flange thickness
t_wnumberSection web thickness
rnumberFillet radius (Default r = 0)
regionstringDesign code region (Default is AS = AS 4100)
decimalsnumber | null | stringRounding option (Default is 'auto', see Rounding)

Returns: object - Object containing section properties.

Example Code#

In the calculate.js (or util) file.

const sectionProps = SectionProps;
let sect = sectionProps.PFCSectionProperties(d_input, b_input, t_f_input, t_w_input, r_input, "AS");

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.

ParameterTypeDescription
dnumberVertical leg length
bnumberHorizontal leg length
t_fnumberHorizontal leg thickness
t_wnumberVertical leg thickness
rnumberFillet radius (Default r = 0)
regionstringDesign code region (Default is AS = AS 4100)
decimalsnumber | null | stringRounding option (Default is 'auto', see Rounding)

Returns: object - Object containing section properties.

Example Code#

In the calculate.js (or util) file.

const sectionProps = SectionProps;
let sect = sectionProps.AngleSectionProperties(d_input, b_input, t_f_input, t_w_input, r_input, "AS");

RHSSectionProperties(d, b, t_f, t_w, r, region, fabrication, decimals)#

Calculates the section properties for a custom Rectangular Hollow Section.

ParameterTypeDescription
dnumberTotal section height
bnumberTotal section width
t_fnumberHorizontal (top) wall thickness
t_wnumberVertical (side) wall thickness
rnumberFillet radius (Default r = 0)
regionstringDesign code region (Default is AS = AS 4100)
fabricationstring'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'
decimalsnumber | null | stringRounding option (Default is 'auto', see Rounding)

Returns: object - Object containing section properties.

Example Code#

In the calculate.js (or util) file.

const sectionProps = SectionProps;
let sect = sectionProps.RHSSectionProperties(d_input, b_input, t_f_input, t_w_input, r_input, "AS", "CF");

CHSSectionProperties(d, t_f, region, decimals)#

Calculates the section properties for a custom Circular Hollow Section.

ParameterTypeDescription
dnumberOuter diameter
t_fnumberWall thickness
regionstringDesign code region (Default is AS = AS 4100)
decimalsnumber | null | stringRounding option (Default is 'auto', see Rounding)

Returns: object - Object containing section properties.

Example Code#

In the calculate.js (or util) file.

const sectionProps = SectionProps;
let sect = sectionProps.CHSSectionProperties(d_input, t_f_input, "AS");

HatSectionProperties(d, b_1, b_2, t_f, decimals)#

Calculates the section properties for a custom Hat section.

ParameterTypeDescription
dnumberTotal depth of section
b_1numberTop flange width
b_2numberBtm leg width
t_fnumberThickness of section
decimalsnumber | null | stringRounding 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.

const sectionProps = SectionProps;
let sect = sectionProps.HatSectionProperties(d_input, b_1_input, b_2_input, t_f_input);

SolidRectangleProperties(d, b, decimals)#

Calculates the section properties for a custom Solid Rectangle section.

ParameterTypeDescription
dnumberTotal depth of section
bnumberTop width of section
decimalsnumber | null | stringRounding option (Default is 'auto', see Rounding)

Returns: object - Object containing section properties.

Example Code#

In the calculate.js (or util) file.

const sectionProps = SectionProps;
let sect = sectionProps.SolidRectangleProperties(d_input, b_input);

SolidCircleProperties(b, decimals)#

Calculates the section properties for a custom Solid Circle section.

ParameterTypeDescription
bnumberOuter diameter of section
decimalsnumber | null | stringRounding option (Default is 'auto', see Rounding)

Returns: object - Object containing section properties.

Example Code#

In the calculate.js (or util) file.

const sectionProps = SectionProps;
let sect = sectionProps.SolidCircleProperties(b_input);

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.

ParameterTypeDescription
dnumberVertical leg length
bnumberHorizontal leg length
tnumberLeg thickness (both legs are assumed equal)
rnumberFillet radius (Default r = 0)
t_rnumberToe radius (Default t_r = 0)
regionstringDesign 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_countnumberInternal retry counter, do not set (Default is 0)
decimalsnumber | null | stringRounding 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 (and Alpha_phi, the raw FEA angle)
  • Iy, Iz: moments of inertia about the global axes
  • Zy_top, Zy_btm, Zz_top, Zz_btm, Sy, Sz: elastic and plastic moduli about the global axes
  • PNAyp, PNAzp, r0p, shear_center_p: principal plastic neutral axis, polar radius of gyration and shear centre
  • beta_*: 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.

const sectionProps = SectionProps;
let sect = await sectionProps.AngleSectionPropertiesFEA(d_input, b_input, t_input, r_input);