tutoriale ansys 1f

download tutoriale ansys 1f

of 578

Transcript of tutoriale ansys 1f

  • 8/13/2019 tutoriale ansys 1f

    1/577

    ANSYS CFX Tutorials

    Release 12.1ANSYS, Inc.November 2009Southpointe

    275 Technology Drive ANSYS, Inc. iscertied to ISO9001:2008.

    Canonsburg, PA [email protected]://www.ansys.com(T) 724-746-3304(F) 724-514-9494

  • 8/13/2019 tutoriale ansys 1f

    2/577

    Copyright and Trademark Information

    2009 ANSYS, Inc. All rights reserved. Unauthorized use, distribution, or duplication is prohibited.

    ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS and anyand all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registered trademarks or trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademark used by ANSYS, Inc. underlicense. CFX is a trademark of Sony Corporation in Japan. All other brand, product, service and feature names or trademarksare the property of their respective owners.

    Disclaimer Notice

    THIS ANSYS SOFTWARE PRODUCT AND PROGRAM DOCUMENTATION INCLUDE TRADE SECRETS AND ARECONFIDENTIAL AND PROPRIETARY PRODUCTS OF ANSYS, INC., ITS SUBSIDIARIES, OR LICENSORS. Thesoftware products and documentation are furnished by ANSYS, Inc., its subsidiaries, or afliates under a software licenseagreement that contains provisions concerning non-disclosure, copying, length and nature of use, compliance with exportinglaws, warranties, disclaimers, limitations of liability, and remedies, and other provisions. The software products and documentationmay be used, disclosed, transferred, or copied only in accordance with the terms and conditions of that software license agreement.

    ANSYS, Inc. is certied to ISO 9001:2008.

    ANSYS UK Ltd. is a UL registered ISO 9001:2000 company.

    U.S. Government Rights

    For U.S. Government users, except as specically 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 agreementand FAR 12.212 (for non-DOD licenses).

    Third-Party Software

    See the legal information in the product help les for the complete Legal Notice for ANSYS proprietary software and third-partysoftware. If you are unable to access the Legal Notice, please contact ANSYS, Inc.

    Published in the U.S.A.

    2

  • 8/13/2019 tutoriale ansys 1f

    3/577

    Table of Contents1. Introduction to the CFX Tutorials .................................................................................................................... 1

    Preparing a Working Directory and Starting ANSYS CFX in Standalone Mode ........................................... 1Running ANSYS CFX Tutorials in ANSYS Workbench .......................................................................... 1Starting CFX-Pre ............................................................................................................................. 2Writing the CFX-Solver Input (.def) File .............................................................................................. 2Obtaining a Solution Using CFX-Solver Manager .................................................................................. 2

    Viewing the Results in CFD-Post ........................................................................................................ 2Creating CFX Component Systems for Multiple Simulations (As Required) ............................................... 3Closing the Applications ................................................................................................................... 3Playing a Tutorial Session File ........................................................................................................... 3Changing the Display Colors ............................................................................................................. 4Editor Buttons ................................................................................................................................. 4Using Help ..................................................................................................................................... 4

    2. Simulating Flow in a Static Mixer Using CFX in Standalone Mode ........................................................................ 5Tutorial Features ............................................................................................................................. 5Overview of the Problem to Solve ....................................................................................................... 6Before You Begin ............................................................................................................................ 6Starting CFX-Pre ............................................................................................................................. 6Dening a Case in CFX-Pre .............................................................................................................. 6Synopsis of Quick Setup Mode ........................................................................................................... 7Workow Overview ......................................................................................................................... 7Creating a New Case ........................................................................................................................ 8Setting the Physics Denition ............................................................................................................ 8Importing a Mesh ............................................................................................................................ 8Using the Viewer ............................................................................................................................. 8Dening Model Data ........................................................................................................................ 9Dening Boundaries ........................................................................................................................ 9Setting Boundary Data .................................................................................................................... 10Setting Flow Specication ............................................................................................................... 10Setting Temperature Specication ..................................................................................................... 10Reviewing the Boundary Condition Denitions ................................................................................... 10

    Creating the Second Inlet Boundary Denition .................................................................................... 10Creating the Outlet Boundary Denition ............................................................................................ 11Moving to General Mode ................................................................................................................. 11Setting Solver Control ..................................................................................................................... 11Writing the CFX-Solver Input (.def) File ............................................................................................ 12Playing the Session File and Starting CFX-Solver Manager .................................................................... 12Obtaining a Solution Using CFX-Solver Manager ................................................................................ 12Start the Run ................................................................................................................................. 13Move from CFX-Solver to CFD-Post ................................................................................................. 13Viewing the Results in CFD-Post ...................................................................................................... 14Workow Overview ....................................................................................................................... 15Setting the Edge Angle for a Wireframe Object .................................................................................... 15Creating a Point for the Origin of the Streamline .................................................................................. 16

    Creating a Streamline Originating from a Point .................................................................................... 16Rearranging the Point ..................................................................................................................... 17Conguring a Default Legend .......................................................................................................... 18Creating a Slice Plane ..................................................................................................................... 19Dening Slice Plane Geometry ......................................................................................................... 19Conguring Slice Plane Views .......................................................................................................... 20Rendering Slice Planes .................................................................................................................... 20Coloring the Slice Plane .................................................................................................................. 21Moving the Slice Plane ................................................................................................................... 22Adding Contours ........................................................................................................................... 22Working with Animations ................................................................................................................ 23

    ii

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

  • 8/13/2019 tutoriale ansys 1f

    4/577

    Showing the Animation Dialog Box ................................................................................................... 23Creating the First Keyframe ............................................................................................................. 24Creating the Second Keyframe ......................................................................................................... 25Viewing the Animation ................................................................................................................... 26Modifying the Animation ................................................................................................................ 27Saving a Movie .............................................................................................................................. 28Quitting CFD-Post ......................................................................................................................... 28

    3. Simulating Flow in a Static Mixer Using Workbench ......................................................................................... 29

    Tutorial Features ............................................................................................................................ 29Overview of the Problem to Solve ..................................................................................................... 30Before You Begin ........................................................................................................................... 30Starting ANSYS Workbench ............................................................................................................ 30Starting CFX-Pre from ANSYS Workbench ........................................................................................ 31Creating the Simulation Denition .................................................................................................... 32Setting the Physics Denition ........................................................................................................... 32Dening Boundaries ....................................................................................................................... 32Setting Boundary Data .................................................................................................................... 32Creating the Second Inlet Boundary Denition .................................................................................... 33Creating the Outlet Boundary Denition ............................................................................................ 33Moving to General Mode ................................................................................................................. 33Using the Viewer ........................................................................................................................... 33

    Setting Solver Control ..................................................................................................................... 34Obtaining a Solution Using CFX-Solver Manager ................................................................................ 35Display the Results in CFD-Post ....................................................................................................... 36Viewing the Results in CFD-Post ...................................................................................................... 37Workow Overview ....................................................................................................................... 37Setting the Edge Angle for a Wireframe Object .................................................................................... 38Creating a Point for the Origin of the Streamline .................................................................................. 39Creating a Streamline Originating from a Point .................................................................................... 40Rearranging the Point ..................................................................................................................... 40Conguring a Default Legend .......................................................................................................... 41Creating a Slice Plane ..................................................................................................................... 42Dening Slice Plane Geometry ......................................................................................................... 43Conguring Slice Plane Views .......................................................................................................... 43Rendering Slice Planes .................................................................................................................... 44Coloring the Slice Plane .................................................................................................................. 44Moving the Slice Plane ................................................................................................................... 45Adding Contours ........................................................................................................................... 45Working with Animations ................................................................................................................ 46Showing the Animation Dialog Box ................................................................................................... 47Creating the First Keyframe ............................................................................................................. 47Creating the Second Keyframe ......................................................................................................... 48Viewing the Animation ................................................................................................................... 49Modifying the Animation ................................................................................................................ 50Saving a Movie .............................................................................................................................. 51Closing the Applications .................................................................................................................. 51

    4. Flow in a Static Mixer (Rened Mesh) ........................................................................................................... 53Tutorial Features ............................................................................................................................ 53Overview of the Problem to Solve ..................................................................................................... 53Before You Begin ........................................................................................................................... 54Starting CFX-Pre ........................................................................................................................... 54Dening a Simulation using General Mode in CFX-Pre ......................................................................... 54Workow Overview ....................................................................................................................... 54Creating a New Case ...................................................................................................................... 54Importing a Mesh ........................................................................................................................... 55Importing CCL .............................................................................................................................. 55Viewing Domain Settings ................................................................................................................ 56Viewing the Boundary Condition Setting ............................................................................................ 56

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    iv Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

    ANSYS CFX Tutorials

  • 8/13/2019 tutoriale ansys 1f

    5/577

    Dening Solver Parameters .............................................................................................................. 56Writing the CFX-Solver Input (.def) File ............................................................................................ 57Playing the Session File and Starting CFX-Solver Manager .................................................................... 58Obtaining a Solution Using CFX-Solver Manager ................................................................................ 58Workow Overview ....................................................................................................................... 58Starting the Run with an Initial Values File .......................................................................................... 59Conrming Results ........................................................................................................................ 59Moving from CFX-Solver to CFD-Post .............................................................................................. 59

    Viewing the Results in CFD-Post ...................................................................................................... 60Creating a Slice Plane ..................................................................................................................... 60Coloring the Slice Plane .................................................................................................................. 61Loading Results from Tutorial 1 for Comparison .................................................................................. 61Creating a Second Slice Plane .......................................................................................................... 62Comparing Slice Planes Using Multiple Views .................................................................................... 62Viewing the Surface Mesh on the Outlet ............................................................................................. 63Looking at the Inated Elements in Three Dimensions .......................................................................... 63Viewing the Surface Mesh on the Mixer Body ..................................................................................... 64Viewing the Layers of Inated Elements on a Plane .............................................................................. 65Viewing the Mesh Statistics ............................................................................................................. 65Viewing the Mesh Elements with Largest Face Angle ............................................................................ 65Viewing the Mesh Elements with Largest Face Angle Using a Point ......................................................... 66

    Quitting CFD-Post ......................................................................................................................... 665. Flow in a Process Injection Mixing Pipe .......................................................................................................... 67

    Tutorial Features ............................................................................................................................ 67Overview of the Problem to Solve ..................................................................................................... 68Before You Begin ........................................................................................................................... 68Starting CFX-Pre ........................................................................................................................... 69Dening a Simulation using General Mode in CFX-Pre ......................................................................... 69Workow Overview ....................................................................................................................... 69Creating a New Case ...................................................................................................................... 69Importing a Mesh ........................................................................................................................... 70Setting Temperature-Dependent Material Properties ............................................................................. 70Plotting an Expression .................................................................................................................... 71Evaluating an Expression ................................................................................................................. 71Modify Material Properties .............................................................................................................. 71Creating the Domain ....................................................................................................................... 72Creating the Side Inlet Boundary ...................................................................................................... 72Creating the Main Inlet Boundary ..................................................................................................... 73Creating the Main Outlet Boundary ................................................................................................... 74Setting Initial Values ....................................................................................................................... 74Setting Solver Control ..................................................................................................................... 74Writing the CFX-Solver Input (.def) File ............................................................................................ 75Obtaining a Solution Using CFX-Solver Manager ................................................................................ 75Moving from CFX-Solver Manager to CFD-Post ................................................................................. 75Viewing the Results in CFD-Post ...................................................................................................... 76Workow Overview ....................................................................................................................... 76Modifying the Outline of the Geometry .............................................................................................. 76Creating and Modifying Streamlines Originating from the Main Inlet ...................................................... 76Modifying Streamline Color Ranges .................................................................................................. 76Coloring Streamlines with a Constant Color ........................................................................................ 77Creating Streamlines Originating from the Side Inlet ............................................................................ 77Examining Turbulence Kinetic Energy ............................................................................................... 78Quitting CFD-Post ......................................................................................................................... 78

    6. Flow from a Circular Vent ............................................................................................................................ 79Tutorial Features ............................................................................................................................ 79Overview of the Problem to Solve ..................................................................................................... 80Before You Begin ........................................................................................................................... 80Starting CFX-Pre ........................................................................................................................... 80

    v

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

    ANSYS CFX Tutorials

  • 8/13/2019 tutoriale ansys 1f

    6/577

    Dening a Multiple-Analysis Simulation in CFX-Pre ........................................................................... 81Importing the Mesh ........................................................................................................................ 81Creating an Additional Variable ........................................................................................................ 81Renaming the Analysis .................................................................................................................... 82Creating the Domain ....................................................................................................................... 82Creating the Boundaries .................................................................................................................. 82Setting Initial Values ....................................................................................................................... 85Setting Solver Control ..................................................................................................................... 85

    Creating a Transient Flow Analysis .................................................................................................... 85Modifying the Analysis Type ............................................................................................................ 85Modifying the Boundary Conditions .................................................................................................. 86Initialization Values ........................................................................................................................ 88Modifying the Solver Control ........................................................................................................... 88Output Control .............................................................................................................................. 88Conguring Simulation Control ........................................................................................................ 89Writing the CFX-Solver Input File .................................................................................................... 90Obtaining Solutions to the Steady-State and Transient Congurations ...................................................... 90Viewing the Results in CFD-Post ...................................................................................................... 91Displaying Smoke Density Using an Isosurface ................................................................................... 91Viewing the Results at Different Time Steps ........................................................................................ 92Generating Titled Image Files ........................................................................................................... 92

    Generating a Movie ........................................................................................................................ 937. Flow Around a Blunt Body ........................................................................................................................... 95

    Tutorial Features ............................................................................................................................ 95Overview of the Problem to Solve ..................................................................................................... 96Before You Begin ........................................................................................................................... 96Starting CFX-Pre ........................................................................................................................... 96Dening a Case in CFX-Pre ............................................................................................................. 97Importing the Mesh ........................................................................................................................ 97Creating the Domain ....................................................................................................................... 97Creating Composite Regions ............................................................................................................ 98Creating the Boundaries .................................................................................................................. 98Setting Initial Values ..................................................................................................................... 100Setting Solver Control ................................................................................................................... 101Writing the CFX-Solver Input (.def) File .......................................................................................... 101Obtaining a Solution Using CFX-Solver Manager .............................................................................. 101Obtaining a Solution in Serial ......................................................................................................... 101Obtaining a Solution in Parallel ....................................................................................................... 102Viewing the Results in CFD-Post .................................................................................................... 105Using Symmetry Plane to Display the Full Geometry .......................................................................... 105Creating Velocity Vectors ............................................................................................................... 106Displaying Pressure Distribution on Body and Symmetry Plane ............................................................ 108Creating Surface Streamlines to Display the Path of Air along the Surface of the Body .............................. 108Moving Objects ........................................................................................................................... 109Creating a Surface Plot of y+ .......................................................................................................... 109Demonstrating Power Syntax .......................................................................................................... 110Viewing the Mesh Partitions (Parallel Only) ...................................................................................... 111

    8. Buoyant Flow in a Partitioned Cavity ............................................................................................................ 113Tutorial Features .......................................................................................................................... 113Overview of the Problem to Solve ................................................................................................... 114Before You Begin ......................................................................................................................... 114Starting CFX-Pre ......................................................................................................................... 114Dening a Case in CFX-Pre ........................................................................................................... 115Importing the Mesh ...................................................................................................................... 115Analysis Type .............................................................................................................................. 115Creating the Domain ..................................................................................................................... 116Creating the Boundaries ................................................................................................................ 117Setting Initial Values ..................................................................................................................... 118

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    vi Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

    ANSYS CFX Tutorials

  • 8/13/2019 tutoriale ansys 1f

    7/577

    Setting Output Control .................................................................................................................. 119Setting Solver Control ................................................................................................................... 119Writing the CFX-Solver Input (.def) File .......................................................................................... 120Obtaining a Solution Using CFX-Solver Manager .............................................................................. 120Viewing the Results in CFD-Post .................................................................................................... 120Simple Report ............................................................................................................................. 120Plots for Customized Reports ......................................................................................................... 121Customized Report ....................................................................................................................... 123

    Animations ................................................................................................................................. 123Completion ................................................................................................................................. 1239. Free Surface Flow Over a Bump .................................................................................................................. 125

    Tutorial Features .......................................................................................................................... 125Overview of the Problem to Solve ................................................................................................... 126Approach to the Problem ............................................................................................................... 126Before You Begin ......................................................................................................................... 126Starting CFX-Pre ......................................................................................................................... 126Dening a Simulation in CFX-Pre ................................................................................................... 126Importing the Mesh ...................................................................................................................... 127Creating Expressions for Initial and Boundary Conditions .................................................................... 127Creating the Domain ..................................................................................................................... 128Creating the Boundaries ................................................................................................................ 130

    Setting Initial Values ..................................................................................................................... 132Setting Mesh Adaption Parameters .................................................................................................. 132Setting the Solver Controls ............................................................................................................. 133Writing the CFX-Solver Input (.def) File .......................................................................................... 134Obtaining a Solution Using CFX-Solver Manager .............................................................................. 134Viewing the Results in CFD-Post .................................................................................................... 135Creating Velocity Vector Plots ......................................................................................................... 135Viewing Mesh Renement ............................................................................................................. 136Creating an Isosurface to Show the Free Surface ................................................................................ 139Creating a Polyline that Follows the Free Surface ............................................................................... 139Creating a Chart to Show the Height of the Surface ............................................................................. 139Further Postprocessing .................................................................................................................. 140Using a Supercritical Outlet Condition ............................................................................................. 140

    10. Supersonic Flow Over a Wing .................................................................................................................... 141Tutorial Features .......................................................................................................................... 141Overview of the Problem to Solve ................................................................................................... 142Approach to the Problem ............................................................................................................... 142Before You Begin ......................................................................................................................... 142Starting CFX-Pre ......................................................................................................................... 142Dening a Case in CFX-Pre ........................................................................................................... 143Importing the Mesh ...................................................................................................................... 143Creating the Domain ..................................................................................................................... 143Creating the Boundaries ................................................................................................................ 144Creating Domain Interfaces ............................................................................................................ 146Setting Initial Values ..................................................................................................................... 146Setting the Solver Controls ............................................................................................................. 147Writing the CFX-Solver Input (.def) File .......................................................................................... 147Obtaining a Solution Using CFX-Solver Manager .............................................................................. 147Viewing the Results in CFD-Post .................................................................................................... 147Displaying Mach Information ......................................................................................................... 148Displaying Pressure Information ..................................................................................................... 148Displaying Temperature Information ................................................................................................ 148Displaying Pressure With User Vectors ............................................................................................. 149

    11. Flow Through a Buttery Valve ................................................................................................................. 151Tutorial Features .......................................................................................................................... 151Overview of the Problem to Solve ................................................................................................... 152Approach to the Problem ............................................................................................................... 152

    vii

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

    ANSYS CFX Tutorials

  • 8/13/2019 tutoriale ansys 1f

    8/577

    Before You Begin ......................................................................................................................... 153Starting CFX-Pre ......................................................................................................................... 153Dening a Simulation in CFX-Pre ................................................................................................... 153Creating a New Case ..................................................................................................................... 153Importing the Mesh ...................................................................................................................... 153Dening the Properties of the Sand .................................................................................................. 153Creating the Domain ..................................................................................................................... 154Creating the Inlet Velocity Prole .................................................................................................... 157

    Creating the Boundary Conditions ................................................................................................... 158Setting Initial Values ..................................................................................................................... 161Setting the Solver Controls ............................................................................................................. 161Writing the CFX-Solver Input (.def) File .......................................................................................... 162Obtaining a Solution Using CFX-Solver Manager .............................................................................. 163Viewing the Results in CFD-Post .................................................................................................... 163Erosion Due to Sand Particles ......................................................................................................... 163Displaying Erosion on the Pipe Wall ................................................................................................ 163Setting the Particle Tracks .............................................................................................................. 164Creating the Particle Track Symbols ................................................................................................. 164Creating a Particle Track Animation ................................................................................................. 165Determining Minimum, Maximum, and Average Pressure Values .......................................................... 165

    12. Flow in a Catalytic Converter .................................................................................................................... 167

    Tutorial Features .......................................................................................................................... 167Overview of the Problem to Solve ................................................................................................... 168Approach to the Problem ............................................................................................................... 168Before You Begin ......................................................................................................................... 169Starting CFX-Pre ......................................................................................................................... 169Dening a Case in CFX-Pre ........................................................................................................... 169Importing the Meshes .................................................................................................................... 169Creating the Fluid Domain ............................................................................................................. 171Creating the Porous Domain ........................................................................................................... 172Creating the Boundaries ................................................................................................................ 173Creating the Domain Interfaces ....................................................................................................... 174Setting Initial Values ..................................................................................................................... 175Setting Solver Control ................................................................................................................... 175Setting a Discretization Option ....................................................................................................... 175Writing the CFX-Solver Input (.def) File .......................................................................................... 176Obtaining a Solution Using CFX-Solver Manager .............................................................................. 176Viewing the Results in CFD-Post .................................................................................................... 176Viewing the Mesh on a GGI Interface ............................................................................................... 177Creating User Locations ................................................................................................................ 178Creating Plots .............................................................................................................................. 179Exporting Polyline Data ................................................................................................................ 180

    13. Non-Newtonian Fluid Flow in an Annulus .................................................................................................... 183Tutorial Features .......................................................................................................................... 183Background Theory ...................................................................................................................... 183Overview of the Problem to Solve ................................................................................................... 184Before You Begin ......................................................................................................................... 185Starting CFX-Pre ......................................................................................................................... 185Dening a Case in CFX-Pre ........................................................................................................... 186Importing the Mesh ...................................................................................................................... 186Creating the Fluid ......................................................................................................................... 186Creating the Domain ..................................................................................................................... 187Creating the Boundaries ................................................................................................................ 187Setting Initial Values ..................................................................................................................... 188Setting Solver Control ................................................................................................................... 189Writing the CFX-Solver Input (.def) File .......................................................................................... 189Obtaining a Solution Using CFX-Solver Manager .............................................................................. 190Viewing the Results in CFD-Post .................................................................................................... 190

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    viii Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

    ANSYS CFX Tutorials

  • 8/13/2019 tutoriale ansys 1f

    9/577

    14. Flow in an Axial Rotor/Stator .................................................................................................................... 193Tutorial Features .......................................................................................................................... 193Overview of the Problem to Solve ................................................................................................... 194Before You Begin ......................................................................................................................... 196Starting CFX-Pre ......................................................................................................................... 196Dening a Frozen Rotor Case in CFX-Pre ......................................................................................... 197Basic Settings .............................................................................................................................. 197Component Denition ................................................................................................................... 197

    Physics Denition ........................................................................................................................ 198Interface Denition ...................................................................................................................... 198Boundary Denition ..................................................................................................................... 199Final Operations ........................................................................................................................... 199Writing the CFX-Solver Input (.def) File .......................................................................................... 199Obtaining a Solution to the Frozen Rotor Model ................................................................................. 199Obtaining a Solution in Serial ......................................................................................................... 199Obtaining a Solution With Local Parallel .......................................................................................... 200Obtaining a Solution with Distributed Parallel .................................................................................... 200Viewing the Frozen Rotor Results in CFD-Post .................................................................................. 200Initializing Turbo-Post ................................................................................................................... 200Viewing Three Domain Passages ..................................................................................................... 201Blade Loading Turbo Chart ............................................................................................................ 202

    Setting up a Transient Rotor-Stator Calculation .................................................................................. 202Playing a Session File ................................................................................................................... 202Opening the Existing Case ............................................................................................................. 202Modifying the Physics Denition .................................................................................................... 202Setting Output Control .................................................................................................................. 203Modifying Execution Control ......................................................................................................... 204Writing the CFX-Solver Input (.def) File .......................................................................................... 204Obtaining a Solution to the Transient Rotor-Stator Model ..................................................................... 204Serial Solution ............................................................................................................................. 204Parallel Solution ........................................................................................................................... 205Monitoring the Run ...................................................................................................................... 205Viewing the Transient Rotor-Stator Results in CFD-Post ...................................................................... 205Initializing Turbo-Post ................................................................................................................... 205Displaying a Surface of Constant Span ............................................................................................. 205Using Multiple Turbo Viewports ...................................................................................................... 205Creating a Turbo Surface at Mid-Span .............................................................................................. 206Setting up Instancing Transformations .............................................................................................. 206Animating the movement of the Rotor relative to the Stator .................................................................. 206Further Postprocessing .................................................................................................................. 208

    15. Reacting Flow in a Mixing Tube ................................................................................................................. 209Tutorial Features .......................................................................................................................... 209Overview of the Problem to Solve ................................................................................................... 210Modeling Approach ...................................................................................................................... 211Before You Begin ......................................................................................................................... 212Starting CFX-Pre ......................................................................................................................... 212Dening a Case in CFX-Pre ........................................................................................................... 212Importing the Mesh ...................................................................................................................... 212Creating a Multicomponent Fluid .................................................................................................... 213Creating an Additional Variable to Model pH ..................................................................................... 216Formulating the Reaction and pH as Expressions ................................................................................ 216Creating the Domain ..................................................................................................................... 221Creating a Subdomain to Model the Chemical Reactions ...................................................................... 222Creating the Boundary Conditions ................................................................................................... 223Setting Initial Values ..................................................................................................................... 226Setting Solver Control ................................................................................................................... 227Writing the CFX-Solver Input (.def) File .......................................................................................... 227Obtaining a Solution Using CFX-Solver Manager .............................................................................. 227

    ix

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

    ANSYS CFX Tutorials

  • 8/13/2019 tutoriale ansys 1f

    10/577

    Viewing the Results in CFD-Post .................................................................................................... 22816. Conjugate Heat Transfer in a Heating Coil ................................................................................................... 229

    Tutorial Features .......................................................................................................................... 229Overview of the Problem to Solve ................................................................................................... 230Before You Begin ......................................................................................................................... 230Starting CFX-Pre ......................................................................................................................... 231Dening a Case in CFX-Pre ........................................................................................................... 231Importing the Mesh ...................................................................................................................... 231

    Editing the Material Properties ........................................................................................................ 231Dening the Calcium Carbonate Deposit Material .............................................................................. 232Creating the Domains .................................................................................................................... 232Creating the Boundaries ................................................................................................................ 233Creating the Domain Interface ........................................................................................................ 235Setting Solver Control ................................................................................................................... 235Writing the CFX-Solver Input (.def) File .......................................................................................... 236Obtaining a Solution Using CFX-Solver Manager .............................................................................. 236Viewing the Results in CFD-Post .................................................................................................... 236Heating Coil Temperature Range ..................................................................................................... 236Creating a Cylindrical Locator ........................................................................................................ 237Specular Lighting ......................................................................................................................... 239Moving the Light Source ............................................................................................................... 239

    Exporting the Results to ANSYS ..................................................................................................... 239Exporting Data from CFX-Solver Manager ....................................................................................... 239

    17. Multiphase Flow in a Mixing Vessel ............................................................................................................ 241Tutorial Features .......................................................................................................................... 241Overview of the Problem to Solve ................................................................................................... 242Before You Begin ......................................................................................................................... 243Starting CFX-Pre ......................................................................................................................... 243Dening a Case in CFX-Pre ........................................................................................................... 244Importing the Meshes .................................................................................................................... 244Creating the Domains .................................................................................................................... 246Creating the Boundaries ................................................................................................................ 248Creating the Domain Interfaces ....................................................................................................... 251Setting Initial Values ..................................................................................................................... 255Setting Solver Control ................................................................................................................... 256Adding Monitor Points .................................................................................................................. 256Writing the CFX-Solver Input (.def) File .......................................................................................... 257Obtaining a Solution Using CFX-Solver Manager .............................................................................. 257Examining the Results in CFD-Post ................................................................................................. 257Creating a Plane Locator ................................................................................................................ 258Plotting Velocity .......................................................................................................................... 258Plotting Pressure Distribution ......................................................................................................... 258Plotting Volume Fractions .............................................................................................................. 259Plotting Shear Strain Rate and Shear Stress ....................................................................................... 259Calculating Torque and Power Requirements ..................................................................................... 260

    18. Gas-Liquid Flow in an Airlift Reactor ......................................................................................................... 261Tutorial Features .......................................................................................................................... 261Overview of the Problem to Solve ................................................................................................... 262Before You Begin ......................................................................................................................... 263Starting CFX-Pre ......................................................................................................................... 263Dening a Case in CFX-Pre ........................................................................................................... 263Importing the Mesh ...................................................................................................................... 263Creating the Domain ..................................................................................................................... 263Creating the Boundary Conditions ................................................................................................... 265Setting Initial Values ..................................................................................................................... 268Setting Solver Control ................................................................................................................... 269Writing the CFX-Solver Input (.def) File .......................................................................................... 269Obtaining a Solution Using CFX-Solver Manager .............................................................................. 269

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    x Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

    ANSYS CFX Tutorials

  • 8/13/2019 tutoriale ansys 1f

    11/577

    Viewing the Results in CFD-Post .................................................................................................... 270Creating Water Velocity Vector Plots ................................................................................................ 270Creating Volume Fraction Plots ....................................................................................................... 270Displaying the Entire Airlift Reactor Geometry .................................................................................. 272Additional Fine Mesh Simulation Results ......................................................................................... 272

    19. Air Conditioning Simulation ...................................................................................................................... 275Tutorial Features .......................................................................................................................... 275Overview of the Problem to Solve ................................................................................................... 276

    Before You Begin ......................................................................................................................... 277Starting CFX-Pre ......................................................................................................................... 277Dening a Case in CFX-Pre ........................................................................................................... 278Importing the Mesh ...................................................................................................................... 278Importing CEL Expressions ........................................................................................................... 278Compiling the Fortran Subroutine for the Thermostat .......................................................................... 279Creating a User CEL Function for the Thermostat ............................................................................... 280Setting the Analysis Type ............................................................................................................... 281Creating the Domain ..................................................................................................................... 282Creating the Boundaries ................................................................................................................ 282Setting Initial Values ..................................................................................................................... 285Setting Solver Control ................................................................................................................... 286Setting Output Control .................................................................................................................. 286

    Writing the CFX-Solver Input (.def) File .......................................................................................... 288Obtaining a Solution Using CFX-Solver Manager .............................................................................. 288Viewing the Results in CFD-Post .................................................................................................... 288Creating Graphics Objects ............................................................................................................. 289Creating an Animation .................................................................................................................. 290Further Steps ............................................................................................................................... 291

    20. Combustion and Radiation in a Can Combustor ............................................................................................. 293Tutorial Features .......................................................................................................................... 293Overview of the Problem to Solve ................................................................................................... 294Using Eddy Dissipation and P1 Models ............................................................................................ 296Before You Begin ......................................................................................................................... 296Starting CFX-Pre ......................................................................................................................... 296Dening a Case Using Eddy Dissipation and P1 Models in CFX-Pre ...................................................... 297Importing the Mesh ...................................................................................................................... 297Creating a Reacting Mixture ........................................................................................................... 297Creating the Domain ..................................................................................................................... 298Creating the Boundaries ................................................................................................................ 299Setting Initial Values ..................................................................................................................... 301Setting Solver Control ................................................................................................................... 302Writing the CFX-Solver Input (.def) File .......................................................................................... 302Obtaining a Solution Using CFX-Solver Manager .............................................................................. 302Viewing the Results in CFD-Post .................................................................................................... 303Temperature Within the Domain ...................................................................................................... 303The NO Concentration in the Combustor .......................................................................................... 303Printing a Greyscale Graphic .......................................................................................................... 304Calculating NO Mass Fraction at the Outlet ....................................................................................... 304Viewing Flow Field ...................................................................................................................... 304Viewing Radiation ........................................................................................................................ 305Dening a Simulation Using Laminar Flamelet and Discrete Transfer Models in ANSYS CFX-Pre .............. 305Playing a Session File ................................................................................................................... 306Creating a New Case ..................................................................................................................... 306Modifying the Reacting Mixture ..................................................................................................... 306Modifying the Domain .................................................................................................................. 307Modifying the Boundaries .............................................................................................................. 307Setting Initial Values ..................................................................................................................... 308Setting Solver Control ................................................................................................................... 309Writing the CFX-Solver Input (.def) File .......................................................................................... 309

    x

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

    ANSYS CFX Tutorials

  • 8/13/2019 tutoriale ansys 1f

    12/577

    Obtaining a Solution Using CFX-Solver Manager .............................................................................. 309Viewing the Results in ANSYS CFD-Post ......................................................................................... 309Viewing Temperature within the Domain .......................................................................................... 310Viewing the NO Concentration in the Combustor ............................................................................... 310Calculating NO Concentration ........................................................................................................ 310Viewing CO Concentration ............................................................................................................ 310Calculating CO Mass Fraction at the Outlet ....................................................................................... 311Further Postprocessing .................................................................................................................. 311

    21. Cavitation Around a Hydrofoil ................................................................................................................... 313Tutorial Features .......................................................................................................................... 313Overview of the Problem to Solve ................................................................................................... 314Before You Begin ......................................................................................................................... 314Starting CFX-Pre ......................................................................................................................... 314Creating an Initial Simulation ......................................................................................................... 315Dening a Case in CFX-Pre ........................................................................................................... 315Importing the Mesh ...................................................................................................................... 315Loading Materials ........................................................................................................................ 315Creating the Domain ..................................................................................................................... 315Creating the Boundaries ................................................................................................................ 316Setting Initial Values ..................................................................................................................... 318Setting Solver Control ................................................................................................................... 318

    Writing the CFX-Solver Input (.def) File .......................................................................................... 319Obtaining an Initial Solution using CFX-Solver Manager ..................................................................... 319Viewing the Results of the Initial Simulation ..................................................................................... 319Plotting Pressure Distribution Data .................................................................................................. 319Exporting Pressure Distribution Data ............................................................................................... 321Saving the Post-Processing State ..................................................................................................... 322Preparing a Simulation with Cavitation ............................................................................................. 322Modifying the Initial Case in CFX-Pre ............................................................................................. 322Adding Cavitation ........................................................................................................................ 322Modifying Solver Control .............................................................................................................. 323Modifying Execution Control ......................................................................................................... 323Writing the CFX-Solver Input (.def) File .......................................................................................... 323Obtaining a Cavitation Solution using CFX-Solver Manager ................................................................. 324Viewing the Results of the Cavitation Simulation ............................................................................... 324

    22. Fluid Structure Interaction and Mesh Deformation ......................................................................................... 327Tutorial Features .......................................................................................................................... 327Overview of the Problem to Solve ................................................................................................... 328Modeling the Ball Dynamics .......................................................................................................... 329Before You Begin ......................................................................................................................... 329Starting CFX-Pre ......................................................................................................................... 329Dening a Simulation in CFX-Pre ................................................................................................... 330Dening a Simulation in CFX-Pre ................................................................................................... 330Importing the Mesh ...................................................................................................................... 330Importing the Required Expressions ................................................................................................. 330Setting the Analysis Type ............................................................................................................... 331Creating the Domain ..................................................................................................................... 332Creating the Subdomain ................................................................................................................ 333Creating the Boundaries ................................................................................................................ 333Setting Initial Values ..................................................................................................................... 335Setting Solver Control ................................................................................................................... 336Setting Output Control .................................................................................................................. 336Writing the CFX-Solver Input (.def) File .......................................................................................... 337Obtaining a Solution Using CFX-Solver Manager .............................................................................. 337Viewing the Results in CFD-Post .................................................................................................... 338Creating a Slice Plane ................................................................................................................... 338Creating a Point ........................................................................................................................... 338Creating an Animation with Velocity Vectors ..................................................................................... 338

    Release 12.1 - 2009 ANSYS, Inc. All rights reserved.

    xii Contains proprietary and condential information of ANSYS, Inc. and its subsidiaries and afliates.

    ANSYS CFX Tutorials

  • 8/13/2019 tutoriale ansys 1f

    13/577

    23. Oscillating Plate with Two-Way Fluid-Structure Interaction ............................................................................. 341Tutorial Features .......................................................................................................................... 341Overview of the Problem to Solve ................................................................................................... 342Before You Begin ......................................................................................................................... 342Creating the Project ...................................................................................................................... 343Adding Analyses Systems to the Project ........................................................................................... 343Adding a New Material for the Project ............................................................................................. 344Adding Geometry to the Project ...................................................................................................... 345

    Dening the Physics in the Mechanical Application ............................................................................ 346Generating the Mesh for the Structural System ................................................................................... 347Assigning the Material to Geometry ................................................................................................. 347Basic Analysis Settings .................................................................................................................. 347Inserting Loads ............................................................................................................................ 347Completing the Setup for the Structural System .................................................................................. 349Creating Named Selections for the Project ........................................................................................ 349Generating the Mesh for the Fluid System ......................................................................................... 351Dening the Physics and ANSYS Multi-eld Settings in ANSYS CFX-Pre ............................................. 352Setting the Analysis Type ............................................................................................................... 352Creating the Fluid ......................................................................................................................... 353Creating the Domain ..................................................................................................................... 353Creating the Boundaries ................................................................................................................ 354

    Setting Initial Values ..................................................................................................................... 355Setting Solver Control ................................................................................................................... 355Setting Output Control .................................................................................................................. 356Obtaining a Solution Using CFX-Solver Manager .............................................................................. 357Viewing Results in ANSYS CFD-Post .............................................................................................. 358Plotting Results on the Solid ........................................................................................................... 358Creating an Animation .................................................................................................................. 359

    24. Optimizing Flow in a Static Mixer .............................................................................................................. 361Tutorial Features .......................................................................................................................... 361Overview of the Problem to Solve ................................................................................................... 362Setting Up ANSYS Workbench ....................................................................................................... 363Creating the Project ...................................................................................................................... 363Creating the Geometry in DesignModeler ......................................................................................... 363Creating