tutoriais simulation cfx11

tutoriais simulation cfx11

(Parte 1 de 5)

ANSYS CFX Tutorials

ANSYS CFX Release 1.0 December 2006

ANSYS, Inc. Southpointe 275 Technology Drive Canonsburg, PA 15317 ansysinfo@ansys.com http://www.ansys.com (T) 724-746-3304 (F) 724-514-9494

Copyright and Trademark Information

© 1996-2006 ANSYS Europe, Ltd. All rights reserved. Unauthorized use, distribution, or duplication is prohibited.

ANSYS, ANSYS Workbench, AUTODYN, CFX, FLUENT and any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries located in the United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. under license. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service and feature names or trademarks are the property of their respective owners.

Disclaimer Notice

CONFIDENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. The software products and documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreement that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exporting laws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products and documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditions of that software license agreement.

ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001:2000 companies.

U.S. Government Rights

For U.S. Government users, except as specifically granted by the ANSYS, Inc. software license agreement, the use, duplication, or disclosure by the United States Government is subject to restrictions stated in the ANSYS, Inc. software license agreement and FAR 12.212 (for non DOD licenses).

Third-Party Software

See the online documentation in the product help files for the complete Legal Notice for ANSYS proprietary software and third-party software. The ANSYS third-party software information is also available via download from the Customer Portal on the ANSYS web page. If you are unable to access the third-party legal notices, please contact ANSYS, Inc.

Published in the U.S.A.

Page vANSYS CFX Tutorials

Table of Contents

Copyright and Trademark Information

Disclaimer Notice

U.S. Government Rights

Third-Party Software

Introduction to the ANSYS CFX Tutorials

Overview1
Setting the Working Directory1
Changing the Display Colors2

Tutorial 1: Simulating Flow in a Static Mixer Using CFX in Standalone Mode

Introduction3
Before You Begin4
Tutorial 1 Features4
Overview of the Problem to Solve5
Defining a Simulation in ANSYS CFX-Pre6
Obtaining a Solution Using ANSYS CFX-Solver Manager12
Viewing the Results in ANSYS CFX-Post15

Tutorial 1a: Simulating Flow in a Static Mixer Using Workbench

Introduction31
Before You Begin32

Tutorial 1a Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .32

Table of Contents: Tutorial 2: Flow in a Static Mixer (Refined Mesh)

Overview of the Problem to Solve3
Defining a Simulation in ANSYS CFX-Pre34
Obtaining a Solution Using ANSYS CFX-Solver Manager41
Viewing the Results in ANSYS CFX-Post43

Page viANSYS CFX Tutorials

Tutorial 2: Flow in a Static Mixer (Refined Mesh)

Introduction59
Tutorial 2 Features60
Overview of the Problem to Solve60
Defining a Simulation using General Mode in ANSYS CFX-Pre61
Obtaining a Solution Using Interpolation with ANSYS CFX-Solver6
Viewing the Results in ANSYS CFX-Post68

Tutorial 3: Flow in a Process Injection Mixing Pipe

Introduction7
Tutorial 3 Features78
Overview of the Problem to Solve78
Defining a Simulation using General Mode in ANSYS CFX-Pre79
Obtaining a Solution Using ANSYS CFX-Solver Manager87
Viewing the Results in ANSYS CFX-Post8

Tutorial 4: Flow from a Circular Vent

Introduction93
Tutorial 4 Features94
Overview of the Problem to Solve95
Defining a Steady-State Simulation in ANSYS CFX-Pre95
Obtaining a Solution to the Steady-State Problem9
Defining a Transient Simulation in ANSYS CFX-Pre100
Obtaining a Solution to the Transient Problem104
Viewing the Results in ANSYS CFX-Post105

Tutorial 5: Flow Around a Blunt Body

Introduction109
Tutorial 5 Features109
Overview of the Problem to Solve1

Defining a Simulation in ANSYS CFX-Pre . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .1

Table of Contents: Tutorial 6: Buoyant Flow in a Partitioned Cavity

Obtaining a Solution Using ANSYS CFX-Solver Manager116
Viewing the Results in ANSYS CFX-Post119

ANSYS CFX TutorialsPage vii

Tutorial 6: Buoyant Flow in a Partitioned Cavity

Introduction127
Tutorial 6 Features128
Overview of the Problem to Solve128
Defining a Simulation in ANSYS CFX-Pre129
Obtaining a Solution using ANSYS CFX-Solver Manager134
Viewing the Results in ANSYS CFX-Post135

Tutorial 7: Free Surface Flow Over a Bump

Introduction139
Tutorial 7 Features139
Overview of the Problem to Solve140
Defining a Simulation in ANSYS CFX-Pre141
Obtaining a Solution using ANSYS CFX-Solver Manager148
Viewing the Results in ANSYS CFX-Post149
Using a Supercritical Outlet Condition154

Tutorial 8: Supersonic Flow Over a Wing

Introduction155
Tutorial 8 Features155
Overview of the Problem to Solve157
Defining a Simulation in ANSYS CFX-Pre157
Obtaining a Solution using ANSYS CFX-Solver Manager162
Viewing the Results in ANSYS CFX-Post162

Tutorial 9: Flow Through a Butterfly Valve

Introduction165
Tutorial 9 Features165
Overview of the Problem to Solve166
Defining a Simulation in ANSYS CFX-Pre167
Obtaining a Solution using ANSYS CFX-Solver Manager180
Viewing the Results in ANSYS CFX-Post180

Tutorial 10:

Table of Contents: Tutorial 1: Non-Newtonian Fluid Flow in an Annulus

Page viiiANSYS CFX Tutorials

Introduction185
Tutorial 10 Features185
Overview of the Problem to Solve186
Defining a Simulation in ANSYS CFX-Pre187
Obtaining a Solution using ANSYS CFX-Solver Manager193
Viewing the Results in ANSYS CFX-Post194

Flow in a Catalytic Converter

Tutorial 1: Non-Newtonian Fluid Flow in an Annulus

Introduction199
Tutorial 1 Features200
Overview of the Problem to Solve201
Defining a Simulation in ANSYS CFX-Pre201
Obtaining a Solution using ANSYS CFX-Solver Manager205
Viewing the Results in ANSYS CFX-Post206

Tutorial 12: Flow in an Axial Rotor/Stator

Introduction207
Tutorial 12 Features208
Overview of the Problem to Solve209
Defining a Frozen Rotor Simulation in ANSYS CFX-Pre210
Obtaining a Solution to the Frozen Rotor Model214
Viewing the Frozen Rotor Results in ANSYS CFX-Post215
Setting up a Transient Rotor-Stator Calculation216
Obtaining a Solution to the Transient Rotor-Stator Model219
Viewing the Transient Rotor-Stator Results in ANSYS CFX-Post220

Tutorial 13: Reacting Flow in a Mixing Tube

Introduction223
Tutorial 13 Features223
Overview of the Problem to Solve224
Outline of the Process224
Defining a Simulation in ANSYS CFX-Pre225
Obtaining a Solution using ANSYS CFX-Solver Manager237
Viewing the Results in ANSYS CFX-Post237

Tutorial 14:

Table of Contents: Tutorial 15: Multiphase Flow in Mixing Vessel

ANSYS CFX TutorialsPage ix

Introduction239
Tutorial 14 Features240
Overview of the Problem to Solve241
Defining a Simulation in ANSYS CFX-Pre241
Obtaining a Solution using ANSYS CFX-Solver Manager246
Viewing the Results in ANSYS CFX-Post246
Exporting the Results to ANSYS247

Conjugate Heat Transfer in a Heating Coil

Tutorial 15: Multiphase Flow in Mixing Vessel

Introduction251
Tutorial 15 Features252
Overview of the Problem to Solve253
Defining a Simulation in ANSYS CFX-Pre253
Obtaining a Solution using ANSYS CFX-Solver Manager265
Viewing the Results in ANSYS CFX-Post265

Tutorial 16: Gas-Liquid Flow in an Airlift Reactor

Introduction269
Tutorial 16 Features270
Overview of the Problem to Solve270
Defining a Simulation in ANSYS CFX-Pre271
Obtaining a Solution using ANSYS CFX-Solver Manager277
Viewing the Results in ANSYS CFX-Post278
Additional Fine Mesh Simulation Results280

Tutorial 17: Air Conditioning Simulation

Introduction283
Tutorial 17 Features284
Overview of the Problem to Solve285
Defining a Simulation in ANSYS CFX-Pre285
Obtaining a Solution using ANSYS CFX-Solver Manager295
Viewing the Results in ANSYS CFX-Post295

Tutorial 18: Combustion and Radiation in a Can Combustor

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .299

Table of Contents: Tutorial 19: Cavitation Around a Hydrofoil

Tutorial 18 Features300
Overview of the Problem to Solve301
Using Eddy Dissipation and P1 Models301
Defining a Simulation in ANSYS CFX-Pre302
Obtaining a Solution using ANSYS CFX-Solver Manager307
Viewing the Results in ANSYS CFX-Post308
Laminar Flamelet and Discrete Transfer Models311
Further Postprocessing316

Page xANSYS CFX Tutorials

Tutorial 19: Cavitation Around a Hydrofoil

Introduction317
Tutorial 19 Features318
Overview of the Problem to Solve319
Creating an Initial Simulation319
Obtaining an Initial Solution using ANSYS CFX-Solver Manager323
Viewing the Results of the Initial Simulation324
Preparing a Simulation with Cavitation326
Obtaining a Cavitation Solution using ANSYS CFX-Solver Manager328
Viewing the Results of the Cavitation Simulation328

Tutorial 20: Fluid Structure Interaction and Mesh Deformation

Introduction331
Tutorial 20 Features332
Overview of the Problem to Solve3
Using CEL Expressions to Govern Mesh Deformation334
Using a Junction Box Routine to Govern Mesh Deformation343

Tutorial 21: Oscillating Plate with Two-Way Fluid-Structure Interaction

Introduction353
Tutorial 21 Features354
Overview of the Problem to Solve354
Setting up the Solid Physics in Simulation (ANSYS Workbench)355
Setting up the Fluid Physics and ANSYS Multi-field Settings in ANSYS CFX-Pre358
Obtaining a Solution using ANSYS CFX-Solver Manager364
Viewing Results in ANSYS CFX-Post365

Tutorial 2:

Table of Contents: Tutorial 23: Aerodynamic & Structural Performance of a Centrifugal Compressor

ANSYS CFX TutorialsPage xi

Introduction369
Tutorial 2 Features370
Overview of the Problem to Solve370
Creating the Project371
Creating the Geometry372
Creating the Mesh377
Overview of ANSYS CFX-Pre380
Setting the Output Parameter in ANSYS CFX-Post386
Running Design Studies in DesignXplorer387

Optimizing Flow in a Static Mixer

Tutorial 23: Aerodynamic & Structural Performance of a Centrifugal Compressor

Introduction395
Tutorial 23 Features396
Overview of the Problem to Solve397
Reviewing the Centrifugal Compressor Design397
Creating the Mesh in ANSYS TurboGrid398
Defining the Aerodynamic Simulation in ANSYS CFX-Pre401
Obtaining a Solution using ANSYS CFX-Solver Manager403
Viewing the Results in ANSYS CFX-Post404
Importing Geometry into DesignModeler405
Simulating Structural Stresses Due to Pressure Loads406

Simulating Structural Stresses Due to Rotation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .407

Table of Contents: Tutorial 23: Aerodynamic & Structural Performance of a Centrifugal Compressor Page xiiANSYS CFX Tutorials

Page 1 ANSYS CFX Release 1.0. © 1996-2006 ANSYS Europe, Ltd. All rights reserved.

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

ANSYS CFX Tutorials

Introduction to the ANSYS CFX Tutorials

Overview

These tutorials are designed to introduce general techniques used in ANSYS CFX and provide tips on advanced modeling.

Earlier tutorials introduce general principles used in ANSYS CFX, including setting up the physical models, running ANSYS CFX-Solver and visualizing the results. The remaining tutorials highlight specialized features of ANSYS CFX.

Files required to complete each tutorial is listed in the introduction to the tutorial, and located in<CFXROOT>/examples, where<CFXROOT> is the installation directory.

Setting the Working Directory

OneofthefirstthingsyoumustdowhenusingANSYSCFXistosetaworkingdirectory.The working directory is the default location for loading and saving files for a particular session or project.

The working directory is set according to how you run ANSYS CFX:

• Workbench Set the working directory by saving a project file.

• Standalone Set the working directory by entering it in CFX Launcher.

Introduction to the ANSYS CFX Tutorials: Changing the Display Colors

Page 2ANSYS CFX Tutorials. ANSYS CFX Release 1.0. © 1996-2006 ANSYS Europe, Ltd. All rights reserved. Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Changing the Display Colors

IfviewingobjectsinANSYSCFXbecomesdifficultduetocontrastwiththebackground,the colors can be altered for improved viewing. The color options are set in different places, depending on how you run ANSYS CFX, as follows:

•In standalone mode (i.e., after using CFX Launcher to launch ANSYS CFX-Pre or ANSYS CFX-Post):

a. Select Edit > Options. TheOptions dialog box appears.

b. AdjustthecolorsettingsunderCFX-Pre>Viewer(forANSYSCFX-Pre)orCFX-Post >Viewer (for ANSYS CFX-Post).

c. Click OK.

•In ANSYS Workbench: a.SelectTools >Options from the Project page. b.Adjust the color settings underCommon Settings >Graphics Style. c. Click OK.

Page 3 ANSYS CFX Release 1.0. © 1996-2006 ANSYS Europe, Ltd. All rights reserved.

Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

ANSYS CFX Tutorials

Tutorial 1:

Simulating Flow in a Static

Mixer Using CFX in Standalone Mode

Introduction

This tutorial simulates a static mixer consisting of two inlet pipes delivering water into a mixing vessel; the water exits through an outlet pipe. A general workflow is established for analyzing the flow of fluid into and out of a mixer.

This tutorial includes: •Before You Begin(p.4)

•Obtaining a Solution Using ANSYS CFX-Solver Manager(p.12)

If this is the first tutorial you are working with, it is important to review the following topics before beginning:

To learn how to perform these tasks in Workbench, seeTutorial 1a: Simulating Flow in a Static Mixer Using Workbench (p.31 in "ANSYS CFX Tutorials").

Tutorial 1: Simulating Flow in a Static Mixer Using CFX in Standalone Mode: Before You Begin

Page 4ANSYS CFX Tutorials. ANSYS CFX Release 1.0. © 1996-2006 ANSYS Europe, Ltd. All rights reserved. Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Before You Begin

Create a working directory for your files. Once this is done, copy the sample files used in this tutorial to your working directory from the installation folder for your software (<CFXROOT>/examples/ (for example,C:\Program Files\ANSYS Inc\v110\CFX\examples)) to avoid overwriting source files provided with your installation. If you plan to use a session file, please refer toPlaying a Session File(p.7).

Sample files used by this tutorial are:

• StaticMixerMesh.gtm • StaticMixer.pre

Tutorial 1 Features This tutorial addresses the following features of ANSYS CFX.

In this tutorial you will learn about:

Component Feature Details ANSYS CFX-PreUser ModeQuick Setup Wizard

Simulation TypeSteady State Fluid TypeGeneral Fluid Domain TypeSingle Domain Turbulence Model k-Epsilon Heat TransferThermal Energy Boundary ConditionsInlet (Subsonic)

Outlet (Subsonic) Wall: No-Slip Wall: Adiabatic

TimestepPhysical Time Scale

ANSYS CFX-Post Plots Animation

Contour Outline Plot (Wireframe) Point Slice Plane Streamline

Tutorial 1: Simulating Flow in a Static Mixer Using CFX in Standalone Mode: Overview of the Problem to Solve

ANSYS CFX Tutorials. ANSYS CFX Release 1.0. © 1996-2006 ANSYS Europe, Ltd. All rights reserved.Page 5 Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Overview of the Problem to Solve

This tutorial simulates a static mixer consisting of two inlet pipes delivering water into a mixing vessel; the water exits through an outlet pipe. A general workflow is established for analyzing the flow of fluid into and out of a mixer.

Water enters through both pipes at the same rate but at different temperatures. The first entry is at a rate of 2 m/s and a temperature of 315 K and the second entry is at a rate of 2 m/s at a temperature of 285 K. The radius of the mixer is 2 m.

YourgoalinthistutorialistounderstandhowtouseANSYSCFXtodeterminethespeedand temperature of the water when it exits the static mixer. Figure 1Static Mixer with 2 Inlet Pipes and 1 Outlet Pipe

2 m/s 285 K

2 m/s 315 K r=2m

Tutorial1:SimulatingFlowinaStaticMixerUsingCFXinStandaloneMode:DefiningaSimulationinANSYSCFX-Pre

Page 6ANSYS CFX Tutorials. ANSYS CFX Release 1.0. © 1996-2006 ANSYS Europe, Ltd. All rights reserved. Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Defining a Simulation in ANSYS CFX-Pre

Becauseyouarestartingwithanexistingmesh,youcanimmediatelyuseANSYSCFX-Preto define the simulation. This is how ANSYS CFX-Pre will look with the imported mesh:

In the image above, the left pane of ANSYS CFX-Pre displays theOutline . When you double-click on items in theOutline, theOutline editor opens and can be used to create, modify, and view objects.

Note:In this documentation, the details view can also be referenced by the name of the object being edited, followed by the word “details view” (for example, if you double-click theWireframe object, theWireframe details view appears).

Synopsis of Quick Setup Mode

Quick Setup mode provides a simple wizard–like interface for setting up simple cases. This is useful for getting familiar with the basic elements of a CFD problem setup. This section describes using Quick Setup mode to develop a simulation in ANSYS CFX-Pre.

Workflow Overview

This tutorial follows the general workflow for Quick Setup mode:

Tutorial1:SimulatingFlowinaStaticMixerUsingCFXinStandaloneMode:DefiningaSimulationinANSYSCFX-Pre

ANSYS CFX Tutorials. ANSYS CFX Release 1.0. © 1996-2006 ANSYS Europe, Ltd. All rights reserved.Page 7 Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

Playing aSession FileIf you want to skip past these instructions and have ANSYS CFX-Pre set up the simulation automatically, you can selectSession >Play Tutorial from the menu in ANSYS CFX-Pre, then run the appropriate session file. For details, seePlaying the Session File and Starting ANSYS CFX-Solver Manager (p.12). After you have played the session file, proceed to Obtaining a Solution Using ANSYS CFX-Solver Manager(p.12).

Creating a New Simulation

Before importing and working with a mesh, a simulation needs to be started using Quick Setup mode.

Procedure1.If required, launch ANSYS CFX-Pre.

2.SelectFile >New Simulation. TheNew Simulation File dialog box is displayed.

3.SelectQuick Setup and clickOK.

Note:If this is the first time you are running this software, a message box will appear notifyingyouthatautomaticgenerationofthedefaultdomainisactive.Toavoidseeingthis message again uncheckShow This Message Again.

4.SelectFile >Save Simulation As. 5.UnderFile name, type:StaticMixer 6. Click Save.

Setting the Physics Definition

You need to specify the fluids used in a simulation. A variety of fluids are already defined as library materials. For this tutorial you will use a prepared fluid, Water, which is defined to be water at 25°C.

Procedure1.Ensure thatSimulation Definition is displayed at the top of the details view. 2. Under Fluid select Water.

Importing a Mesh At least one mesh must be imported before physics are applied.

Procedure1.InSimulation Definition, underMesh File, clickBrowse. TheImport Mesh dialog box appears.

Tutorial1:SimulatingFlowinaStaticMixerUsingCFXinStandaloneMode:DefiningaSimulationinANSYSCFX-Pre

Page 8ANSYS CFX Tutorials. ANSYS CFX Release 1.0. © 1996-2006 ANSYS Europe, Ltd. All rights reserved. Contains proprietary and confidential information of ANSYS, Inc. and its subsidiaries and affiliates.

2.UnderFile type, selectCFX Mesh (*gtm *cfx). 3.From your working directory, selectStaticMixerMesh.gtm.

4. Click Open. The mesh loads.

5. Click Next.

Using the Viewer

Nowthatthemeshisloaded,takeamomenttoexplorehowyoucanusetheviewertoolbar to zoom in or out and to rotate the object in the viewer.

Using the ZoomTools There are several icons available for controlling the level of zoom in the viewer.

1.ClickZoom Box 2.Click and drag a rectangular box over the geometry.

3.Release the mouse button to zoom in on the selection. The geometry zoom changes to display the selection at a greater resolution.

4.ClickFit View to re-center and re-scale the geometry.

Rotating thegeometry Ifyouneedtorotateanobjectortoviewitfromanewangle,youcanusetheviewertoolbar.

1.ClickRotate on the viewer toolbar.

2.Click and drag within the geometry repeatedly to test the rotation of the geometry.

The geometry rotates based on the direction of movement. Notice how the mouse cursor changes depending on where you are in the viewer:

3.Right-click a blank area in the viewer and selectPredefined Camera >View Towards-X).

4. Right-click a blank area in the viewer and select Predefined Camera > Isometric View (Z Up).

(Parte 1 de 5)

Comentários