Note that if you create the mesh by following the instructions given in these examples, you may not be able to set up the physics in CFX-5 by using the CFX-Pre session file without getti
Trang 1ANSYS CFX-Mesh Tutorials
ANSYS Workbench Release 9.0
November 2004
ANSYS, Inc is a
UL registered
ISO 9001: 2000
Trang 3Table of Contents
Introduction to the CFX-Mesh Tutorials 1
1 List of Features 4
2 Legal Notices 5
Tutorial 1: Static Mixer 9
1 Introduction to CFX-Mesh 9
2 Geometry Creation 10
3 Mesh Generation 20
Tutorial 2: Static Mixer (Refined Mesh) 27
1 Modifying the Mesh Generation 27
2 Geometry Modification 30
3 Updating the Geometry in CFX-Mesh 32
Tutorial 3: Process Injection Mixing Pipe 35
1 Geometry Creation 35
2 Mesh Generation 38
Tutorial 4: Circular Vent 43
1 Geometry Creation 43
2 Mesh Generation 44
Tutorial 5: Blunt Body 49
1 Geometry Creation 49
2 Mesh Generation 54
Tutorial 6: Butterfly Valve 61
1 Geometry Creation 61
2 Mesh Generation 64
Tutorial 7: Catalytic Converter 71
1 Geometry Creation 71
2 Mesh Generation 78
Tutorial 8: Annulus 81
1 Geometry Creation 81
2 Mesh Generation 82
Tutorial 9: Mixing Tube 87
1 Geometry Creation 87
2 Mesh Generation 89
Tutorial 10: Heating Coil 93
1 Geometry Creation 93
2 Mesh Generation 98
Tutorial 11: Airlift Reactor 103
1 Geometry Creation 104
2 Mesh Generation 109
Tutorial 12: Room with Air Conditioning 113
1 Geometry Creation 113
2 Mesh Generation 118
Tutorial 13: Can Combustor 121
1 Geometry Import 122
2 Mesh Generation 122
Tutorial 14: CAD Cleanup and Meshing 127
1 Mesh Generation 128
Trang 4vi
Trang 5Introduction to the CFX-Mesh Tutorials
The CFX-Mesh Tutorials are a set of tutorial examples which demonstrate how to set up the geometry and mesh for a variety of different problems The tutorials cover most of the meshing functionality available in CFX-Mesh together with some of the most commonly-used geometry features from DesignModeler Each example results
in the creation of CFX-5 GTM file, which can be imported directly into CFX-Pre You will find instructions for setting
up CFD simulations using these meshes in the 5 Tutorials which are part of the main on-line help for CFX-5
A few of these tutorials require the use of Parasolid or DesignModeler files as a starting point for the geometry creation Where such a file is required, the introduction to the tutorial explains this If you have not already obtained these files, they should be readily available from the CFX Community Website: go to http://www-waterloo.an-sys.com/cfxcommunity This site is available to all registered CFX users If you have not already got a username and password, go to http://www-waterloo.ansys.com/cfx/community/apply.htm to apply
These tutorial instructions are based on ANSYS Workbench 9.0 Some of the tutorials will not work in earlier versions of ANSYS Workbench since they rely on new features, and other tutorials may be hard to follow If you still have ANSYS Workbench 8.1 then you can find tutorial instructions explicitly for this version on the CFX Community Website using the following link: http://www-waterloo.ansys.com/cfxcommunity/technotes/docu-mentation/CFX-Mesh_8.1/index.html
If you want to print out the tutorials, then we recommend that you follow the link to the CFX Community Website
to download a package in pdf format, and use this for printing
Note that if you create the mesh by following the instructions given in these examples, you may not be able to set up the physics in CFX-5 by using the CFX-Pre session file without getting errors which you need to fix up after the session file has finished playing You can always follow the CFX-5 tutorial instructions manually instead This
is because the CFX-Pre session files are set up to use the mesh files provided with CFX-5, and some face and body identifications are different to the ones which you would get by creating meshes by following these instructions
In most cases, you can use the CFX-Pre session file to set up the physics, and then manually apply the location
of the domain and any sub-domains if required In addition, in the Combustor tutorial, you will also need to set
up the “Vane Surfaces” location manually, and in the Catalytic Converter tutorial, you may need to delete and recreate the two Domain Interfaces manually
Can I Skip the Geometry Creation?
If you are only interested in the meshing parts of the tutorials and want to skip all of the geometry creation, then
you should follow the link to the CFX Community Website above to download the DesignModeler agdb files
for the tutorials of interest You can then use these for each tutorial as follows:
by the tutorial
2
ap-propriate agdb in the file browser which opens up.
the beginning of the Mesh Generation section, ignoring the instructions on opening CFX-Mesh
Trang 6What if I Don't Have DesignModeler?
If you don't have DesignModeler or don't have a license to run DesignModeler, then you can still work through the meshing parts of these tutorials as follows:
files for the tutorials of interest
following the instructions below
CAD package, then import the Parasolid files into that CAD package, and then use the resulting CAD files
in CFX-Mesh by following the instructions below
representative to obtain a set of geometry files that you can import
The instructions for importing the relevant CAD files (Parasolid or otherwise) into CFX-Mesh are as follows:
by the tutorial
2
ap-propriate CAD filename in the file browser which opens up
the beginning of the Mesh Generation section, ignoring the instructions on opening CFX-Mesh
If you import the Parasolid files into your CAD package and then import the resulting CAD file into CFX-Mesh you may occasionally find that whilst the geometry still looks the same afterwards, certain features may change subtly due to differences in the geometry representation in your CAD package
Specific tutorials will need minor adaptations as a result of importing Parasolid files (or other CAD files) directly:
point at which you write the file StaticMixerRefMesh.gtm as this relies on being able to modify the
geometry in DesignModeler It is recommended that you read through the section called “Updating the Geometry in CFX-Mesh” if you want to see how to update your geometry in CFX-Mesh, as this is not covered by any other tutorial
instructions expect the geometry to be in millimeters You will need to enter all given values in the correct units of meters i.e when the tutorial asks you to set a Default Body Spacing of 4.5 mm, you must enter 0.0045 m
tutorial instructions expect the geometry to be in centimeters You will need to enter all given values in the correct units of meters i.e when the tutorial asks you to set a Default Body Spacing of 1.0 cm, you must enter 0.01 m
• Tutorial 8: Annulus - The units after you import the Parasolid file are always meters, but the tutorial instruc-tions expect the geometry to be in feet You will need to enter all given values in the correct units of meters i.e when the tutorial asks you to set a Default Body Spacing of 0.02 ft, you must enter 0.006 m Conversions for the other values are given in the tutorial instructions
Introduction to the CFX-Mesh Tutorials
CFX-Mesh Tutorials © SAS IP, Inc.
2
Trang 7• Tutorial 9: Mixing Tube - The units after you import the Parasolid file are always meters, but the tutorial instructions expect the geometry to be in millimeters You will need to enter all given values in the correct units of meters i.e when the tutorial asks you to set a Default Body Spacing of 0.6 mm, you must enter 0.0006 m
– The DesignModeler geometry puts both solid bodies into one part and creates shared faces between them, so that CFX-Mesh can create one mesh containing both bodies The result of the direct Parasolid
import will be to have two bodies each in a separate part, so CFX-Mesh will create one file
Heating-CoilMesh.gtm which contains two separate meshes, and hence two separate assemblies in CFX-Pre.
This file can be used in CFX-Pre as usual; an example of how to deal with having multiple assemblies
in CFX-Pre is detailed in the CFX-5 example “Tutorial 10: Flow in a Catalytic Converter” (although you must use Fluid-Solid Interfaces for this example since you are connecting a fluid domain to a solid domain)
– You are advised that if you wish to work through the CFX-5 example after creating your mesh, you
should use the CFX-Pre Mesh file HeatingCoilMesh.gtm provided by your CFX-5 installation, since
the tutorial instructions were written expecting one mesh containing both bodies
– In addition, since you have two separate parts in the CFX-Mesh session, you should NOT enable Surface Proximity as suggested by the tutorial instructions: if surface proximity is enabled on a multi-part geometry, then the mesher sees the faces in each part as being very close together but not coincident, and so attempts to refine the mesh in this region far more than is required for this tutorial
– The tutorial instructions ask you to suppress one of the Bodies contained in Part 3 Instead, you should click on the name of each part in turn, and see which one corresponds to the coil and which one to
the container Then right-click over the part which corresponds to the coil, and select Suppress Later,
in order to see which 2D Regions you have selected, suppress the other part in the same way
After-wards, unsuppress both parts by right-clicking on their names and selecting Unsuppress.
– The units after you import the Parasolid file are always meters, but the tutorial instructions expect the geometry to be in centimeters You will need to enter all given values in the correct units of meters i.e when the tutorial asks you to set a Default Body Spacing of 1.0 cm, you must enter 0.01 m – The DesignModeler geometry puts both solid bodies into one part and creates shared faces between them, so that CFX-Mesh can create one mesh containing both bodies The result of the direct Parasolid
import will be to have two bodies each in a separate part, so CFX-Mesh will create one file
Bubble-ColumnMesh.gtm which contains two separate meshes, and hence two separate assemblies in
CFX-Pre This file can be used in CFX-Pre as usual; an example of how to deal with having multiple assemblies
in CFX-Pre is detailed in the CFX-5 example “Tutorial 10: Flow in a Catalytic Converter”
– You are advised that if you wish to work through the CFX-5 example after creating your mesh, you
should use the CFX-Pre Mesh file BubbleColumnMesh.gtm provided by your CFX-5 installation, since
the tutorial instructions were written expecting one mesh containing both bodies
– When you create the Composite 2D Region DraftTube, you may find that the selection rectangles
appear in the order (from left to right): outside of the column, draft tube face (inside), draft tube face (outside), face from symmetry plane, instead of the order listed in the tutorial instructions You can tell which order they appear in, since the selection rectangle corresponding to the draft tube (outside) will be the same color as the outside of the column This is the one which you require
Trang 8The units after you import the Parasolid file are always meters, but the tutorial instructions expect the geometry to be in centimeters You will need to enter all given values in the correct units of meters i.e when the tutorial asks you to set a Default Body Spacing of 1.6 cm, you must enter 0.016 m –
– The DesignModeler geometry puts all five solid bodies into one part and creates shared faces between them, so that CFX-Mesh can create one mesh containing all of the bodies The result of the direct Parasolid import will be to have five bodies each in a separate part, so CFX-Mesh will create one file
CombustorMesh.gtm which contains five separate meshes, and hence five separate assemblies in
CFX-Pre This file can be used in CFX-Pre as usual; an example of how to deal with having multiple as-semblies in CFX-Pre is detailed in the CFX-5 example “Tutorial 10: Flow in a Catalytic Converter” – You are advised that if you wish to work through the CFX-5 example after creating your mesh, you
should use the CFX-Pre Mesh file CombustorMesh.gtm provided by your CFX-5 installation, since
the tutorial instructions were written expecting one mesh containing all of the bodies
1 List of Features
The following table shows you which geometry features are covered in which tutorial
14 13 12 11 10 9 8 7 6 5 4 3 2 1
Sketching Mode
•
•
•
•
•
•
•
•
•
•
•
• Draw Toolbox
•
•
•
•
• Modify Toolbox
•
•
•
•
•
• Dimensions Toolbox
•
• Constraints Toolbox
•
•
•
•
• Settings Toolbox
3D Features
•
•
•
•
•
•
•
•
•
•
•
• Extrude
•
•
•
•
• Revolve
•
• Sweep
• Skin/Loft
Other Features
•
• Parasolid Import
•
•
• Multiple Bodies
•
•
•
• Freeze/Unfreeze/Add Frozena
•
•
• Body Operationsb
•
•
•
• Plane Creation from Facesc
•
•
• Imprint Facesd
• Enclosure
a Freeze/Unfreeze/Add Frozen: for multiple bodies and for creating bodies which enclose another body
b Body Operations: for copying, moving, and subtracting bodies from other bodies
c Plane Creation from Faces: for 3D Feature operations on existing surfaces
d Imprint Faces: for Boundary Condition Surfaces
The following table shows you which meshing features are covered in which tutorial
Introduction to the CFX-Mesh Tutorials
CFX-Mesh Tutorials © SAS IP, Inc.
4
Trang 914 13 12 11 10 9 8 7 6 5 4 3 2 1
•
•
•
•
•
•
•
•
•
•
•
•
•
• 2D Region Groups
•
•
•
•
• Face Spacinga
•
• Curvature-Sensitive Meshing
• Controlsb
• Periodicity
•
•
•
•
•
•
•
•
•
•
•
• Inflationc
• Stretch
•
•
• Proximityd
•
•
•
•
•
•
•
•
•
• Preview Groupse
• Extruded 2D Meshing
Parallel Volume Meshing
• Geometry Update
• CAD Check
• Virtual Faces and Edges
• Short Edge Removal
a Face Spacing: for refining the mesh on a particular face or faces
b Controls: for refining the mesh near a point, line or triangle
c Inflation: for producing prism elements along a boundary in order to resolve the boundary better
d Proximity: for refining the mesh when two faces or two edges are close but not joined
e Preview Groups: for previewing part or all of the surface mesh
2 Legal Notices
Copyright and Trademark Information
Copyright © 2004 SAS IP, Inc All rights reserved Unauthorized use, distribution or duplication is prohibited ANSYS, DesignSpace, CFX, DesignModeler, DesignXplorer, ANSYS Workbench environment, AI*Environment, CADOE and any and all ANSYS, Inc product names referenced on any media, manual or the like, are registered trademarks or trademarks of subsidiaries of ANSYS, Inc located in the United States or other countries ICEM CFD
is a trademark licensed by ANSYS, Inc All other trademarks and registered trademarks are property of their re-spective owners
ANSYS, Inc is a UL registered ISO 9001: 2000 Company
ANSYS Inc products may contain U.S Patent No 6,055,541
Microsoft, Windows, Windows 2000 and Windows XP are registered trademarks of Microsoft Corporation Inventor and Mechanical Desktop are registered trademarks of Autodesk, Inc
SolidWorks is a registered trademark of SolidWorks Corporation
Pro/ENGINEER is a registered trademark of Parametric Technology Corporation
Unigraphics, Solid Edge and Parasolid are registered trademarks of Electronic Data Systems Corporation (EDS) ACIS and ACIS Geometric Modeler are registered trademarks of Spatial Technology, Inc
FLEXlm License Manager is a trademark of Macrovision Corporation
Section 2: Legal Notices
Trang 10PCGLSS: Linear Equations Solver © Copyright 1992-1995
CA&SI, 2004 S.Wright Street, Urbana, IL 61821
Copyright © 1992-1995 Computational Applications and System Integration Inc All rights Reserved
Ph 217.244.7875/Fax 217.244.7874
CA&SI DOES NOT GUARANTEE THE CORRECTNESS OR USEFULNESS OF THE RESULTS OBTAINED USING PCGLSS CA&SI IS NOT LIABLE FOR ANY CONCLUSIONS OR ACTIONS BASED ON THE RESULTS IT IS THE RESPONSIBILITY
OF THE USER TO CONFIRM THE ACCURACY AND USEFULNESS OF THE RESULTS
Computational Applications and System Integration Inc All Rights Reserved
Tcl/Tk/BLT: The Tcl/Tk scripting and GUI system was developed by John Ousterhout at the University of California
at Berkeley, and is now being maintained by the Tcl/Tk group at Sun The BLT extensions to Tcl/Tk were developed
by George Howlett of Lucent Technologies and others, and provide table, graph, and other utilities
Tk and Tcl is copyrighted by the Regents of the University of California, Sun Microsystems, Inc., Scriptics Corpor-ation, and other parties The authors hereby grant permission to use, copy, modify, distribute, and license this software and its documentation for any purpose, provided that existing copyright notices are retained in all copies and that this notice is included verbatim in any distributions No written agreement, license, or royalty fee is required for any of the authorized uses Modifications to this software may be copyrighted by their authors and need not follow the licensing terms described here, provided that the new terms are clearly indicated on the first page of each file where they apply IN NO EVENT SHALL THE AUTHORS OR DISTRIBUTORS BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OF THIS SOFTWARE, ITS DOCUMENTATION, OR ANY DERIVATIVES THEREOF, EVEN IF THE AUTHORS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE THE AUTHORS AND DISTRIBUTORS SPECIFICALLY DISCLAIM ANY WARRANTIES,INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY,FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT THIS SOFTWARE IS PROVIDED ON AN “AS IS” BASIS, AND THE AUTHORS AND DISTRIBUTORS HAVE NO OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS
TIFF: Copyright (c) 1988-1997 Sam Leffler, Copyright (c) 1991-1997 Silicon Graphics, Inc - Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that (i) the above copyright notices and this permission notice appear in all copies of the software and related documentation, and (ii) the names of Sam Leffler and Silicon Graphics may not be used in any advertising
or publicity relating to the software without the specific, prior written permission of Sam Leffler and Silicon Graphics
libpng version 1.0.8 - July 24, 2000
Copyright (c) 1998-2000 Glenn Randers-Pehrson
Copyright (c) 1996, 1997 Andreas Dilger
Copyright (c) 1995, 1996 Guy Eric Schalnat, Group 42, Inc
This software is based in part on the work of the Independent JPEG Group
PVM version 3.4: Parallel Virtual Machine System, University of Tennessee, Knoxville TN., Oak Ridge National Laboratory, Oak Ridge TN., Emory University, Atlanta GA., Authors: J J Dongarra, G E Fagg, G A Geist, J A Kohl,
R J Manchek, P Mucci, P M Papadopoulos, S L Scott, and V S Sunderam, C) 1997 All Rights Reserved - NOTICE
- Permission to use, copy, modify, and distribute this software and its documentation for any purpose and without fee is hereby granted provided that the above copyright notice appear in all copies and that both the copyright notice and this permission notice appear in supporting documentation
This software is provided with a standard distribution of Perl v5.8.0 Additional modules are included under the terms of the Perl Artistic License For further information, see http://www.perl.com Per v5.8.0 Copyright
1987-2002 Larry Wall
ACIS® Geometric Modeler and ACIS InterOp from Spatial Technology, Inc
Introduction to the CFX-Mesh Tutorials
CFX-Mesh Tutorials © SAS IP, Inc.
6