Converter tool

Cross-Section Properties

Compute area, centroid, moments of inertia, principal axes, elastic and plastic moduli, and torsion and warping constants for polygons with holes and standard shapes, with a mesh convergence check.

Results are only as good as the outline you give them. Check them against a handbook value for a standard shape before using them for design, and note which solver produced each number: the first group is exact for the polygon, the torsion group is a finite element estimate.

One part with holes, or several parts of different materials

1. Parts

Part 1

Cross-Section Properties and Torsion Constant

Operator: Abdulla Al Fahad. How tools are built and checked

Handbook tables stop at the standard shapes, and a built-up girder, a tube with a slot or a casting profile has to be computed. The area moments of any polygon, with holes, follow exactly from Green's theorem, so those numbers are as good as the outline you give. Torsion is different: the torsion constant, the warping constant and the shear centre need a finite element solution, and the honest way to present one is with its convergence as the mesh gets finer.

Key features

  • Standard shapes (rectangle, circle, pipe, I or wide flange with unequal flanges and root fillets, channel, angle, tee, box) or polygon coordinates with holes, or outlines imported from a DXF
  • Area, centroid, centroidal moments and product of inertia, principal axes and moments, elastic moduli at each extreme fibre and radii of gyration, exact for the polygon
  • Plastic neutral axes and plastic moduli about both axes, with shape factors
  • Several parts with a modulus ratio each, giving weighted area, centroid and inertia for composite sections
  • J, Cw and shear centre by a finite element solution of the warping function, with the result at three mesh densities
  • A property table as CSV, the section as a DXF, and a drawing with the centroid, principal axes, plastic axes, shear centre and optionally the mesh

Which properties are exact and which come from a mesh

A standard shape takes its dimensions in any length unit you label; I-sections accept separate top and bottom flange widths and thicknesses, and a root fillet radius that is turned into an arc of eight segments. Polygon input is x y pairs, one per line, with a blank line between outlines: the first is the boundary and every later one is a hole, in any winding. A DXF is read for closed polylines, circles and chains of lines and arcs whose ends meet, and an outline inside another becomes a hole in it. Up to 20,000 outline points are used.

A part's modulus ratio is its modulus divided by the reference material's. With several parts the area, centroid and inertia are weighted by those ratios, and the plain area is shown as well; the warping analysis is available for a single part of one material, and plastic values assume one yield strength throughout.

How it works

The area moments are boundary sums over the polygon: A = ½Σ(xᵢyᵢ₊₁ - xᵢ₊₁yᵢ), with matching sums for the first and second moments. The product of inertia gives the principal angle θ = ½ atan2(-2Ixy, Ixx - Iyy) and the principal moments. Plastic neutral axes are found by bisection on the line that leaves half the area on each side, with the polygon clipped by that line, and Z is the sum of each half's area times the distance of its centroid from the axis.

For torsion the page meshes the part with Delaunay triangles from delaunator, constrained along the boundary by constrainautor, with interior points on a hexagonal lattice away from the edges. It solves ∇²ω = 0 with the boundary condition ∂ω/∂n = y nx - x ny by conjugate gradients, which gives the warping function without needing the holes handled separately.

J is the polar moment minus the energy of the warping, J = Ixx + Iyy - fᵀω with f the boundary load vector. The shear centre is where the warping is orthogonal to both x and y, from a two-by-two system, and Cw is the integral of the warping function about that point squared. Each is reported at a quarter, a half and the whole of the triangle count you set, so the trend with refinement is visible.

Linear triangles are used throughout. They converge more slowly than quadratic ones, and a thin wall needs several triangles across its thickness, so the page warns when the worst triangle is stretched.

Common use cases

  • A fabricator welds a built-up girder from a 400 by 16 mm top flange, a 12 mm web and a 250 by 20 mm bottom flange and needs the neutral axis and Zx for a lift.
  • A student imports a DXF of a slotted tube and compares J with a full tube to see how the slot cuts the stiffness.
  • An engineer models a steel plate bonded to a timber beam with a modulus ratio of 20 and reads the transformed inertia.
  • A machine designer enters a casting profile's coordinates and checks that J converges before using it for a shaft check.

How to use this tool

  1. Choose a shape and its dimensions, or enter polygon coordinates, or import a DXF, and label the length unit.
  2. Press Compute properties and read the table and the drawing.
  3. Check the shape against a handbook value you trust before using the others.
  4. Set a target number of triangles and press Solve warping; leave the convergence box ticked.
  5. Compare J and Cw across the three meshes and raise the count until J moves by less than you care about.

Example

Load W12x26 example (inches): d 12.2, flanges 6.49 by 0.38, web 0.23, root fillet 0.30

Compute properties, then Solve warping at 8,000 triangles with the convergence box ticked.

Results next to the AISC Steel Construction Manual values

A 7.643 in² (7.65), Ix 203.6 in⁴ (204), Iy 17.33 (17.3), Sx 33.37 in³ (33.4), Zx 37.12 (37.2), Zy 8.169 (8.17), rx 5.16 (5.17), ry 1.51 (1.51). Torsion: J 0.3193, 0.3086 and 0.3043 in⁴ at 1,674, 3,722 and 7,798 triangles (0.30); Cw 602.2 in⁶ (607).

Tips for best results

  • A plain rectangle, circle or pipe has closed-form J, and the page shows the rectangle's exact value beside the mesh result as a check on the mesh density.
  • If J changes by more than a percent between the last two meshes, raise the triangle count; the first mesh of the three is usually the least reliable.
  • Model fillets with the radius field rather than ignoring them: for the W12x26 the 0.30 in fillets raise Ix by 1.3 percent and J by 7.6 percent.

Common pitfalls

Only the shapes and outlines you give are analysed. Rivet holes, bolt holes and welds are not represented unless you draw them.

Shear areas and stress plots are not computed, so a shear deformation or a combined-stress check needs another tool.

The torsion solution is for a single homogeneous part. A composite section's J cannot be read from this page.

Common errors and how to fix them

The wall must be thinner than the radius.
For a pipe, the thickness t must be below D/2; check the diameter and wall.
A fillet radius is too large for the edges next to it.
Reduce the radius; a fillet can use at most half of each adjacent edge.
The outline could not be meshed (it may cross itself or touch another outline).
Look for a self-crossing or two outlines that share an edge, and separate them by a small gap.
No closed outline was found.
Close the polyline in the DXF, or make sure the ends of lines and arcs meet to within a tiny tolerance.

Best practices

  • Report the triangle count and the convergence table with any J or Cw you quote.
  • Compare the first run with a handbook section of similar shape before drawing a complicated one.
  • Keep the DXF export with the calculation, so the outline that produced the numbers is on file.
  • Label the length unit once and use it for every dimension; the page does not convert between unit systems.

How close the numbers get to published values

Moments of inertia and moduli agree with the AISC values for the W12x26 to within 0.3 percent, and the remaining difference comes from how the fillet is rounded into segments. J approaches the published 0.30 as the mesh refines but is still 1.4 percent above it at 7,798 triangles; at 11,650 triangles it is 0.3029, and the warping constant of 602 is 0.8 percent under 607. For a 2 by 1 rectangle the Saint-Venant series gives J = 0.45736, and the mesh gives 0.4579 at 3,146 triangles. The AISC values quoted here are the tabulated ones for that shape; the page's numbers are computed from the outline, not looked up.

Frequently asked questions

Why is J for a W-shape sensitive to the mesh?

Torsional stiffness of a thin wall depends on the cube of its thickness, so a mesh with too few triangles across the web or flange overestimates stiffness. The convergence table shows it falling toward the published value as the mesh refines.

Where is the shear centre measured from?

From the centroid, in the same x and y directions as the outline. For a channel the shear centre lies outside the web, on the side away from the flanges.

Can it import an arbitrary DXF drawing?

It reads closed polylines, circles and joined lines or arcs, and ignores everything else. Keep only the section outline in the drawing, with inner outlines for holes.