Units Block

The units block specifies the unit system used for the values in the property file. This is a mandatory block. The units must be defined for length, time, force, mass, and angle.

The table below describes the valid choices for the Units block:

Parameter Type Description
LENGTH quoted_string Valid length units are:
  • mm
  • m
  • meter
  • cm
  • mile
  • foot
  • inch
ANGLE quoted_string Valid angle units are:
  • degree
  • radian
FORCE quoted_string Valid force units are:
  • newton
  • kg_force
  • knewton
  • pound_force
  • kpound_force
  • dyne
  • ounce_force
MASS quoted_string Valid mass units are:
  • kg
  • gram
  • pound_mass
  • kpound_mass
  • slug
  • ounce_mass
TIME quoted_string Valid time units are:
  • second
  • sec
  • millisecond
  • minute
  • hour

The following is an example of a Units block:

$--------------------------------------------------------------- UNITS
[UNITS]
LENGTH = 'mm'
ANGLE = 'degree'
FORCE = 'newton'
MASS = 'kg'
TIME = 'second'