14.2. Adding a New Unit

Units are defined within the quantity element in Units.xml. Figure 14.3: Quantity and Unit Definition demonstrates how units are defined for the temperature quantity. To add a new unit to an existing quantity, simply add a new unit element with the following attributes:

Figure 14.3:  Quantity and Unit Definition

<quantity name="temperature">
			<unit name="K" multFactor="1.000000"/>
			<unit name="C" multFactor="1.000000" addFactor="273.150000"/>
			<unit name="R" multFactor="0.555556"/>
			<unit name="F" multFactor="0.555556" addFactor="459.670000"/>
</quantity>


Release 18.2 - © ANSYS, Inc. All rights reserved.