[Fluent Inc. Logo] return to home search
next up previous contents index

5.4 Customizing Units

If you would like a mixed unit system, or any unit system different from the four supplied by FLUENT (and described in Section  5.3), you can use the Set Units panel (Figure  5.3.1) to select an available unit or specify your own unit name and conversion factor for each quantity.



Listing Current Units


Before customizing units for one or more quantities, you may want to list the current units. You can do this by clicking on the List button at the bottom of the Set Units panel. FLUENT will print out a list (in the text window) containing all quantities and their current units, conversion factors, and offsets.



Changing the Units for a Quantity


FLUENT will allow you to modify the units for individual quantities. This is useful for problems in which you want to use one of the built-in unit systems, but you want to change the units for one quantity (or for a few). For example, you may want to use SI units for your problem, but the dimensions of the geometry are given in inches. You can select the SI unit system, and then change the unit of length from meters to inches.

To change the units for a particular quantity, you will follow these two steps:

1.   Select the quantity in the Quantities list (they are arranged in alphabetical order).

2.   Choose a new unit from those that are available in the Units list.

For the example cited above, you would choose length in the Quantities list, and then select in in the Units list. The Factor will automatically be updated to show 0.0254 meters/inch. (See Figure  5.3.1.) If there were a non-zero offset for the new unit, the Offset field would also be updated. For example, if you were using SI units but wanted to define temperature in Celsius instead of Kelvin, you would select temperature in the Quantities list and c in the Units list. The Factor would change to 1, and the Offset would change to 273.15. Once you have selected the quantity and the new unit, no further action is needed, unless you wish to change the units for another quantity by following the same procedure.



Defining a New Unit


To create a new unit to be used for a particular quantity, you will follow the procedure below:

1.   In the Set Units panel, select the quantity in the Quantities list.

2.   Click on the New... button and the Define Unit panel (Figure  5.4.1) will open. In this panel, the selected quantity will be shown in the Quantity field.

Figure 5.4.1: The Define Unit Panel
figure

3.   Enter the name of your new unit in the Unit field, the conversion factor in the Factor field, and the offset in the Offset field.

4.   Click on OK in the Define Unit panel, and the new unit will appear in the Set Units panel.

For example, if you want to use hours as the unit of time, select time in the Quantities list in the Set Units panel and click on the New... button. In the resulting Define Unit panel, enter hr for the Unit and 3600 for the Factor, as in Figure  5.4.1. Then click on OK. The new unit hr will appear in the Units list in the Set Units panel, and it will be selected.

Determining the Conversion Factor

The conversion factor you specify ( Factor in the Define Unit panel) tells FLUENT the number to multiply by to obtain the SI unit value from your customized unit value. Thus the conversion factor should have the form SI units/custom units. For example, if you want the unit of length to be inches, you should input a conversion factor of 0.0254 meters/inch. If you want the unit of velocity to be feet/min, you can determine the conversion factor by using the following equation:


 x \; \frac{\mbox{ft}}{\mbox{min}} \times \frac{0.3048 \; \mb... ...c{\mbox{min}}{60 \; \mbox{s}} = y \; \frac{\mbox{m}}{\mbox{s}} (5.4-1)

You should input a conversion factor of 0.0051, which is equal to 0.3048/60.


next up previous contents index Previous: 5.3 Built-In Unit Systems
Up: 5. Unit Systems
Next: 6. Reading and Manipulating
© Fluent Inc. 2006-09-20