• No results found

ANSYS Polyflow Tutorial Guide

N/A
N/A
Protected

Academic year: 2021

Share "ANSYS Polyflow Tutorial Guide"

Copied!
416
0
0

Loading.... (view fulltext now)

Full text

(1)

ANSYS Polyflow Tutorial Guide

Release 18.0 ANSYS, Inc. January 2017 Southpointe 2600 ANSYS Drive

Canonsburg, PA 15317 ANSYS, Inc. and

ANSYS Europe,

ansysinfo@ansys.com

Ltd. are UL

http://www.ansys.com registered ISO

(T) 724-746-3304 (F) 724-514-9494

9001: 2008 companies.

(2)

© 2016 SAS IP, Inc. Unauthorized use, distribution or duplication is prohibited.

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

Disclaimer Notice

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

ANSYS, Inc. and ANSYS Europe, Ltd. are UL registered ISO 9001: 2008 companies. U.S. Government Rights

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

Third-Party Software

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

(3)

Using This Manual ... ix

1. The Contents of This Manual ... ix

2. The Contents of the ANSYS Polyflow Manuals ... ix

3. Contacting Technical Support ... ix

I. Introduction to using Polyflow in Workbench ... 1

1. ANSYS Polyflow in ANSYS Workbench Tutorial: 3D Extrusion ... 3

1.1. Introduction ... 3

1.2. Prerequisites ... 3

1.3. Problem Description ... 3

1.4. Setup and Solution ... 5

1.4.1. Preparation ... 5

1.4.2. Creating a Fluid Flow Analysis System in ANSYS Workbench ... 6

1.4.3. Preparing the Geometry in ANSYS DesignModeler ... 10

1.4.4. Meshing the Geometry in the ANSYS Meshing Application ... 12

1.4.5. Setting Up the CFD Simulation in ANSYS Polydata ... 24

1.4.6. Solution ... 28

1.4.7. Postprocessing ... 28

1.4.8. Exploring Additional Solutions ... 43

1.5. Summary ... 48 II. Extrusion ... 49 1. 2.5D Axisymmetric Extrusion ... 51 1.1. Introduction ... 51 1.2. Prerequisites ... 51 1.3. Problem Description ... 51 1.4. Preparation ... 54

1.5. Setup and Solution ... 54

1.5.1. Project and Mesh ... 55

1.5.2. Define a Task ... 57 1.5.3. Material Data ... 59 1.5.4. Boundary Conditions ... 61 1.5.5. Remeshing ... 66 1.5.6. Stream Function ... 69 1.5.7. Outputs ... 70

1.5.8. Save and Exit Polydata ... 71

1.5.9. Solution ... 72

1.5.10. Postprocessing ... 73

1.6. Summary ... 84

2. Fluid Flow and Conjugate Heat Transfer ... 85

2.1. Introduction ... 85

2.2. Prerequisites ... 85

2.3. Problem Description ... 85

2.4. Setup and Solution ... 87

2.4.1. Preparation ... 87

2.4.2. Project and Mesh ... 88

2.4.3. Create a Task for the Model ... 88

2.4.4. Fluid Sub-Task 1 ... 89

2.4.5. Die Sub-Task ... 97

2.4.6. Save and Exit Polydata ... 100

2.4.7. Solution ... 101

(4)

2.5. Summary ... 110

3. Non-Isothermal Flow Through a Cooled Die ... 111

3.1. Introduction ... 111

3.2. Prerequisites ... 111

3.3. Problem Description ... 111

3.4. Setup and Solution ... 114

3.4.1. Preparation ... 114

3.4.2. Project and Mesh ... 114

3.4.3. Create a Task for the Model ... 115

3.4.4. Fluid Sub-Task 1 ... 115

3.4.5. Die Sub-Task ... 126

3.4.6. Numerical Parameters ... 129

3.4.7. Outputs ... 129

3.4.8. Save and Exit Polydata ... 129

3.4.9. Solution ... 130

3.4.10. Postprocessing ... 130

3.5. Summary ... 142

3.6. Appendix: Nonlinearity and Evolution ... 142

4. 3D Extrusion ... 143

4.1. Introduction ... 143

4.2. Prerequisites ... 143

4.3. Problem Description ... 143

4.4. Preparation ... 145

4.5. Setup and Solution ... 146

4.5.1. Project and Mesh ... 146

4.5.2. Define a Task ... 146

4.5.3. Material Data ... 148

4.5.4. Boundary Conditions ... 150

4.5.5. Remeshing ... 152

4.5.6. Save and Exit Polydata ... 155

4.5.7. Solution ... 156 4.5.8. Postprocessing ... 156 4.6. Summary ... 170 5. Direct Extrusion ... 171 5.1. Introduction ... 171 5.2. Prerequisites ... 171 5.3. Problem Description ... 171

5.4. Setup and Solution ... 173

5.4.1. Preparation ... 173

5.4.2. Project and Mesh ... 174

5.4.3. Create a Task for the Model ... 174

5.4.4. Material Data ... 175

5.4.5. Boundary Conditions ... 176

5.4.6. Remeshing ... 178

5.4.7. Numerical Parameters ... 180

5.4.8. Outputs ... 181

5.4.9. Save and Exit Polydata ... 181

5.4.10. Solution ... 181

(5)

5.6.2. Optimesh Remeshing Technique ... 193 5.6.3. Evolution Scheme ... 193 5.6.4. IGES Output ... 193 6. Inverse Extrusion ... 195 6.1. Introduction ... 195 6.2. Prerequisites ... 195 6.3. Problem Description ... 195

6.4. Setup and Solution ... 197

6.4.1. Preparation ... 197

6.4.2. Project and Mesh ... 198

6.4.3. Create a Task for the Model ... 198

6.4.4. Material Data ... 199

6.4.5. Boundary Conditions ... 200

6.4.6. Remeshing ... 203

6.4.7. Numerical Parameters ... 205

6.4.8. Outputs ... 206

6.4.9. Save and Exit Polydata ... 207

6.4.10. Solution ... 207 6.4.11. Postprocessing ... 207 6.5. Summary ... 218 6.6. Appendix ... 219 6.6.1. Power Law ... 219 6.6.2. Evolution Scheme ... 219 6.6.3. Remeshing Technique ... 220

6.6.4. Optimesh Remeshing Technique ... 220

6.6.5. IGES Output ... 220

7. Flow of Two Immiscible Fluids ... 221

7.1. Introduction ... 221

7.2. Prerequisites ... 221

7.3. Problem Description ... 221

7.4. Setup and Solution ... 224

7.4.1. Preparation ... 224

7.4.2. Project and Mesh ... 224

7.4.3. Create a Task for the Model ... 225

7.4.4. Fluid 1 Sub-Task ... 225

7.4.5. Fluid 2 Sub-Task ... 232

7.4.6. Save and Exit Polydata ... 235

7.4.7. Solution ... 236

7.4.8. Postprocessing ... 236

7.5. Summary ... 242

8. Flow of Two Immiscible Fluids by Species Method ... 243

8.1. Introduction ... 243

8.2. Prerequisites ... 243

8.3. Problem Description ... 243

8.4. Setup and Solution ... 246

8.4.1. Preparation ... 246

8.4.2. Project and Mesh ... 247

8.4.3. Create a Task for the Model ... 247

8.4.4. Species and Species Transport Sub-task ... 247

8.4.5. Fluids Sub-task ... 252

8.4.6. Save and Exit Polydata ... 257

(6)

8.4.8. Postprocessing ... 258

8.5. Summary ... 265

III. Blow Molding ... 267

1. 3D Thermoforming of a Blister ... 269

1.1. Prerequisites ... 269

1.2. Problem Description ... 269

1.3. Setup and Solution ... 272

1.3.1. Preparation ... 272

1.3.2. Project and Mesh ... 273

1.3.3. Mold Sub-Task ... 273

1.3.4. Film Sub-Task ... 277

1.3.5. Postprocessing Sub-Tasks ... 283

1.3.6. Numerical Parameters ... 285

1.3.7. Outputs ... 286

1.3.8. Save and Exit Polydata ... 286

1.3.9. Solution ... 287

1.3.10. Postprocessing ... 288

1.4. Summary ... 299

1.5. Further Improvements ... 299

1.6. Appendix ... 300

1.6.1. Contact Boundary Conditions ... 300

1.6.2. Remark on the Penalty Coefficient ... 301

1.6.3. Remeshing ... 301

2. 2D Axisymmetric Blow Molding ... 303

2.1. Introduction ... 303

2.2. Prerequisites ... 303

2.3. Problem Description ... 304

2.4. Setup and Solution ... 305

2.4.1. Preparation ... 306

2.4.2. Project and Mesh ... 306

2.4.3. Create a Task for the Model ... 306

2.4.4. Material Data ... 309 2.4.5. Boundary Conditions ... 311 2.4.6. Remeshing ... 314 2.4.7. Numerical Parameters ... 315 2.4.8. Outputs ... 317 2.4.9. Thickness Postprocessor ... 318

2.4.10. Save and Exit Polydata ... 319

2.4.11. Solution ... 319

2.4.12. Postprocessing ... 319

2.5. Summary ... 331

2.6. Appendix ... 332

2.6.1. Remeshing Technique ... 332

2.6.2. Time Marching Scheme ... 332

3. Plug-Assisted Thermoforming of a Blister ... 333

3.1. Prerequisites ... 333

3.2. Problem Description ... 333

3.3. Setup and Solution ... 336

(7)

3.3.5. Blister Sub-Task ... 346

3.3.6. Numerical Parameters ... 353

3.3.7. Outputs ... 354

3.3.8. Save and Exit Polydata ... 354

3.3.9. Solution ... 354

3.3.10. Postprocessing ... 355

3.4. Summary ... 366

3.5. Appendix ... 366

3.5.1. Contact Boundary Conditions ... 366

3.5.2. Remark on the Penalty Coefficient ... 366

3.5.3. Remeshing ... 367

4. 3D Blow Molding of a Bottle ... 369

4.1. Prerequisites ... 369

4.2. Description ... 369

4.3. Setup and Solution ... 371

4.3.1. Preparation ... 371

4.3.2. Project and Mesh ... 372

4.3.3. Right Mold ... 372

4.3.4. Left Mold ... 377

4.3.5. Parison Sub-Task ... 380

4.3.6. Numerical Parameters ... 388

4.3.7. Outputs ... 389

4.3.8. Save and Exit Polydata ... 389

4.3.9. Solution ... 389

4.3.10. Postprocessing ... 390

4.4. Summary ... 400

4.5. Further Improvements ... 400

4.6. Appendix ... 401

4.6.1. Contact Boundary Conditions ... 401

4.6.2. Remark on the Penalty Coefficient ... 402

4.6.3. Remeshing ... 402

(8)
(9)

Using This Manual

1. The Contents of This Manual

The Polyflow Tutorial Guide contains a number of example problems with complete detailed instructions, commentary, and postprocessing of results.

2. The Contents of the ANSYS Polyflow Manuals

The manuals listed below form the ANSYS Polyflow product documentation set. They include descriptions of the procedures, commands, and theoretical details needed to use ANSYS Polyflow products. These manuals are all available on the ANSYS Customer Portal (http://support.ansys.com/documentation). • The Polyflow User's Guide explains how to use ANSYS Polydata and ANSYS Polyflow to set up and solve

a problem.

• The Polyflow Tutorial Guide contains a number of example problems with complete detailed instructions, commentary, and postprocessing of results.

Tutorials for release 18.0 are available on the ANSYS Customer Portal. To access tutorials and their input files on the ANSYS Customer Portal, go to http://support.ansys.com/training.

• The Polyflow in Workbench User's Guide explains how to use the ANSYS Polyflow application within ANSYS Workbench.

• The Polymat User's Guide explains how to use the ANSYS Polymat module for material property evalu-ation.

• The Polystat User's Guide explains how to set up a MIXING task in ANSYS Polydata and how to use the ANSYS Polystat module for statistical postprocessing of results.

• The Polyflow Examples Manual provides overviews of solutions to a variety of problem types and is available on the ANSYS Customer Portal. To access documentation files on the ANSYS Customer Portal, go to http://support.ansys.com/documentation.

• The GAMBIT manuals teach you how to use the GAMBIT preprocessor for geometry creation and mesh generation.

• The CFD-Post User's Guide explains how to use CFD-Post to examine your results.

For details on how to access the ANSYS Polyflow manuals, see the ANSYS Polyflow documentation section of the separate Polyflow User's Guide.

3. Contacting Technical Support

Technical Support for ANSYS, Inc. products is provided either by ANSYS, Inc. directly or by one of our certified ANSYS Support Providers. Please check with the ANSYS Support Coordinator (ASC) at your company to determine who provides support for your company, or go to www.ansys.com and select

Contacts> Contacts and Locations.

If your support is provided by ANSYS, Inc. directly, Technical Support can be accessed quickly and effi-ciently from the ANSYS Customer Portal, which is available from the ANSYS Website (www.ansys.com)

(10)

One of the many useful features of the Customer Portal is the Knowledge Resources Search, which can be found on the Home page of the Customer Portal. To use this feature, enter relevant text (error message, etc.) in the Knowledge Resources Search box and click the magnifying glass icon. These

Knowledge Resources provide solutions and guidance on how to resolve installation and licensing issues quickly.

NORTH AMERICA

All ANSYS Products except Esterel, Apache and Reaction Design products

Web: Go to the ANSYS Customer Portal (http://support.ansys.com) and select the appropriate option.

Toll-Free Telephone: 1.800.711.7199 (Please have your Customer or Contact ID ready.)

Support for University customers is provided only through the ANSYS Customer Portal.

GERMANY

ANSYS Mechanical Products

Telephone: +49 (0) 8092 7005-55 (CADFEM) Email: support@cadfem.de

All ANSYS Products

Web: Go to the ANSYS Customer Portal (http://support.ansys.com) and select the appropriate option.

National Toll-Free Telephone: (Please have your Customer or Contact ID ready.)

German language: 0800 181 8499 English language: 0800 181 1565 Austria: 0800 297 835

Switzerland: 0800 564 318

International Telephone: (Please have your Customer or Contact ID ready.)

German language: +49 6151 152 9981 English language: +49 6151 152 9982

Email: support-germany@ansys.com

UNITED KINGDOM All ANSYS Products

Web: Go to the ANSYS Customer Portal (http://support.ansys.com) and select the appropriate option.

Telephone: Please have your Customer or Contact ID ready.

UK: 0800 048 0462

Republic of Ireland: 1800 065 6642 Outside UK: +44 1235 420130

Email: support-uk@ansys.com

Support for University customers is provided only through the ANSYS Customer Portal.

(11)

Mechanical: japan-ansys-support@ansys.com Fluent: japan-fluent-support@ansys.com; CFX: japan-cfx-support@ansys.com; Polyflow: japan-polyflow-support@ansys.com; Icepak Telephone: +81-3-5324-7444 Email: japan-icepak-support@ansys.com

Licensing and Installation

Email: japan-license-support@ansys.com

INDIA

All ANSYS Products

Web: Go to the ANSYS Customer Portal (http://support.ansys.com) and select the appropriate option.

Telephone: +91 1 800 209 3475 (toll free) or +91 20 6654 3000 (toll) (Please have your Customer or

Contact ID ready.)

FRANCE

All ANSYS Products

Web: Go to the ANSYS Customer Portal (http://support.ansys.com) and select the appropriate option.

Toll-Free Telephone: +33 (0) 800 919 225 Toll Number: +33 (0) 170 489 087 (Please have your Customer

or Contact ID ready.)

Email: support-france@ansys.com

Support for University customers is provided only through the ANSYS Customer Portal.

BELGIUM

All ANSYS Products

Web: Go to the ANSYS Customer Portal (http://support.ansys.com) and select the appropriate option.

Toll-Free Telephone: (0) 800 777 83 Toll Number: +32 2 620 0152 (Please have your Customer or Contact

ID ready.)

Email: support-benelux@ansys.com

Support for University customers is provided only through the ANSYS Customer Portal.

SWEDEN

All ANSYS Products

Web: Go to the ANSYS Customer Portal (http://support.ansys.com) and select the appropriate option.

Telephone: +46 (0) 10 516 49 00 Email: support-sweden@ansys.com

Support for University customers is provided only through the ANSYS Customer Portal.

(12)

Web: Go to the ANSYS Customer Portal (http://support.ansys.com) and select the appropriate option.

Spain: Toll-Free Telephone: 900 933 407 Toll Number: +34 9178 78350 (Please have your Customer or

Contact ID ready.)

Portugal: Toll-Free Telephone: 800 880 513 (Portugal)

Email: support-spain@ansys.com, support-portugal@ansys.com

Support for University customers is provided only through the ANSYS Customer Portal.

ITALY

All ANSYS Products

Web: Go to the ANSYS Customer Portal (http://support.ansys.com) and select the appropriate option.

Toll-Free Telephone: 800 789 531 Toll Number: +39 02 00621386 (Please have your Customer or Contact

ID ready.)

Email: support-italy@ansys.com

Support for University customers is provided only through the ANSYS Customer Portal.

TAIWAN, REPUBLIC OF CHINA Telephone: 866 22725 5828

K0REA

Telephone: 82-2-3441-5000

CHINA

(13)

The following Workbench tutorial is available:

(14)
(15)

Extrusion

1.1. Introduction

This tutorial illustrates how to use ANSYS Polyflow fluid flow systems in ANSYS Workbench to set up and solve a 3D extrusion problem with a variety of inlet flow rates. This tutorial is designed to introduce you to the ANSYS Workbench tool set using a similar geometry to that used in 3D Extrusion (p. 143). In this tutorial, you will import the geometry and generate a computational mesh using the geometry and meshing tools within ANSYS Workbench. Then you will use ANSYS Polydata to modify an imported data file, solve the CFD problem using ANSYS Polyflow, and view the results in the CFD-Post postprocessing tool. Finally, you will use the Parameter and Design Points view in ANSYS Workbench to calculate results for multiple design points that represent different inlet flow rates.

This tutorial demonstrates how to do the following: • Launch ANSYS Workbench.

• Create an ANSYS Polyflow fluid flow analysis system in ANSYS Workbench. • Import and edit geometry using ANSYS DesignModeler.

• Create a computational mesh for the geometry using the ANSYS Meshing application.

• Import a data file, and modify it using ANSYS Polydata to include a user-defined template for the die inlet flow rate.

• Calculate a solution using ANSYS Polyflow.

• View the initial results and create an output parameter for the maximum velocity of the extrudate in CFD-Post.

• Generate results for multiple design points using the Parameter and Design Points view, and chart how the outflow velocity varies with the inlet flow rate.

1.2. Prerequisites

This tutorial assumes that you have little to no experience with ANSYS DesignModeler, ANSYS Meshing, ANSYS Polyflow, CFD-Post, or the Parameter and Design Points view of ANSYS Workbench, and so each step will be explicitly described.

1.3. Problem Description

This problem deals with the flow of a Newtonian fluid through a three-dimensional die. Due to the symmetry of the problem (the cross-section of the die is a square), the computational domain is defined for a quarter of the geometry and two planes of symmetry are defined.

(16)

The melt enters the die as shown in Figure 1.1: Problem Description (p. 4) at an initial flow rate of cm3/s (this flow rate is a quarter of that for the complete physical system) and the extrudate is obtained at the exit. It is assumed that the extrudate is fully deformed at the end of the computational domain, and that it will not deform any further (that is, subdomain 2 is long enough to account for all the deformation of the extrudate).

Figure 1.1: Problem Description

The incompressibility and momentum equations are solved over the computational domain. The domain for the problem is divided into two subdomains (as shown in Figure 1.1: Problem Description (p. 4)) so that a remeshing algorithm can be applied only to the portion of the mesh that will be deformed. Subdomain 1 represents the die where the fluid is confined. Subdomain 2 corresponds to the extrudate that is in contact with the air and can deform freely. The calculation will determine the location of the free surface (the skin of the extrudate), as well as the velocity of the extrudate at the exit.

The boundary set for the problem is shown in Figure 1.2: The Boundary Set for the Problem (p. 5), and the conditions at the boundaries of the domains are:

• inlet: flow inlet, initial volumetric flow rate cm3/s • die wall: zero velocity

• free surface: free surface • symmetry 1: symmetry plane • symmetry 2: symmetry plane • outlet: flow exit

(17)

Figure 1.2: The Boundary Set for the Problem

1.4. Setup and Solution

The following sections describe the setup and solution steps for this tutorial:

1.4.1. Preparation

1.4.2. Creating a Fluid Flow Analysis System in ANSYS Workbench 1.4.3. Preparing the Geometry in ANSYS DesignModeler

1.4.4. Meshing the Geometry in the ANSYS Meshing Application 1.4.5. Setting Up the CFD Simulation in ANSYS Polydata

1.4.6. Solution 1.4.7. Postprocessing

1.4.8. Exploring Additional Solutions

1.4.1. Preparation

To prepare for running this tutorial:

1. Prepare a working folder for your simulation.

2. Go to the ANSYS Customer Portal,https://support.ansys.com/training.

Note

If you do not have a User Name and Password, you can register by clicking Customer

(18)

3. Enter the name of this tutorial into the search bar.

4. Narrow the results by using the filter on the left side of the page. a. Click ANSYS Polyflow under Product.

b. Click 18.0 under Version.

5. Select this tutorial from the list.

6. Click the ext3d-workbench_R180.zip link to download the input and solution files.

7. Unzip the ext3d-workbench_R180.zip file you have downloaded to your working folder.

The extracted files include the geometry file ext3d.x_t, the data file polyflow.dat, and a

solution folder that contains the solution files created during the preparation of the tutorial.

Note

This tutorial is prepared using ANSYS Polyflow on a Windows system. The screen shots and graphic images that follow may be slightly different than the appearance on your system, depending on the operating system or graphics card.

1.4.2. Creating a Fluid Flow Analysis System in ANSYS Workbench

1. From the Windows Start menu, select Start > All Programs > ANSYS 18.0 > Workbench 18.0 to start ANSYS Workbench.

The ANSYS Workbench application window will open, containing the Toolbox on the left and the Project Schematic on the right. The Toolbox lists the various supported analyses and applications, and the Project Schematic provides a space to display the components of the analysis systems you select.

Note

When you first start ANSYS Workbench, the Getting Started message window is dis-played, offering assistance through the online help for using the application. You can keep the window open, or close it by clicking the red ‘X’ icon in the upper right corner. If you need to access the online help at any time, use the Help menu, or press the F1 key.

2. Create a new fluid flow analysis system by double-clicking the Fluid Flow (Polyflow) option under

(19)

Figure 1.3: Selecting the Fluid Flow (Polyflow) Analysis System in ANSYS Workbench

Extra

You can also create a new fluid flow analysis system by dragging-and-dropping the analysis system into the Project Schematic: a green dotted outline will indicate a potential location in the Project Schematic for the new system, which will turn into a red box when you attempt to drop it.

(20)

Figure 1.4: ANSYS Workbench with a New ANSYS Polyflow-Based Fluid Flow Analysis System

Note

The ANSYS Polyflow-based fluid flow analysis system is composed of various cells (Geometry, Mesh, and so on) that represent the work flow for performing the analysis. ANSYS Workbench is composed of multiple data-integrated (for example, ANSYS Polyflow) and native applications into a single, seamless project flow, where individual cells can obtain data from and provide data to other cells. ANSYS Workbench provides visual in-dications of a cell’s state at any given time via icons on the right side of each cell. Because of the constant flow of data, a cell’s state can quickly change. Brief descriptions of the various states are provided below. For more information about cell states, see the ANSYS Workbench online help.

• Unfulfilled ( ) indicates that required upstream data does not exist. For example, when you first create a new Fluid Flow (Polyflow) analysis system, all cells downstream of the Geometry cell appear as Unfulfilled because you have not yet specified a geometry for the system.

• Refresh Required ( ) indicates that upstream data has changed since the last refresh or update. For example, after you assign a geometry to the Geometry cell in your new Fluid Flow (Polyflow) analysis system, the Mesh cell appears as Refresh Required since the geometry data has not yet been passed from the Geometry cell to the Mesh cell.

• Attention Required ( ) indicates that the current upstream data has been passed to the cell, however, you must take some action to proceed. For example, after you launch ANSYS Polydata from the Setup cell in a Fluid Flow (Polyflow) analysis system that has a valid mesh, the Setup cell appears as Attention

Required because additional data must be entered in ANSYS Polydata before you can calculate a

(21)

analysis system that has a valid geometry, the Mesh cell appears as Update Required because the

Mesh cell has all the data it requires to generate an ANSYS Polyflow mesh file, but the ANSYS

Poly-flow mesh file has not yet been generated.

• Up-to-Date ( ) indicates that an update has been performed on the cell and no failures have occurred (or an interactive calculation has been completed successfully). For example, after ANSYS Polyflow finishes performing the number of necessary solver iterations, the Solution cell appears as Up-to-Date.

• Interrupted ( ) indicates that you have interrupted an update (or stopped an interactive calculation that is in progress). For example, if you select the stop button ( ) in the Progress Monitor of ANSYS Workbench at a point where ANSYS Polyflow has generated results but has not yet completed the cal-culation (such as during a transient simulation), then verify the action in the dialog box that opens, ANSYS Polyflow is immediately stopped and the Solution cell appears as Interrupted.

• Input Changes Pending ( ) indicates that the cell is locally up-to-date, but may change when next updated as a result of changes made to upstream cells. For example, if you change the Mesh in an

Up-to-Date Fluid Flow (Polyflow) analysis system, the Setup cell appears as Refresh Required, and the Solution and Results cells appear as Input Changes Pending.

• Pending ( ) indicates that a batch or asynchronous solution is in progress. This icon will only appear when the Solution cell is in background mode.

• Refresh Failed, Refresh Required ( ) indicates that the last attempt to refresh cell input data failed, and so the cell must be refreshed.

• Update Failed, Update Required ( ) indicates that the last attempt to update the cell and calculate output data failed, and so the cell must be updated. For example, if you update the Solution cell and the solver diverges during the calculation, the Solution cell appears as Update Failed, Update Required. • Update Failed, Attention Required ( ) indicates that the last attempt to update the cell and calculate

output data failed, and so the cell requires attention.

3. Name the analysis.

a. Double-click the Fluid Flow (Polyflow) label underneath the analysis system. b. Enter ext3d for the name of the analysis system.

4. Save the project.

a. Select the Save option under the File menu in ANSYS Workbench.

File → Save

The Save As dialog will open, where you can browse to a specific directory and enter a specific name for the ANSYS Workbench project.

b. In your working directory, enter ext3d-wb as the project File name and click the Save button to save the project. ANSYS Workbench saves the project with a .wbpj extension, as well as supporting files for the project.

(22)

5. View the files generated by ANSYS Workbench, by enabling the Files option under the View menu.

View → Files

The Files view is displayed in the Project Schematic.

Figure 1.5: Displaying the Files View after Adding an ANSYS Polyflow-Based Fluid Flow Analysis System

ANSYS Workbench allows you to easily view the files associated with your project using the Files view. You can see the name and type of file, the ID of the cell the file is associated with, the size of the file, the location of the file, and other information. For more information about the Files view, see the separate Polyflow in Workbench User's Guide and the ANSYS Workbench online help. To access docu-mentation files on the ANSYS Customer Portal, go to http://support.ansys.com/documentation.

1.4.3. Preparing the Geometry in ANSYS DesignModeler

In the following steps you will import a previously created geometry file, modify the geometry with ANSYS DesignModeler, then review the list of files generated by ANSYS Workbench.

Note

ANSYS DesignModeler is licensed separately from ANSYS Polyflow. If you do not have access to ANSYS DesignModeler, you can instead import a geometry file that does not need to be modified, as noted in step 1.c.

1. Import the geometry file.

(23)

c. Use the Open dialog box to browse to the folder you unzipped in a previous step, select ext3d.x_t, and click Open.

Note

If you do not have access to ANSYS DesignModeler, select PFL.agdb in the Open dialog box instead, then skip to Meshing the Geometry in the ANSYS Meshing Ap-plication (p. 12).

The state of the Geometry cell becomes Up-to-Date, indicating that there is a geometry now associated with the fluid flow analysis system.

2. Start ANSYS DesignModeler.

Right-click the Geometry cell in the ext3d fluid flow analysis system, and select Edit Geometry

in DesignModeler..., to launch the ANSYS DesignModeler application.

3. Finish importing the geometry file by clicking Generate in the ANSYS DesignModeler toolbar. The geometry will be displayed in the Graphics window.

Figure 1.6: The Imported Geometry in the ANSYS DesignModeler Application

Note that the scale at the bottom of the Graphics window can be used to confirm that the overall length of the domain is 0.6 m.

(24)

4. Modify the geometry so that the separate domains ("bodies") are treated as a single entity (a "part"), by performing the following actions in the Tree Outline.

By uniting the multiple bodies of the geometry into a single part, you will create a conformal mesh between the separate domains of the bodies.

a. Expand the 2 Parts, 2 Bodies node. b. Click 1 so that it is highlighted.

c. Hold the Ctrl key and click 2 so that it is highlighted as well.

d. Right-click the highlighted objects and click Form New Part in the menu that opens.

The Tree Outline will list the geometry as 1 Part, 2 Bodies.

5. Close ANSYS DesignModeler.

You can simply close the ANSYS DesignModeler application. ANSYS Workbench automatically saves the geometry and updates the Project Schematic accordingly.

6. View the files generated by ANSYS Workbench, as displayed in the Project Schematic.

Note the addition of the geometry file (PFL.agdb, where PFLindicates a Polyflow-based fluid flow system) to the list of files.

1.4.4. Meshing the Geometry in the ANSYS Meshing Application

Now that you have prepared the extrusion geometry, you need to generate a computational mesh throughout the flow volume. In the following steps you will use the ANSYS Meshing application to create a mesh for your CFD analysis, then review the list of files generated by ANSYS Workbench. 1. Open the ANSYS Meshing application.

Double-click the Mesh cell in the ext3d fluid flow analysis system (cell A3) to launch the ANSYS Meshing application with the extrusion geometry already loaded.

Extra

You can also right-click the Mesh cell to display the context menu where you can select the Edit... option.

(25)

Figure 1.7: The ANSYS Meshing Application with the Extrusion Geometry Loaded

2. Group the faces and create named selections to match the boundary set shown in Figure 1.2: The Boundary Set for the Problem (p. 5).

a. Rotate the view to get your display similar to that shown in Figure 1.8: Rotated View (p. 14), by holding the center mouse button and moving your pointer in the geometry window. (You can also manipulate the view by clicking in the ANSYS Meshing toolbar and dragging the model).

Tip

Look at the orientation of the axis triad, , to assist when rotating the view.

(26)

Figure 1.8: Rotated View

b. Click Mesh under Project/Model in the Outline tree.

Information will be displayed about the mesh in the Details view below the Outline tree view.

Note

Note that since the ANSYS Meshing application automatically detects that you are going to perform a CFD fluid flow analysis, CFD is selected from the Physics

Pref-erence drop-down list.

c. Select the face that will represent the inlet, as shown highlighted in green in Figure 1.9: Selecting the Inlet Face (p. 15).

Ensure is enabled in the ANSYS Meshing toolbar, for face selection.

d. Right-click and select the Create Named Selection option (from the menu that opens) to open the

(27)

Figure 1.9: Selecting the Inlet Face

e. Enter inlet for the name in the Selection Name dialog box, and click OK.

f. Hold down the Ctrl key, select the 2 faces that will represent the zero velocity boundary (as highlighted in green in Figure 1.10: The Zero Velocity Faces Selected (p. 16)), then create a selection named die

(28)

Figure 1.10: The Zero Velocity Faces Selected

g. Hold down the Ctrl key, select the 2 faces that will represent the free surface boundary (as highlighted in green in Figure 1.11: The Free Surface Faces Selected (p. 17)), and create a selection named free surface in a manner similar to the previous steps.

(29)

Figure 1.11: The Free Surface Faces Selected

h. Rotate the view to get your display to be similar to that shown in Figure 1.12: Rotated View (p. 17), by holding the center mouse button and moving your pointer in the geometry window.

(30)

i. Hold down the Ctrl key, select the 2 faces that will represent one of the symmetry boundaries (as highlighted in green in Figure 1.13: The First Pair of Symmetry Faces Selected (p. 18)), and create a selection named symmetry 1 in a manner similar to the previous steps.

Figure 1.13: The First Pair of Symmetry Faces Selected

j. Hold down the Ctrl key, select the 2 faces that will represent the other of the symmetry boundaries (as highlighted in green in Figure 1.14: The Second Pair of Symmetry Faces Selected (p. 19)), and create a selection named symmetry 2 in a manner similar to the previous steps.

(31)

Figure 1.14: The Second Pair of Symmetry Faces Selected

k. Select the face that will represent the flow exit boundary (as highlighted in green in Figure 1.15: The Flow Exit Face Selected (p. 20)), and create a selection named outlet in a manner similar to the previous steps.

(32)

Figure 1.15: The Flow Exit Face Selected

(33)

a. Confirm that Polyflow is selected from the Solver Preference drop-down list under Defaults. b. Expand the Sizing node to reveal additional sizing parameters.

c. Select Adaptive from the Size Function drop-down list.

4. Generate the mesh.

a. Right-click Mesh in the Outline tree view, and select Update in the context menu.

The geometry window will display the generated mesh.

Note

Using the Generate Mesh option from the Mesh context menu creates the mesh, but does not actually create the relevant mesh files for the project and is optional if you already know that the mesh is acceptable. Using the Update option automat-ically generates the mesh and creates the relevant mesh files for your project and updates the ANSYS Workbench cell that references this mesh.

b. Refine the mesh.

(34)

ii. Right-click Mesh in the Outline tree view, and select Update in the context menu.

The geometry window will display the refined mesh.

Extra

After the mesh is generated, you can view the mesh statistics by expanding the Statistics node in the Details view to reveal information about the number of nodes, the number of elements, and other details.

(35)

Figure 1.16: The Computational Mesh for the Extrusion Geometry

5. Close the ANSYS Meshing application.

When you close the ANSYS Meshing application, ANSYS Workbench automatically saves the mesh and updates the Project Schematic accordingly (the state of the Mesh cell changes from Refresh

Required to Up-to-Date, indicating that there is a mesh now associated with the fluid flow analysis

system).

6. View the files generated by ANSYS Workbench, as displayed in the Project Schematic.

Note the addition of the mesh files (PFL.1.polyandPFL.mshdb) to the list of files. The

PFL.1.poly file was created when you updated the mesh, and thePFL.mshdbfile was generated when you closed the ANSYS Meshing application.

(36)

1.4.5. Setting Up the CFD Simulation in ANSYS Polydata

1. Import the data file (polyflow.dat).

The data file you will import has already been set up for a 3D extrusion simulation with a single inlet flow rate. For details on how to set up a similar data file in ANSYS Polydata, see 3D Extrusion (p. 143).

a. Right-click the Setup cell in the ext3d fluid flow analysis system, and click Import Polyflow Dat ... in the context menu that opens.

b. Use the Open dialog box to browse to the folder you unzipped in a previous step, select poly-flow.dat, and click Open.

The state of the Setup cell remains Refresh Required, indicating that even though there is a data file now associated with the fluid flow analysis system, you still must perform an update for the cell.

c. Right-click the Setup cell and click Update in the context menu that opens.

After ANSYS Polydata checks for coherence between the mesh and data files, the state for the Setup cell becomes Up-to-Date. At this point it would be possible to run the ANSYS Polyflow solver for your simulation; however, for this tutorial you will first modify the data file.

2. View the files generated by ANSYS Workbench, as displayed in the Project Schematic.

Note the addition of the data file (polyflow.dat) to the list of files.

3. Start ANSYS Polydata.

Double-click the Setup cell in the ext3d fluid flow analysis system.

Extra

You can also launch ANSYS Polydata by right-clicking the Setup cell and clicking Edit... in the context menu that opens.

Note

(37)

Figure 1.17: The ANSYS Polydata Application

4. View the mesh information, in order to verify the unit that should be used for length when defining your inputs for the simulation.

It is a good practice to always perform this step with new meshes. Polydata and Polyflow do not consider units when calculating a solution, so it is your responsibility to ensure that you enter values for the ve-locity, material data, and other settings that are consistent with each other and with the mesh.

a. Click the Mesh tab at the bottom of the Polydata window.

b. Click the Info button to open a panel that displays the mesh information.

c. Verify that the Length Unit used to create the mesh was meters and that the dimensions of the

Bounding Box (which surrounds the mesh) are 0.1 x 0.1 x 0.6.

It is therefore recommended that you use meters for the length unit when specifying the inputs for the simulation. Note that if you decided that you would rather work with a different length unit, you could scale the mesh using Polyfuse, as described in the Polyflow User's Guide.

d. Close the panel and click the Menus tab at the bottom of the Polydata window.

5. Modify the data file so that the inlet flow rate is flagged as modifiable in a user-defined template (UDT).

Note

UDTs are considered input parameters by ANSYS Workbench. a. Select the task that must be modified.

(38)

F.E.M. Task 1

b. Select the sub-task of F.E.M. Task 1 to modify.

3D die swell

3D die swell is the name that was given to the sub-task for the flow problem when the data file was created.

c. Modify the boundary conditions.

Flow boundary conditions

d. Select Inflow along INLET in the Flow boundary conditions menu and click Modify.

e. Click the UPDT button at the top of the ANSYS Polydata application window, to enable template inputs.

f. Click Inflow in the Flow boundary condition along INLET menu.

g. Retain the selections of Automatic and Volumetric flow rate in the Inflow calculation on

INLET menu, and note that the flow rate is already set to 1 x 10-5 (which, since you are using meters for your length unit, is equal to 10 cm3/s—that is, the initial flow rate proposed in

Problem Description (p. 3)). Then click Upper level menu.

(39)

j. Click Upper level menu four times to return to the main Polydata menu.

6. Verify the system of units that will be passed to CFD-Post for postprocessing.

It is a good practice to always perform this step before running a new simulation, to ensure consistency with the mesh and the units you used when defining the velocity, material data, and other settings.

Outputs

a. Note that the Current output(s) in the Outputs menu indicate that CFD-Post is currently selected as the intended postprocessor.

b. Click Set units for CFD-Post, Ansys Mapper or Iges.

c. Note that meter, kilogram, and second are currently selected for Length, Mass, and Time, respect-ively (which is consistent with the values used in setting up the data file).

d. Click Upper level menu twice to return to the main Polydata menu.

7. Save the data file and close ANSYS Polydata.

Save and exit

a. Click Accept in the Field Management menu. b. Click Continue in the File Management menu.

A Parameters cell will be added to theext3dfluid flow analysis system in the ANSYS Workbench Project Schematic (cell A7). Also, a Parameter Set bar will be added below the system with an inbound arrow, indicating that an input parameter has been created.

(40)

Note the addition of the template file (templates.upd) to the list of files.

1.4.6. Solution

1. Start ANSYS Polyflow.

In the ANSYS Workbench Project Schematic, right-click the Solution cell in the ext3d fluid flow analysis system (cell A5), and click Update in the context menu that opens.

The ANSYS Polyflow solver will begin running. When the calculation is complete, the state for the

Solution cell becomes Up-to-Date.

2. View the files generated by ANSYS Workbench, as displayed in the Project Schematic.

Note the addition of the listing file (polyflow.lst), the ANSYS Polyflow results file (res), the output mesh file (res.msh), the CFD-Post file (cfx.res), and the automatically generated probe files (.prb) to the list of files. For more information about ANSYS Polyflow (and the files associated with it), see files written and read by ANSYSPolydata in the Polyflow User's Guide. To access documentation files on the ANSYS Customer Portal, go to http://support.ansys.com/documentation.

1.4.7. Postprocessing

In the following steps you will use ANSYS CFD-Post to view the results of your initial simulation, create an expression that can be used as an output parameter for ANSYS Workbench, then review the list of files generated by ANSYS Workbench.

1. Start ANSYS CFD-Post.

In the ANSYS Workbench Project Schematic, double-click the Results cell in the ext3d fluid flow analysis system (cell A6).

(41)

The ANSYS CFD-Post application will launch with the extrusion geometry already loaded (displayed in outline mode). Note that ANSYS Polyflow results are also automatically loaded into ANSYS CFD-Post. Figure 1.18: The Extrusion Geometry Loaded into ANSYS CFD-Post

2. Obtain the view shown in Figure 1.19: Rotating the View (p. 29).

a. Rotate the view, by holding the center mouse button and moving your pointer in the viewer area.

b. Reduce the magnification of the view by clicking the Zoom icon at the top of the viewer area ( ), holding the left mouse button, and moving your pointer in the viewer area.

(42)

3. Display contours of velocity magnitude on the boundaries (Figure 1.20: Contours of Velocity Mag-nitude (p. 32)).

a. Open the Insert Contour dialog box.

Insert → Contour

b. Retain the default entry of Contour 1 for Name and click OK to close the dialog box.

Information about Contour 1 will be displayed in the Details view below the Tree view in ANSYS CFD-Post. The Details view contains all of the settings for a contour object.

c. Open the Location Selector dialog box by clicking the location editor button ( ) next to the

(43)

i. Select all of the boundaries listed under ext3d by clicking the first one in the list (PART_1_1_SOL_DIE_WALL), holding the Shift key, and clicking the last one in the list (PART_1_2_SOL_SYMMETRY_2).

ii. Click OK to close the Location Selector dialog box.

d. Select VELOCITIES from the Variable drop-down list. e. Click Apply.

The velocity is 0 along the die wall (as expected) and there is a fully developed profile at the inlet of the die. At the die outlet, the velocity profile changes to become constant throughout the extrudate cross-section. The transition between these two states can be seen in the first third of the extrudate.

(44)

Figure 1.20: Contours of Velocity Magnitude

4. Display contours of velocity in cross-sections (Figure 1.21: Velocity Profiles at cross-sections (p. 37)). a. Disable Contour 1 under User Locations and Plots in the Outline tab of the Tree view.

(45)

b. Create a cross-section plane at =0.0 m.

i. Select Plane from the Location drop-down menu, located in the toolbar.

(46)

Information about Plane 1 will be displayed in the Details view.

iii. Retain the default selection of XY Plane for Method in the Geometry tab of the Details view for Plane 1.

iv. Retain the default entry of 0.0 m for Z. v. Click Apply

c. In a similar manner, create cross-section planes at =0.08 m, 0.15 m, and 0.45 m named Plane 2,

Plane 3, and Plane 4 respectively. Note that you will retain the default selection of XY Plane for Method and enter appropriate values for Z in the Details view.

d. Disable Plane 1, Plane 2, Plane 3, and Plane 4 under User Locations and Plots in the Outline tab of the Tree view, so that the planes are no longer colored gray in the viewer area.

e. Open the Insert Contour dialog box.

(47)

f. Retain the default entry of Contour 2 for Name and click OK to close the dialog box.

Information about Contour 2 will be displayed in the Details view below the Tree view.

g. Open the Location Selector dialog box by clicking the location editor button ( ) next to the

(48)

i. Select all of the planes listed under User Locations and Plots by clicking Plane 1, holding the

Shift key, and clicking Plane 4.

ii. Click OK to close the Location Selector dialog box.

h. Select VELOCITIES from the Variable drop-down list. i. Click Apply.

Velocity profiles at the flow inlet, the flow outlet, and planes just before and just after the die exit are displayed. Compare the velocity profile within the die to the velocity profile just after the die exit at the end of the computational domain. In the die the flow is fully developed. The velocity profile is flat (that is, all the particles in the cross-section are at the same velocity) in the extrudate, far away from the die exit. In the transitional zone just beyond the die exit, the velocity profile is reorganized. The velocity profile on the plane =0.15 m is no longer fully developed, but it is not yet flat either. The velocity re-arrangement is the source of the deformation of the extrudate.

(49)

Figure 1.21: Velocity Profiles at cross-sections

5. Create an expression for the maximum velocity at the flow exit, which can be used as an output parameter in ANSYS Workbench.

a. Click the Expressions tab in the Tree view.

b. Right-click anywhere in the Expressions tab and click New in the menu that opens to create a new expression.

The New Expression dialog box will open.

i. Enter maxvelocity for Name.

(50)

c. Right-click in the Definition tab of the Details view, move your pointer over Functions, move your pointer over CFD-Post, and click maxVal, to specify that the function in the expression obtains the maximum value.

d. Make sure that the cursor is between the parentheses of maxVal()@, right-click in the Details view again, move your pointer over Variables, and click VELOCITIES, to specify that the variables obtained in the expression are velocities.

(51)

e. Move the cursor so that it is after the @ symbol of maxVal (VELOCITIES)@, right-click in the Details view again, move your pointer over Locations, and click PART_1_2_SOL_OUTLET, to specify that the variables are obtained for the expression at the flow exit.

(52)

f. Click Apply.

The expression in the Definition tab of the Details view will be defined as maxVal (VELOCITIES)@ PART_1_2_SOL_OUTLET with a Value of approximately 7.8 x 10-4m/s, and maxvelocity will be added to the list in the Expressions tab of the Tree view, as shown in Figure 1.22: Creating an Expression for an Output Parameter (p. 41).

(53)

Figure 1.22: Creating an Expression for an Output Parameter

g. Right-click maxvelocity in the Expressions tab of the Tree view and select Use as Workbench

(54)

An outbound arrow will be added from the Parameters cell to the Parameter Set bar in the Project Schematic , indicating that an output parameter has been created.

6. Close the ANSYS CFD-Post application.

Note

Note that the ANSYS CFD-Post state files are automatically saved when you exit ANSYS CFD-Post and return to ANSYS Workbench.

7. Save the ext3d-wb project in ANSYS Workbench.

File → Save

(55)

Figure 1.23: Displaying the Files View after Viewing Results in ANSYS CFD-Post

Note the addition of the ANSYS CFD-Post state file (ext3d.cst) to the list of files. For more information about ANSYS CFD-Post (and the files associated with it), see the ANSYS CFD-Post documentation.

1.4.8. Exploring Additional Solutions

At this point you have run the simulation with an initial inlet flow rate. In the following steps you will create multiple design points for various inlet flow rates, solve them with a single action, then review the list of files generated by ANSYS Workbench.

Note

ANSYS DesignXplorer is licensed separately from ANSYS Polyflow. If you do not have access to ANSYS DesignXplorer, you will not be able to perform some of the steps that follow, such as computing multiple design points or plotting results in a chart.

1. Open the Parameters Set tab, which contains the Parameters and Design Points view (Figure 1.24: The Parameters and Design Points View (p. 44)).

In the ANSYS Workbench Project Schematic, double-click the Parameter Set bar below the ext3d

fluid flow analysis system.

Extra

You can also open the Parameters and Design Points view by right-clicking the

(56)

Figure 1.24: The Parameters and Design Points View

If you do not see the panes shown in the previous figure, make them visible by enabling Outline,

Properties, Table, and Chart from the View menu.

2. Run the calculation again with a new inlet flow rate for the current design point.

a. Enter 8E-6 under P1 - flow rate for the DP0 (Current) design point (cell B3) in the Table of

Design Points.

An Update Required icon will be added to the cell under P2- maxvelocity for the DP0 (Current) design point (cell C3 ).

b. Right-click the cell under P2 - maxvelocity for the DP0 (Current) design point and select Update

Selected Design Points in the context menu that opens, to generate the maximum velocity at the

flow exit with the revised inlet flow rate.

Extra

You can also update the design point by clicking Update All Design Points in the ANSYS Workbench toolbar.

(57)

A dialog box may open to inform you that some open editors may close during this process. Click

OK to proceed.

ANSYS Polydata will update the data file based on the revised inlet flow rate and ANSYS Polyflow will run again. When the calculation is complete, the Table of Design Points will display a new value of approximately 6.2 x 10-4 m/s under P2 - maxvelocity for the DP0 (Current) design point.

3. Create a chart for the updated current design point.

a. Click P1 under Input Parameters (cell A4) in the Outline of All Parameters.

The ANSYS Workbench Toolbox will display options for Parameter Charts.

b. Double-click Parameters Chart P1 vs ? in the Toolbox to open the Properties of Outline A11:0 window at the bottom of the Parameters Set tab.

The Properties of Outline A11:0 window will display an initial setup for Parameter Chart 0 , in which P1 - flow rate is selected from the X-Axis (Bottom) drop-down list.

(58)

c. Select P2 - maxvelocity from the Y-Axis (Left) drop-down list in the Properties of Outline A11:0 window.

The current design point will be plotted in Parameter Chart 0 (Figure 1.25: The Chart of the Current Design Point (p. 46)).

Figure 1.25: The Chart of the Current Design Point

4. Create more design points for a range of inlet flow rates.

a. Enter 1E-5 for P1 - flow rate in the row beneath the DP0 (Current) design point (cell B*) in the Table of Design Points, so that a new row is added (4) with DP 1 as the Name.

(59)

b. In a similar manner, create additional design points DP 2 and DP 3 with a P1 - flow rate of

1.1E-5 and 1.2E-5, respectively.

Extra

By default, Workbench only saves the calculated data for the design point in the row labeled Current. You can specify that the data generated for any other design points is saved within the project by enabling the Retain option in column D. After the design points are updated, you can then right-click a design point in the Table

of Design Points and select Set as Current to access the data.

5. Generate the values for the maximum velocity at the flow exit for all of the new design points. Click Update All Design Points in the ANSYS Workbench toolbar.

ANSYS Polydata will update and ANSYS Polyflow will run repeatedly to solve for each of the design points. As each calculation completes, the Table of Design Points (Figure 1.26: Displaying Values for All of the Design Points (p. 47)) and Parameter Chart 0 (Figure 1.27: The Chart of All of the Design Points (p. 48)) will be updated.

(60)

Figure 1.27: The Chart of All of the Design Points

6. Save the ext3d-wb project in ANSYS Workbench.

File → Save

7. Return to the Project Schematic view by clicking the Project tab above the ANSYS Workbench toolbar. 8. View the files generated by ANSYS Workbench, as displayed in the Project Schematic.

Figure 1.28: Displaying the Files View after Exploring Solutions

Note that the list of files shows that the design point file (designPoint.wbdp) was updated. For more information about the files associated with ANSYS Workbench, see the ANSYS Workbench docu-mentation.

1.5. Summary

In this tutorial, portions of ANSYS Workbench were used to simulate a 3D extrusion and to compare the flow exit velocities associated with a range of inlet flow rates.

ANSYS DesignModeler was used to prepare the geometry, ANSYS Meshing was used to create a compu-tational mesh, ANSYS Polydata was used to set up the simulation, ANSYS Polyflow was used to calculate the fluid flow throughout the geometry using the computational mesh, and CFD-Post was used to

(61)

The following extrusion tutorials are available:

1. 2.5D Axisymmetric Extrusion (p. 51)

2. Fluid Flow and Conjugate Heat Transfer (p. 85) 3. Non-Isothermal Flow Through a Cooled Die (p. 111) 4. 3D Extrusion (p. 143)

5. Direct Extrusion (p. 171) 6. Inverse Extrusion (p. 195)

7. Flow of Two Immiscible Fluids (p. 221)

(62)
(63)

This tutorial is divided into the following sections:

1.1. Introduction 1.2. Prerequisites

1.3. Problem Description 1.4. Preparation

1.5. Setup and Solution 1.6. Summary

1.1. Introduction

This tutorial illustrates the setup and solution of a 2.5D axisymmetric extrusion problem. The problem corresponds to a simplified 2D simulation of a swirling flow that occurs around the head of an extrusion screw. The fluid is forced through the die and exits the extruder after a short die land. The model involves a free surface, the position of which is unknown.

In this tutorial you will learn how to: • Create a project in ANSYS Workbench. • Start Polydata from ANSYS Workbench. • Create a new task.

• Create a sub-task.

• Set material properties and boundary conditions for a 2.5D axisymmetric extrusion problem. • Select a remeshing method.

• Specify output for CFD-Post.

1.2. Prerequisites

This tutorial assumes that you have little experience with Polyflow and its associated modules.

1.3. Problem Description

The problem to be considered is shown schematically in Figure 1.1: Problem Schematic (p. 52). The fluid enters the domain at a flow rate of 10 cm3/s. The screw rotates at an angular velocity of 2 rad/s. In the upper part of the domain, a free surface is used to model the extrudate going out of the extrusion die. The position of the free surface is unknown. A portion of the mesh is affected by this unknown boundary. A remeshing technique will be applied on this part of the mesh.

(64)

Figure 1.1: Problem Schematic

Since the problem involves a free surface, the domain is divided into two subdomains: one for the region near the free surface and the other for the rest of the domain, as shown in Figure 1.2: Subdomains and Boundary Sets for the Problem (p. 53)

(65)

Figure 1.2: Subdomains and Boundary Sets for the Problem

The boundary sets for the problem are also shown in Figure 1.2: Subdomains and Boundary Sets for the Problem (p. 53), and the conditions at the boundaries of the domains are:

• BS1: flow inlet • BS2: outer wall • BS3: free surface • BS4: flow exit • BS5: symmetry axis

(66)

• BS6: rotating screw

1.4. Preparation

To prepare for running this tutorial:

1. Prepare a working folder for your simulation.

2. Go to the ANSYS Customer Portal,https://support.ansys.com/training.

Note

If you do not have a User Name and Password, you can register by clicking Customer

Registration on the Log In page.

3. Enter the name of this tutorial into the search bar.

4. Narrow the results by using the filter on the left side of the page. a. Click ANSYS Polyflow under Product.

b. Click 18.0 under Version.

5. Select this tutorial from the list.

6. Click the 25–Axi-Extrusion_R180.zip link to download the input and solution files.

7. Unzip the 25-Axi-Extrusion_R180.zip file you have downloaded to your working folder.

The mesh file ext2d.msh can be found in the unzipped folder.

8. Start Workbench from Start > All Programs > ANSYS 18.0 > Workbench 18.0.

1.5. Setup and Solution

The following sections describe the setup and solution steps for this tutorial:

1.5.1. Project and Mesh 1.5.2. Define a Task 1.5.3. Material Data 1.5.4. Boundary Conditions 1.5.5. Remeshing 1.5.6. Stream Function 1.5.7. Outputs

1.5.8. Save and Exit Polydata 1.5.9. Solution

(67)

1.5.1. Project and Mesh

Note

If you create the mesh in GAMBIT or a third-party CAD package, you need to convert it before you read it into Polydata. In this tutorial, the mesh file has already been converted. So you can read the mesh file directly into Polydata.

1. Create a Fluid Flow (Polyflow) analysis system by drag and drop in ANSYS Workbench.

a. Rename the project name to Tutorial 1 by double-clicking and editing the text Fluid Flow

(Poly-flow).

b. Save the ANSYS Workbench project using File → Save.

c. Enter 2.5-axi-extrusion as the name of the ANSYS Workbench project.

This will create a 2.5-axi-extrusion.wbpj file and a folder named 2.5-axi-extru-sion_files in the working directory. To reopen this project in a later ANSYS Workbench session, use File → Open.

2. Import the mesh file for the Polydata session.

(68)

a. Select ext2d.msh. b. Click Open.

3. Double-click the Setup cell to start Polydata and read in the mesh. When Polydata starts, the Create a new

task menu item appears in bold text, and the geometry for the problem is displayed in the Graphics Display

window.

Note

At this point (when Create a new task appears in bold text) if you realize that you have read the wrong mesh file, click STOP at the top of the Polydata menu and repeat the process to access the correct mesh file.

(69)

1.5.2. Define a Task

In the following steps you will first define a new task representing the 2.5D axisymmetric steady-state model. Then you will define a sub-task for the isothermal flow calculation.

1. Create a task for the model.

Create a new task

a. Select the following options: • F.E.M. task

• Steady-state problem(s) • 2D 1/2 axisymmetric geometry

The Current setup (above the selected options) will be updated to reflect the selection. In any problem solved using Polyflow, first an F.E.M. task is defined to calculate the flow field. If inform-ation regarding the trajectories is necessary, specify a MIXING task after solving the problem with the F.E.M. task specification and obtaining the results file. Then solve the problem once again. 3D velocity components (u,v,w) are prescribed in a 2D cylindrical reference frame (r,z), so 2D 1/2 axisymmetric geometry has been chosen. A steady-state condition is assumed for this problem.

(70)

The Create a sub-task menu item appears in bold text.

Note

At this point (when Create a sub-task appears in bold text) if you realize that you have made a mistake in the creation of the task and you need to return to that menu, do the following:

i. Click Upper level menu to return to the top-level Polydata menu.

ii. Select Redefine global parameters of a task and make the necessary changes. iii. Click Accept the current setup when you are satisfied with the corrected settings. iv. Select F.E.M. Task 1.

2. Create a sub-task for the isothermal flow.

Create a sub-task

a. Select Generalized Newtonian isothermal flow problem.

A small dialog box appears asking for the title of the problem.

b. Enter die swell as the New value and click OK.

The Domain of the sub-task menu item appears in bold text.

Note

At this point (when Domain of the sub-task appears in bold text) if you realize that you have made a mistake in the creation of the sub-task and you need to return to that menu, do the following:

(71)

iv. Select die swell at the bottom of the existing menu.

The Domain of the sub-task menu item appears in bold text.

3. Define the domain where the sub-task applies.

Since this flow involves a free surface, the domain is divided into two subdomains: one for the region near the free surface and the other for the rest of the domain. Here, the sub-task applies to both subdomains (the default condition).

Domain of the sub-task

Accept the default selection of both subdomains by clicking Upper level menu.

The Material data menu item appears in bold text.

1.5.3. Material Data

Polydata indicates the material properties that are relevant for your sub-task by dimming the irrelevant properties. In this case, viscosity, density, inertia terms, and gravity are available for specification. For this model, define only the viscosity of the material. Inertia effects are neglected and density is specified only when inertia, gravity, heat convection, or natural convection is taken into account. Since gravitational effects are not included in the model, the default value of zero is retained for gravity.

Material data

(72)

2. Click Cross law.

The viscosity is given by the Cross law:

(1.1)

where:

= zero-shear-rate viscosity = 85000 = natural time = 0.2

= Cross law index = 0.3 = shear rate

3. Specify the value , referred to as “fac” in the graphical user interface (compare the equation at the top of the Cross law menu to Equation 1.1 (p. 60)).

Modify fac

Enter 85000 [units: poise] as the New value and click OK.

4. Specify the value for , referred to as “tnat” in the graphical user interface.

References

Related documents

In present study we used a CFD tool Fluent 14.5 for solve the complex problem of fuel blending for different Grade of alternate fuel of Ethanol , Methanol and Nano additives

–  Under File→Settings→Appearance, enable “Show tool window bars”; the Android view shows LogCat, devices –  Programs should log states via

a) Results Obtained Using Design Optimization: The problem has been solve by using Design Optimization in ANSYS and the results are shown in fig 1.Variation of height(H) and

 Right click on the imported file  problem analysis  pattern modeling and analysis tool for java garbage collector [PMAT]  submit.  A pop-up shows the analysis

At the beginning of the file (scroll up in your Solution Information view), there is an overview of the participants (the Fluid and Structural system), the data transfers, the

Run the Make NetCDF Table View tool to create a temperature time series table at a specific location using the tmin variable from the temperature.nc netCDF

 Right-click on file to see a drop-down menu of actions on the file (New Window to open it in an editing window, rename, delete, copy, etc.)  Left-click on a folder to view

Select the right edge of the geometry and apply it in the details view window.. The pressure's magnitude from the problem specification is -1e6 psi (pressure in ANSYS defaults