10 -1
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
CFX - Analyse
Lecture 10
10 -2
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Post-Processing
? Visualizer
graphic objects
cameras.
? Regions.
? Scalar fields.
? ACL Parameters.
? Macros.
? Calculator.
10 -3
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
CFX-Analyse GUI
10 -4
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Visualizer
? Create graphic objects:
grid
contour
fringe
vector
X-Y graph
streak line
generic,etc.
? Most graphic objects require a
region.
? Many require a scalar field.
10 -5
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Graphic Objects
? Coloured by
self (meaning varies)
scalar
colour
time/distance (streakline).
? Graphic attributes:
lighting
lines
faces
visibility.
10 -6
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Region Manager
? Allows user to
> Select
> Create
> Edit
> Display regions
? Regions can be Nodal or Physical
Nodal regions
> [ib:ie,jb:je,kb:ke],gridname
> i4 (short for [4,,])
> [1,3,:7] (short for [1,3,1:7])
> [1,,], grid2
(full j and k range of grid2)
Physical regions
> (1,0,0) (1,1,0) (1,0,1)
defines the plane x=1
10 -7
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Regions
? Different graphic objects accept different region
types,For example
contour,fringe,and relief operate only on 2-D (planar)
regions,either physical or nodal
graph operates on 1-D (line) regions,either physical or
nodal
grid,vector operate on
> 1-D,2-D and 3-D nodal regions
> planar physical regions
etc.
10 -8
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Scalar Field Manager
? Hybrid versus control volume values
hybrid values
> presented to the user by default
> modified at grid boundaries to reflect b.c.’s
control volume values
> true flow code values
? Grid coordinates
X,Y,Z
? Flow code produces many
scalar fields,ie.
U,V,W
P,PTOTAL,T
TKE,EPSILON...
10 -9
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
User Scalars
? Next to Calculate,type
variable name = math_expression
parameter; p_ref = 14.7*144
scalar; p_psi = (p-p_ref)*144
The variable name will be added to the
scalar list (if it does not exist) or will
overwrite the existing field
? User-defined scalars can be produced
using
Post-Process - Calculator …
from the main menu
10 -10
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Tools
? Command Line window.
? ACL parameters.
? Macro manager.
? Camera manager.
10 -11
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Command line Window
? Accessible from the top menu under
Tools - Command Line,..
? Allows you to directly type in commands and execute
them.
? quantitative calculations,calc command
calc variable_name = mathematical expression
the result could be a single number (parameter)
ex.,calc minpres = min(p[1,,])
show parameter minpres or
echo $minpres or
eval minpres
if the result is a scalar field variable,a new scalar field of the
type User Defined Field is created and can be used in further
commands as any other scalar field
10 -12
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Mathematical Expression
? Uses syntax much like Fortran
+,-,*,/,^,
sqrt(x),
sin(x),cos(x),tan(x),where x is in radians
asin(x),acos(x),atan(x) returns the result in radians
exp(x),log(x),log10(x)
int(x),nint(x),abs(x).
? operators for scalar field variables
SUM(arg),AVRG(arg),MIN(arg),MAX(arg)
IMAX (arg),IMIN (arg),returns the I index value of the node with
max (or min) value of scalar arg.
JMAX (arg),JMIN (arg),
KMAX (arg),KMIN (arg).
10 -13
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Example
10 -14
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
The Macro Manager
? Macro
a list of ACL commands
can perform calculations,
produce graphic objects,etc.
allows automation of post-
processing steps.
10 -15
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Camera Manager
? Camera,
name associated with a certain eye,scale and pan position
used to specify attributes of a view
create and delete
modify
display
Write, allows you to save a list of
cameras to a file.
Read,allows you to read a list of
Cameras.
10 -16
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Mouse functions
translationrotation
Zoom in
Zoom out
10 -17
CFX-4.3 V4.3.1H CFX-4
Introductory Training (Dec 1999)
Keyboard Shortcuts
x/X keys,set view looking down +X/-X axis
y/Y +Y/-Y axis
z/Z +Z/-Z axis
,Page Up”,zoom out
,Page Down”,zoom in
,a”,toggle axis visibility
,n”,toggle projection between orthographic and
perspective.