When you are checking the results of your simulation, you may find it useful to define some of the following field functions:
To define a function that determines the ratio of static pressure to inlet total pressure, use the relationship
(33–58) |
where is the static pressure calculated by the solver,
is the inlet total pressure, and
is the operating pressure for the problem. Use the
solver-defined function Static Pressure for
, and the numerical value
that you specified for Gauge Total Pressure in
the Pressure Inlet Dialog Box for
.
Specify the value of the operating pressure to be the value that you
set in the Operating Conditions Dialog Box. As discussed
in Operating Pressure, all pressures in ANSYS Fluent are
gauge pressures relative to the operating pressure. If the operating
pressure is zero, as is generally the case for compressible flow calculations,
the expression for the pressure ratio reduces to
(33–59) |
To define a function that determines the critical
velocity ratio ,
a parameter that is sometimes used in turbomachinery calculations,
use the relationship
(33–60) |
In this relationship, is
the critical velocity (that is, the velocity that would occur for
the same stagnation conditions if
),
is the ratio of specific
heats, and
is the pressure ratio defined
in Equation 33–59 for which you created
your own function. For
, ratio of specific heats, select Specific Heat Ratio (gamma) in the Properties... category. To include
, select Custom Field
Functions... in the first drop-down list under Field Functions, and then select from the second list
the function name that you assigned
.
Suppose you have swirling flow in a pipe, aligned
with the axis, and you want to calculate the flow rate of
angular momentum through a cross-sectional plane:
(33–61) |
You can create a function for the product , where
is the Radial Coordinate and
is
the Tangential Velocity. Then use the Surface Integrals Dialog Box to compute the flow rate of this
quantity.
Important: The custom field function containing model dependent functions (like temperature when the energy equation is enabled) will be computed only when those models are still active.