Download ME 566 Computational Fluid Dynamics for Fluids Engineering

Transcript
CHAPTER 6. CFX-POST: VISUALIZATION AND ANALYSIS OF RESULTS
56
Insert/Expression:
allows the input of CEL expressions. To learn the expression
syntax right, mouse click in the Definition box within the Expression Editor
panel to get a list of possible variables, expressions, locators, functions and
constants that can be input into a new expression. There are two type of
functions: Functions/CFX- Post functions for performing operations on scalar
fields and Functions/CEL functions for conventional mathematical operations;
and
Create/Variable:
allows the calculation of new field variables. New variables can
be defined in terms of defined expressions or by entering new expressions
directly into the variable definition. For example, calculating local pressure
coefficients based on the maximum speed in the domain, backstep (i.e. C p ≡
( p− p r e f )
1
2
ρV ma
2
x
) can be done with the expression:
(Pressure - 0 [Pa])/(0.5*Density*maxVal(sqrt(Velocity u^2 + Velocity v^2))@backstep^2)
for a variable called Cp
6.4
Controls
A set of controls can be used to save a particular post-processing setup or state so
that it can be repeated. This is useful when comparing different simulations to see
the impact of a design change on flow properties. Common controls include:
Views: The image size, orientation, perspective, etc. in the Viewer window is associated with a Camera viewer (imagine that the user moves a camera around in
space to create a two-dimensional image of a three-dimensional object in the
camera’s viewer). Four views are provided and can be selected in the upper
left corner of the viewing window. Right mouse click in a view to see and set
camera properties;
Session: Provides a mechanism for recording and saving a series of operations. This
is useful for users interested in learning power programming of CFX-Post (see
on-line help for more information);
State: Saves all information (views, graphical objects, expressions and variable) in
a cst state file. Loading a state file will automatically re-generate all views,
objects, expressions, and variables from a previous CFX-Post session.