Escolar Documentos
Profissional Documentos
Cultura Documentos
6. Click and drag the mouse pointer down slightly to rotate the geometry towards you.
7. Select Isometric View (Z up) as described earlier.
Page 50
ANSYS CFX Tutorials. ANSYS CFX Release 11.0. 1996-2006 ANSYS Europe, Ltd. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial 1a: Simulating Flow in a Static Mixer Using Workbench: Viewing the Results in ANSYS CFX-Post
The line segments show where the slice plane intersects with mesh element faces. The
end points of each line segment are located where the plane intersects mesh element
edges.
9. Right-click a blank area in the viewer and select Predefined Camera > View Towards
-Z.
The image shown below can be used for comparison with tutorial 2 (in the section
Creating a Slice Plane (p. 68)), where a refined mesh is used.
Setting
Value
Color
Mode
Variable*
Variable
Temperature
Render
*.
Draw Faces
(Selected)
Draw Lines
(Cleared)
You can specify the variable (in this case, temperature) used to color the graphic
element. The Constant mode allows you to color the plane with a fixed color.
2. Click Apply.
Hot water (red) enters from one inlet and cold water (blue) from the other.
ANSYS CFX Tutorials. ANSYS CFX Release 11.0. 1996-2006 ANSYS Europe, Ltd. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Page 51
Tutorial 1a: Simulating Flow in a Static Mixer Using Workbench: Viewing the Results in ANSYS CFX-Post
Procedure
1. Right-click a blank area in the viewer and select Predefined Camera > Isometric View
(Z up) from the shortcut menu.
2. Click the Geometry tab.
Review the settings in Definition under Point and under Normal.
3. Click Single Select
4. Click and drag the plane to a new location that intersects the domain.
As you drag the mouse, the viewer updates automatically. Note that Point updates with
new settings.
5. Set Point settings to 0,0,1.
6. Click Apply.
7. Click Rotate
8. Turn off visibility for Slice by clearing the check box next to Slice in the Outline.
Adding Contours
Contours connect all points of equal value for a scalar variable (for example, Temperature)
and help to visualize variable values and gradients. Colored bands fill the spaces between
contour lines. Each band is colored by the average color of its two bounding contour lines
(even if the latter are not displayed).
Procedure
1. Right-click a blank area in the viewer and select Predefined Camera > Isometric View
(Z up) from the shortcut menu.
2. Select Insert > Contour from the main menu or click Contour
Setting
Value
Geometry
Locations
Slice
Variable
Temperature
Draw Faces
(Selected)
Render
6. Click Apply.
Important: The colors of 3D graphics object faces are slightly altered when lighting is on. To
view colors with highest accuracy, on the Render tab under Draw Faces clear Lighting and
click Apply.
Page 52
ANSYS CFX Tutorials. ANSYS CFX Release 11.0. 1996-2006 ANSYS Europe, Ltd. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial 1a: Simulating Flow in a Static Mixer Using Workbench: Viewing the Results in ANSYS CFX-Post
The graphic element faces are visible, producing a contour plot as shown.
This tutorial follows the general workflow for creating a keyframe animation:
1. Showing the Animation Dialog Box (p. 53)
2. Creating the First Keyframe (p. 53)
3. Creating the Second Keyframe (p. 54)
4. Viewing the Animation (p. 55)
5. Modifying the Animation (p. 56)
6. Saving to MPEG (p. 57)
Page 53
Tutorial 1a: Simulating Flow in a Static Mixer Using Workbench: Viewing the Results in ANSYS CFX-Post
Procedure
1. Right-click a blank area in the viewer and select Predefined Camera > Isometric View
(Z up).
2. In the Outline, under User Locations and Plots, clear the visibility of Slice
Contour and select the visibility of Slice.
3. Select Tools > Animation or click Animation
A new keyframe named KeyframeNo1 is created. This represents the current image
displayed in the viewer.
5. Select KeyframeNo1.
6. Set # of Frames (located below the list of keyframes) to 20.
Page 54
ANSYS CFX Tutorials. ANSYS CFX Release 11.0. 1996-2006 ANSYS Europe, Ltd. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial 1a: Simulating Flow in a Static Mixer Using Workbench: Viewing the Results in ANSYS CFX-Post
This is the number of intermediate frames used when going from KeyframeNo1 to
KeyframeNo2. This number is displayed in the Frames column for KeyframeNo1.
7. Press Enter.
The Frame # column shows the frame in which each keyframe appears. KeyframeNo1
appears at frame 1 since it defines the start of the animation. KeyframeNo2 is at frame
22 since you have 20 intermediate frames (frames 2 to 21) in between KeyframeNo1 and
KeyframeNo2.
The animation plays from frame 1 to frame 22. It plays relatively slowly because the slice
plane must be updated for each frame.
ANSYS CFX Tutorials. ANSYS CFX Release 11.0. 1996-2006 ANSYS Europe, Ltd. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Page 55
Tutorial 1a: Simulating Flow in a Static Mixer Using Workbench: Viewing the Results in ANSYS CFX-Post
Setting
Value
Geometry
Point
0, 0, 1.99
Color
Mode
Variable
Range
User Specified
Min
295 [K]
Max
305 [K]
2. Click Apply.
The slice plane moves to the top of the static mixer.
Note: Do not double click in the next step.
3. In the Animation dialog box, single click (do not double-click) KeyframeNo1 to select it.
If you had double-clicked KeyFrameNo1, the plane and viewer states would have been
redefined according to the stored settings for KeyFrameNo1. If this happens, click
Undo
The image in the Viewer replaces the one previously associated with KeyframeNo1.
5. Double-click KeyframeNo2.
The object properties for the slice plane are updated according to the settings in
KeyFrameNo2.
6. Apply the following settings to Slice
Tab
Color
Setting
Value
Mode
Variable
Range
User Specified
Min
295 [K]
Max
305 [K]
7. Click Apply.
8. In the Animation dialog box, single-click KeyframeNo2.
9. Click Set Keyframe
Page 56
ANSYS CFX Tutorials. ANSYS CFX Release 11.0. 1996-2006 ANSYS Europe, Ltd. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial 1a: Simulating Flow in a Static Mixer Using Workbench: Viewing the Results in ANSYS CFX-Post
Saving to MPEG
By defining the geometry and then saving to MPEG, the results can be saved to a video file.
Procedure
The Loop and Bounce radio buttons determine what happens when the animation
reaches the last keyframe. When Loop is selected, the animation repeats itself the
number of times defined by Repeat. When Bounce is selected, every other cycle is
played in reverse order, starting with the second.
2. Click Save MPEG.
3. Click Browse
ANSYS CFX Tutorials. ANSYS CFX Release 11.0. 1996-2006 ANSYS Europe, Ltd. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Page 57
Tutorial 1a: Simulating Flow in a Static Mixer Using Workbench: Viewing the Results in ANSYS CFX-Post
Page 58
ANSYS CFX Tutorials. ANSYS CFX Release 11.0. 1996-2006 ANSYS Europe, Ltd. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.
Tutorial 2:
Flow in a Static Mixer
(Refined Mesh)
Introduction
This tutorial includes:
If this is the first tutorial you are working with, it is important to review the following topics
before beginning:
Unless you plan on running a session file, you should copy the sample files used in this
tutorial from the installation folder for your software (<CFXROOT>/examples/) to your
working directory. This prevents you from overwriting source files provided with your
installation. If you plan to use a session file, please refer to Playing a Session File (p. 61).
Sample files used by this tutorial are:
StaticMixerRefMesh.gtm
StaticMixerRef.pre
StaticMixer.def
StaticMixer_001.res
Page 59
Tutorial 2 Features
This tutorial addresses the following features of ANSYS CFX.
Component
ANSYS CFX-Pre
Feature
User Mode
Details
General Mode
Simulation Type
Fluid Type
Steady State
General Fluid
Domain Type
Turbulence Model
Heat Transfer
Single Domain
k-Epsilon
Thermal Energy
Boundary Conditions
Inlet (Subsonic)
Outlet (Subsonic)
Timestep
ANSYS CFX-Post
Plots
Other
Wall: No-Slip
Wall: Adiabatic
Physical Time Scale
Planevolume
Slice Plane
Spherevolume
Viewing the Mesh
Using the General Mode of ANSYS CFX-Pre (this mode is used for more complex cases).
Importing CCL to copy the definition of a different simulation into the current
simulation.
Viewing the mesh with a Sphere volume locator and a Surface Plot.
Using a Plane Volume locator and the Mesh Calculator to analyze mesh quality.
Page 60
ANSYS CFX Tutorials. ANSYS CFX Release 11.0. 1996-2006 ANSYS Europe, Ltd. All rights reserved.
Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.