Professional Documents
Culture Documents
Unit Systems
Unit Systems
Unit Systems
Unit Systems
This chapter describes the units used in FLUENT and how you can control them. Infor-
mation is organized into the following sections:
FLUENT allows you to work in any unit system, including inconsistent units. Thus, for
example, you may work in British units with heat input in Watts or you may work in SI
units with length defined in inches. This is accomplished by providing FLUENT with a
correct set of conversion factors between the units you want to use and the standard SI
unit system that is used internally by the solver. FLUENT uses these conversion factors
for input and output, internally storing all parameters and performing all calculations
in SI units. Both solvers always prompt you for the units required for all dimensional
inputs.
Units can be altered part-way through a problem setup and/or after you have completed
your calculation. If you have input some parameters in SI units and then you switch to
British, all of your previous inputs (and the default prompts) are converted to the new
unit system. If you have completed a simulation in SI units but you would like to report
the results in any other units, you can alter the unit system and FLUENT will convert
all of the problem data to the new unit system when results are displayed. As noted
above, all problem inputs and results are stored in SI units internally. This means that
the parameters stored in the case and data files are in SI units. FLUENT simply converts
these values to your unit system at the interface level.
c Fluent Inc. January 11, 2005 5-1
Unit Systems
• You must always define the following in SI units, regardless of the unit system you
are using:
– boundary profiles (see Section 7.26: Boundary Profiles)
– source terms (see Section 7.28: Defining Mass, Momentum, Energy, and Other
Sources)
– custom field functions (see Section 31.5: Custom Field Functions)
– data in externally-created XY plot files (see Section 29.8.3: XY Plots of File
Data)
– user-defined functions (See the separate UDF Manual for details about user-
defined functions.)
5-2
c Fluent Inc. January 11, 2005
5.3 Built-In Unit Systems in FLUENT
To choose the English Engineering standard for all units, click on the british button;
to select the International System of units (SI) standard for all units, click on the si
button; to choose the CGS (centimeter-gram-second) standard for all units, click on the
cgs button; and to return to the “default” system, click on the default button. The
default system of units is like SI, but uses degrees instead of radians for angles. Clicking
on one of the buttons under Set All To will immediately change the unit system. You
can then close the panel if you are not interested in customizing any units.
Changing the unit system in the Set Units panel causes all future inputs that have units
to be based on the newly selected unit system.
c Fluent Inc. January 11, 2005 5-3
Unit Systems
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.
5-4
c Fluent Inc. January 11, 2005
5.4 Customizing Units
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.
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.
c Fluent Inc. January 11, 2005 5-5
Unit Systems
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:
ft 0.3048 m min m
x × × =y (5.4-1)
min ft 60 s s
You should input a conversion factor of 0.0051, which is equal to 0.3048/60.
5-6
c Fluent Inc. January 11, 2005