Skip to content

๐Ÿ“ Units โ€‹

Alpaca4d works in one fixed set of units: metres, kilonewtons, seconds and radians, with masses and densities given in kilograms. The inputs and the result components use them, with the few exceptions listed below, and there is no setting to change them. Only Model View lets you choose the units it displays in.

The base units โ€‹

QuantityUnit
Length, coordinates, section dimensions, the Assemble Tolerancem
ForcekN
Masskg
Times
Angle, rotationrad

Everything else follows from them:

QuantityUnit
MomentkNยทm
Line load, shell membrane force and transverse shearkN/m
Pressure, stress, E and GkN/mยฒ
Shell bending momentkNยทm/m
Densitykg/mยณ
Area, second moment of areamยฒ, mโด
Spring stiffnesskN/m along, kNยทm/rad about
Curvaturerad/m
Velocity, accelerationm/s, m/sยฒ
Period, frequencys, Hz

Strains, Poisson's ratio and utilisations have no unit. The hinge lengths of Beam With Hinges are fractions of the element length, not lengths.

The exceptions โ€‹

  • Beam Stresses are in MPa (N/mmยฒ), the unit design strengths are given in. Shell and brick stresses stay in kN/mยฒ. One MPa is 1000 kN/mยฒ.
  • The Material Database stores E and G in MPa, and multiplies them by 1000 into kN/mยฒ when it makes the material.
  • Model View starts displacements in mm and stresses in MPa (see Units in Model View).

The Rhino document is read as metres โ€‹

Alpaca4d never scales geometry. A coordinate goes into the OpenSees model as it stands and is read as metres, and so is the Tolerance. A model drawn in millimetres would come out a thousand times too big, so Assemble warns when the Rhino document is in any unit other than metres. Set the document to metres before you build the model.

What OpenSees assumes โ€‹

OpenSees has no unit system. It takes every number as it is given, and the answer is right only when all of them are in units that fit together. Alpaca4d writes the deck in kN, m and s, and the mass unit that goes with them is the tonne (kNยทsยฒ/m), not the kilogram. So every mass and density you give in kg is divided by 1000 as the deck is written: element densities and Mass Point masses alike, so the two are on the same footing. Self-weight is worked out by Alpaca4d with g = 9.81 m/sยฒ.

Note

A ground-motion record in g is not converted for you. Multiply it by 9.81, in the file or on the Factor of its Load Pattern, so that it is in m/sยฒ.

A deck you write or edit by hand for Custom Code or Deserialise has to keep to the same units, since OpenSees cannot tell.

Units in Model View โ€‹

Each result in Model View has a Unit menu of its own, which starts on the unit in bold:

ResultUnits
Displacementmm, cm, m
Forces, of beams and of reactionsN, kN, MN
Moments, of beams and of reactionsNยทmm, Nยทm, kNยทcm, kNยทm, MNยทm
Every stresskPa (= kN/mยฒ), MPa (= N/mmยฒ), kN/cmยฒ
Shell membrane forces and shearsN/m, kN/m, MN/m
Shell momentsNยทm/m, kNยทm/m, MNยทm/m

The unit picked applies to everything Model View gives out for that result: the values written on the model, the Info and Values outputs, and the Range, which is typed in it. A Legend fed from Values therefore reads in it too. Each result keeps its own choice, so beam stresses can be in MPa while shell stresses are in kPa.

The menu changes only what Model View displays. The result components always give out the units in the tables above.

See also โ€‹