Fluent-Intro_17.0_Module04_Postprocessing
Fluent-Intro_17.0_Module04_Postprocessing
0 Release
Learning Aims:
You will learn:
• How to perform flow field visualization and quantitative data analysis on your CFD
results
• How to do this in Fluent and in CFD-Post
Learning Objectives:
You will know what post-processing options are available and how to perform the
post-processing work that your CFD simulations require
Introduction Overview Fluent CFD-Post Summary
The results can be reported / plotted either on existing surfaces present in the model, or
on new surfaces.
4. Generate Reports
Introduction Overview Fluent CFD-Post Summary
– The Gradient method calculates the gradient of any existing scalar variable
• Produces a new vector variable
2. Create Chart
5. Select X and Y
Axis variables
To create animations:
• Load a transient data set
− Collection of data files saved at regular intervals
in a transient simulation
− Either regular .dat files from autosaving or .cdat
files from automatic export
• .cdat files allow choice of what variables to
saved, reducing i/o time and file size
• Create objects such as vectors or contours
• Select the Timestep icon in the toolbar
• In Timestep Selector, select the Animation icon
− Opens the Animation panel
• Click the play button
− All visible objects will be animated
2D to Thin 3D
Model set-up information is not available in CFD-Post
Vector Plot
• Can plot any vector variable
– usually velocity
• Can project vectors Normal or Tangential to the base object
Streamlines
• Can proceed forwards and/or backwards from a seeding
location
• Use the Surface Streamline option to visualise velocity “on”
walls
Legend
• Create additional legends that are tied to a specific plot (the
default legend changes automatically with the active plot)
Instance Transform
• Create patterns and duplicates of the geometry
• Usually used to re-create full plots from symmetric/periodic
solution data
Point
• XYZ: At coordinates. Can pick from Viewer
• Node Number: Some solver error messages give a node number
• Variable Max / Min: Useful to locate where max / min values occur
Point Cloud
• Create multiple points
• Usually used as seeds to streamlines, vectors
Polylines
• Also used for Charts
• Read points from a file
• Use the line of intersection
between a boundary and
another Location
• Extract a line from a
contour plot
Iso Clip
• An Iso Clip takes a copy of any existing Location and then
clips it using one or more criteria
– E.g. the velocity contour plot on the outlet boundary is then
clipped by Velocity >= 10 [m/s] and Velocity <= 20 [m/s]
• Can clip using any variable, including geometric variables
Surface of Revolution
• Predefined options for Cylinder, Cone, Disc and
Sphere
• From Line is much more general
– Any line (existing Line, Polyline, Streamline, Particle
Track) is rotated about an axis
Vel local
where VelRatio
Vel
VelRatio 0.7
VelRatio 0.7
Mixed units are allowed in expressions as long as the dimension makes sense
• Cannot add 1.0 [mm] + 3.6 [kg] in an Expression
Expressions must be dimensionally consistent for addition and subtraction operations
(example: 1.0 [mm] + 0.45 [yds] is OK)
• You cannot add values with inconsistent dimensions
Units of expressions are not declared – they are the result of units in the expression
(example: a [kg m^-3] * b [m s^-1] has units of [kg m^-2 s^-1]
Derived variables
• Calculated by CFD-Post – they are not contained in the results file
Geometric variables
• X, Y, Z, Normals , mesh quality data
Solution variables
• From the results file
Turbo variables
• Additional variables automatically created for turbomachinery cases
= Wall
• Next to wall boundaries you have a half control volume with
some representative non-zero velocity = Mesh Element
• This non-zero velocity is stored at the wall node
• But we know that the velocity on a wall is zero = Control Volume Boundary
Hybrid
• For calculation purposes conservative values are used by
default
• This is good! For example mass flow is calculated correctly — a velocity
of zero would produce zero mass flow through the wall adjacent
control volume which is clearly wrong
Conservative
• So in most cases you don’t need to worry about Hybrid vs
Conservative since CFD-Post does the right thing
• User Defined variables will be derived from conservative values by
default
• Take care when interpreting plots! The range will be different for
hybrid and conservative values
52 © 2016 ANSYS, Inc. April 12, 2016
Expressions Tab
• The Expressions tab shows all existing expressions and allows you to
create new expressions
• Right-click in the top area > New
• Enter the new expressions on the Definition tab in the Details view
• Right-click to view Functions, Variables etc. that can be used to build your
expression
• Macro Calculator
• Run predefined Macros
• Write your own Macros and have them appear here
• More in Scripting lecture
• Mesh Calculator
• Mesh quality metrics and stats
• Field variables exist for all the metric and can be plotted
54 © 2016 ANSYS, Inc. April 12, 2016
Turbo Post-Processing
• The Turbo tab contains tools for post-processing turbomachinery cases.
• XY – Transient or Sequence
– Plots an expression (usually Time) versus a variable at a point locator
– Typically used to show the transient variation of a variable at a point
• Data files for multiple time steps must available
• Histogram
– Can be based on any locator that contains multiple data locations –
lines, surfaces, planes, domains (but not points)
– Plots a variable divided into discrete bands on the X Axis versus the
frequency of occurrence on the Y Axis
• Use the X and Y Axis tabs to set the variables on the axes
Add new data
• The remaining tabs are for various display options series
Original Signal
• Quick Editor
• Provides a very quick way to change the “primary” value
associated with each object
• Probe
• Pick a point from the Viewer and probe a variable value at that
point
• Sync cameras
– All Views move the
same
• Sync objects
– The visibility of all User
Locations and Plots is
the same
• Import
• Locations: .csv files which contain point data which defines a
polyline or surface
• ANSYS Surface Mesh (.cdb): To allow for export of data on a
surface for use as a boundary condition in ANSYS
• Export
• Profile Boundary Data: for use in CFX-Pre
• General formatted results data
• ANSYS Load Data: Written onto an imported ANSYS .cdb file
• State
• Saves a snap-shot of all objects
• Excludes actions (e.g. file output)
• Macro
• More later in Scripting and Automation lecture
67 © 2016 ANSYS, Inc. April 12, 2016