Reference Guide

3-84 Full Command and Function Reference
FANNING
Type: Function
Description: Fanning Friction Factor Function: Calculates the Fanning friction factor of certain fluid flows.
FANNING calculates the Fanning friction factor, a correction factor for the frictional effects of
fluid flows having constant temperature, cross-section, velocity, and viscosity (a typical pipe flow,
for example). x
x/D
is the relative roughness (the ratio of the conduit roughness to its diameter). y
Re
is the Reynolds number. The function uses different computation routines for laminar flow (Re
2100) and turbulent flow (Re > 2100). x
x/D
and y
Re
must be real numbers or unit objects that
reduce to dimensionless numbers, and both numbers must be greater than 0.
Access: …µ
FANNING
Flags: Numerical Results (–3)
Input/Output:
Level 2/Argument 1 Level 1/Argument 2 Level 1/Item 1
x
x/D
y
Re
x
fanning
x
x/D
'symb'
'FANNING(x
x/D
,symb)'
'symb'
y
Re
'FANNING(symb,y
Re
)'
'symb
1
'
'symb
2
'
'FANNING(symb
1
,symb
2
)'
See also: DARCY
FAST3D
Type: Command
Description: Fast 3D Plot Type Command: Sets the plot type to FAST 3D.
When plot type is set to FAST3D, the DRAW command plots an image graph of a 3-vector-
valued function of two variables. FAST3D requires values in the reserved variables EQ, VPAR,
and PPAR.
VPAR is made up of the following elements:
{ x
left
,x
right
, y
near
, y
far
,z
low
,z
high
,x
min
,x
max
, y
min
, y
max
,x
eye
, y
eye
,z
eye
,x
step
, y
step
}
For plot type FAST3D, the elements of VPAR are used as follows:
x
left
and x
right
are real numbers that specify the width of the view space.
y
near
and y
far
are real numbers that specify the depth of the view space.
z
low
and z
high
are real numbers that specify the height of the view space.
x
min
and x
max
are not used.
y
min
and y
max
are not used.
x
eye
, y
eye
, and z
eye
are are not used.
x
step
and y
step
are real numbers that set the number of x-coordinates versus the number of y-
coordinates plotted.
The plotting parameters are specified in the reserved variable PPAR, which has this form:
{ (
x
min
, y
min
)
,
(
x
max
, y
max
)
,indep,res,axes,ptype,depend
}
For plot type FAST3D, the elements of PPAR are used as follows:
(x
min
, y
min
) is not used.
(x
max
, y
max
) is not used.
indep is a name specifying the independent variable. The default value of indep is X.
res is not used.
axes is not used.
ptype is a command name specifying the plot type. Executing the command FAST3D places the
name FAST3D in ptype.
depend is a name specifying the dependent variable. The default value is Y.