76
ANSYS ICEM CFD User's Manual Release 17.0 ANSYS, Inc. January 2016 Southpointe 2600 ANSYS Drive Canonsburg, PA 15317 ANSYS, Inc. is certified to ISO 9001:2008. [email protected] http://www.ansys.com (T) 724-746-3304 (F) 724-514-9494

ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

  • Upload
    trandat

  • View
    386

  • Download
    20

Embed Size (px)

Citation preview

Page 1: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

ANSYS ICEM CFD User's Manual

Release 17.0ANSYS, Inc.January 2016Southpointe

2600 ANSYS DriveCanonsburg, PA 15317 ANSYS, Inc. is

certified to ISO9001:2008.

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

Page 2: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Copyright and Trademark Information

© 2015 SAS IP, Inc. All rights reserved. Unauthorized use, distribution or duplication is prohibited.

ANSYS, ANSYS Workbench, Ansoft, AUTODYN, EKM, Engineering Knowledge Manager, CFX, FLUENT, HFSS, AIMand any and all ANSYS, Inc. brand, product, service and feature names, logos and slogans are registered trademarksor trademarks of ANSYS, Inc. or its subsidiaries in the United States or other countries. ICEM CFD is a trademarkused 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 productsand documentation are furnished by ANSYS, Inc., its subsidiaries, or affiliates under a software license agreementthat 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 productsand documentation may be used, disclosed, transferred, or copied only in accordance with the terms and conditionsof that software license agreement.

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

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 softwareand third-party software. If you are unable to access the Legal Notice, Contact ANSYS, Inc.

Published in the U.S.A.

Page 3: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Table of Contents

Introduction to ANSYS ICEM CFD . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1General Meshing Workflow .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1

Creating a Project ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2Creating or Importing the Geometry .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3Geometry Preparation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Parts ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Blocking the Geometry .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4Computing the Mesh .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5Checking/Editing the Mesh .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Describing the Physics ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6Generating the Input for the Solver ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7

The ANSYS ICEM CFD User Interface .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7Tetra Meshing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9

Inputs to the Tetra Mesher .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10Tetra Mesh Generation Steps .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Repairing the Geometry before Meshing .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11Repairing Holes in the Geometry .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11

Closing Holes Bounded by Multiple Surfaces .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12Closing Holes on Single Surfaces .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

Filling, Trimming, and Blending a Gap .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13Matching Curves .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

Specifying the Geometry Details ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15Specifying Sizes on Surfaces and Curves .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16Specifying Meshing Behavior Inside Small Angles or in Small Gaps .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

Choosing the Tetrahedral Mesh Method .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17The Octree Method .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

Computing the Tetra Mesh .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22Prism Meshing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

Prism Mesh Process .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23Prism Mesh Preparation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Choosing Prism Options .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24Computing the Prism Mesh .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25Smoothing a Hybrid Tetra/Prism Mesh .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

Hexa Meshing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27The Hexa Database .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28Hexa Mesh Generation with Blocking .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Intelligent Geometry in Hexa .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 29Blocking Strategy .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30

Hexa Block Types .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32Automatic Ogrid Generation .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33

Using the Automatic Ogrid .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33Important Features of an Ogrid .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

Edge Meshing Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 35Smoothing Techniques .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Refinement and Coarsening .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36Making Parametric Changes to the Geometry .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 36

Parameterizing Edge Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Analyzing Rotating Machinery .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Determining the Pre-Mesh Quality ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 37Unstructured and Multi-block Structured Meshes .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38

iiiRelease 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 4: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Checking and Improving the Mesh . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Checking the Mesh .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Quality Metrics ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 39Smoothing the Mesh Globally ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40

Advanced Options for Smoothing the Mesh .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41Mesh Editing Tools ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42

Using the Properties Menu . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43Using the Constraints Tab . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 45Working with Loads . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47

Force .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 47Pressure .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52Temperature .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 52

Sending Data to a Solver . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 53Workbench Integration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 55

Elements of the ICEM CFD Component .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56Creating an ICEM CFD Component .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 57Updating ICEM CFD Projects ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 58Interface Differences in the Data-Integrated ICEM CFD .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61

One-Click Menus .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 61Workbench Replay Control Dialog Box .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62

Setting Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 63Setting Input Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 64Setting Parameters for All Existing Curves, Surfaces, or Edges .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66Setting Workbench Mesh Parameters for Parts ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 66Setting Parameters for Prism Meshing .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Setting User-Defined Input Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 67Setting Output Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68

Setting Output Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 68Deleting Output Parameters ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69

User-Defined Parameters Example .... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 69Transferring an ICEM CFD Project to Static Structural ... . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 72

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.iv

User's Manual

Page 5: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Introduction to ANSYS ICEM CFD

ANSYS ICEM CFD provides advanced geometry acquisition, mesh generation, and mesh diagnostic andrepair tools to provide integrated mesh generation for today’s sophisticated analyses.

Maintaining a close relationship with the geometry during mesh generation, ANSYS ICEM CFD is designedfor use in engineering applications such as computational fluid dynamics and structural analysis.

ANSYS ICEM CFD’s mesh generation tools offer the capability to parametrically compute meshes fromgeometry in numerous formats:

• Multi-block structured• Unstructured hexahedral• Unstructured tetrahedral• Cartesian with H-grid refinement• Hybrid meshes comprising hexahedral, tetrahedral, pyramidal and/or prismatic elements• Quadrilateral and triangular surface meshes.

ANSYS ICEM CFD provides a direct link between geometry and analysis. In ANSYS ICEM CFD, you caninput geometry in almost any format, whether a commercial CAD design package, third-party universaldatabase, scan data, or point data. Beginning with a robust geometry module that supports the creationand modification of surfaces, curves and points, ANSYS ICEM CFD’s open geometry database offers theflexibility to combine geometric information in various formats for mesh generation. The resultingstructured or unstructured meshes, topology, inter-domain connectivity, and boundary conditions arethen stored in a database where they can easily be translated to input files formatted for a particularsolver.

General Meshing WorkflowThe ANSYS ICEM CFD User Interface

General Meshing Workflow

The general meshing workflow is:

1. Create a working directory.

2. Create a new project (or open an existing project).

3. Create or import the geometry.

4. If necessary, repair the geometry before meshing.

5. If necessary, block the geometry.

6. Compute the mesh.

7. Check the mesh for errors and edit as required.

8. Describe the physics.

1Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 6: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

9. Generate the input for the solver.

Figure 1: Overall ICEM CFD Process

The workflow is demonstrated in a video on the Customer Portal. See ANSYS ICEM CFD Process Overview.

Creating a Project

All the files required for a particular analysis are contained within a project. You can either create a newproject or open an existing project.

Note

If you already have a project open, creating a new project will close the current project.

To create a project:

1. Create a working directory where you will keep all of the files associated with your project.

2. Select File > New Project.

3. Browse to the working directory that you created.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.2

Introduction to ANSYS ICEM CFD

Page 7: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

4. Specify a File name for the project and click Save.

Note

The special characters Ä, ä, Ç, Ö, ö, Ü, and ü are not supported in file names on Linux.

The Project directory typically contains one or more of the following file types:

Project Settings (*.prj)An ICEM CFD project file contains the information necessary to manage the data files associated withyour project.

Tetin (*.tin)Contains geometry entities, material points, parts associations, and global and entity mesh sizes.

Mesh (*.uns)Includes details of the line, shell, and volume mesh elements of the project. Shell meshes are composedof triangular and/or quadrilateral elements; volume meshes may include tetrahedra, hexahedra, pyr-amids, and/or prisms.

Blocking (*.blk)Includes details of the underlying framework used to create a structured hexahedral mesh in yourproject. Blocking files can also be loaded from, or saved to, an unstructured mesh.

Attributes (*.atr) or (*.fbc)Maintain the association of user-specified data for parts, element properties, loads, and constraintswith the nodes/elements of the mesh for a project.

Parameters (*.par)Contains mesh-independent data such as material properties, local coordinate systems, solver analysissetup, and run parameters. The data in the parameters file is cross-referred in the attributes file whena set of parameters is associated with the nodes/elements of the mesh.

Cartesian (*crt)Contains information regarding the Cartesian grid, if one has been created for your project.

Journal (*.jrf)Contains a record of the operations performed (see General in the ANSYS ICEM CFD Help Manual).

Replay (*.rpl)Contains a replay script (see Replay Scripts in the ANSYS ICEM CFD Help Manual).

Creating or Importing the Geometry

ANSYS ICEM CFD includes a wide range of tools for creating a new geometry or manipulating an existinggeometry. You can create a simple geometry or alter a complex geometry without having to go backto the original CAD. This can be done for CAD (NURBS surfaces) and triangulated surface data.

ICEM CFD also supports several geometry interfaces that enable you to import geometry from otherformats (CAD, 3rd party geometry, Faceted Data, and Mesh formats). These interfaces provide the bridgebetween parametric geometry creation tools available in CAD systems and the computational meshgeneration and mesh optimization tools available in ANSYS ICEM CFD. Currently supported interfaces

3Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

General Meshing Workflow

Page 8: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

include the most popular CAD systems and many legacy formats. For a complete list of supportedgeometry interfaces, see Import Model and Import Geometry in the Help manual.

Geometry Preparation

Although most of the meshing modules within ANSYS ICEM CFD allow minor gaps and holes in thegeometry, you should confirm that the geometry is free of any flaws that would inhibit optimal meshcreation. For example, the tetra mesher requires that the model contains a closed volume; if there areany holes in the geometry that are larger than the local tetras, the mesh will not be created. ANSYSICEM CFD provides tools for such operations on either CAD or triangulated surfaces.

The Repair Geometry page in the Help manual provides links to the tools that are used to find and repairsuch flaws. The typical procedure is to identify possible geometry problems using the Build Topologyoperation and then use the other tools to effect any needed repair.

In cases where feature capture is necessary, geometry curves and points will act as constraints for theedges and nodes, respectively, of the mesh elements. If necessary, Build Topology is able to createsuch curves and points automatically from surface data, thus capturing certain key features in thegeometry.

See Repairing the Geometry before Meshing in the Tetra Meshing chapter for more information ongeometry preparation.

Parts

The ANSYS ICEM CFD environment can combine CAD surface geometry and triangulated surface datainto a single geometry database (tetin file) using the geometry interfaces. All geometry entities—includingsurfaces, curves and points—are tagged or associated into a grouping called a part. With this part asso-ciation, you can enable or disable all entities within the part, visualize them with a different color, assignmesh sizes on all entities within the part, and apply different boundary conditions by part. More inform-ation on the display and management of parts can be found in Parts, in the Help manual.

Blocking the Geometry

The blocking feature in ANSYS ICEM CFD provides a projection-based mesh-generation environment.All block faces between different materials are projected to the closest CAD surfaces. Block faces withinthe same material can also be associated to specific CAD surfaces to enable the definition of internalwalls. Generally you do not need to perform any individual face associations to underlying CAD geometry,which reduces the time for the mesh generation.

The blocking step is used when a structured, hexa-mesh is desired in one or more parts (quad mesh if2D parts). A premesh is generated in the blocked regions which can be refined and improved on ablock-by-block basis. The premesh data is converted to structured or unstructured mesh data before itis merged with mesh data from other parts or passed to a solver.

There can be multiple Blocking strategies, depending on the topology you are working with:

• Typically you take a top-down approach, in which you first capture the outer geometry and then split, delete,and merge blocks to capture the minor geometry. The volume can be filled by a variety of methods includingmapped hexa blocks, swept blocks, or unstructured mesh zones (which can be filled with a variety of un-structured methods available).

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.4

Introduction to ANSYS ICEM CFD

Page 9: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

• You may be able to use a bottom-up approach, in which you start by creating a 2D blocking, add blocks tocapture more detail, and then extrude the 2D blocking to create the 3D blocking. Again, the volume can befilled by a variety of methods.

For further information on blocking, see Blocking Strategy in the Hexa Meshing chapter.

Computing the Mesh

To proceed from geometry and parts to a completed mesh requires two steps:

1. Set up Mesh Parameters

You should specify mesh size, type, and method along with several type- and method-specific controls.The parameters can be applied globally and individually to parts, surfaces, curves, or regions. Rota-tional and translational periodicity is also supported.

2. Compute the Mesh

Meshing methods available include the following:

TetraThe ANSYS ICEM CFD Tetra mesher takes full advantage of object-oriented, unstructured meshing techno-logy. With no tedious up-front triangular surface meshing required to provide well-balanced initial meshes,ANSYS ICEM CFD Tetra works directly from the CAD surfaces and fills the volume with tetrahedral elementsusing the Octree approach. A powerful smoothing algorithm provides good element quality. Options areavailable to automatically refine and coarsen the mesh both on the geometry and within the volume.

Also included are a Delaunay algorithm and an Advancing Front algorithm to create tetras from anexisting surface mesh and also to give a smoother transition in the volume element size. TheDelaunay method is robust and fast; while the advantage of the Advancing Front method is itsability to generate a smoothly transitioning Tetra mesh with a controlled volume-growth ratio.

PrismANSYS ICEM CFD Prism generates hybrid meshes consisting of layers of prism elements near the boundarysurfaces and tetrahedral elements in the interior for better modeling of near-wall physics of the flow field.When compared to pure tetrahedral meshes, this results in smaller analysis models, better convergenceof the solution, and better analysis results.

HexaThe ANSYS ICEM CFD Hexa mesher is a semi-automated meshing module that allows rapid generation ofmulti-block structured or unstructured hexahedral volume meshes. ICEM CFD Hexa represents a new ap-proach to mesh generation where the operations most often performed by experts are automated andmade available at the touch of a button. Blocks can be built and interactively adjusted to the underlyingCAD geometry. This blocking can be used as a template for other similar geometries for full parametriccapabilities. Complex topologies, such as internal or external Ogrids, can also be generated automatically.

Hybrid MeshesThe following types of hybrid meshes can also be created:

• Tetra and Hexa meshes can be united (merged) at a common interface in which a layer of pyramids isautomatically created to make the two mesh types conformal. These meshes are suitable for modelswhere it is preferred to have a “structured” hexa mesh in one part and is easier to create an “unstructured”tetra mesh in another more complex part.

5Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

General Meshing Workflow

Page 10: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

• Hexa-Core meshes can be generated where the majority of the volume is filled with a Cartesian arrayof hexahedral elements essentially replacing the tetras. This is connected to the remainder of a prism/tetrahybrid by automatic creation of pyramids. Hexa-Core allows for reduction in number of elements forquicker solver run time and better convergence.

Shell MeshingANSYS ICEM CFD provides a method for rapid generation of surface meshes (quad and tri) for both 3D and2D geometries. Mesh types can be All Tri, Quad w/one Tri, Quad Dominant, or All Quad. The followingmethods are available:

• Mapped based shell meshing (Autoblock): Internally uses a series of 2D blocks, resulting in a meshthat aligns better with the geometry curvature.

• Patch based shell meshing (Patch Dependent): Uses a series of “loops” that are automatically definedby the boundaries of surfaces and/or a series of curves. This method gives the best quad-dominantquality and capturing of surface details.

• Patch independent shell meshing (Patch Independent): Uses the Octree method. This is the best andmost robust method for use on an unclean geometry.

• Shrinkwrap: Used for a quick generation of a mesh. As it is used as the preview of the mesh, hard featuresare not captured.

Complete descriptions of the meshing processes are included in subsequent chapters.

Checking/Editing the Mesh

The mesh editing tools in ANSYS ICEM CFD enable you to diagnose and fix problems in the mesh. Youcan also improve the mesh quality. A number of manual and automatic tools are available for operationssuch as conversion of element types, refining or coarsening the mesh, smoothing the mesh, and so on.

The process of improving the mesh quality typically involves:

1. Check the mesh for problems such as holes, gaps, and overlapping elements using the diagnosticchecks available. Fix the problems using the appropriate automatic or manual repair methods.

2. Check the elements for bad quality and use smoothing to improve the mesh quality.

If the mesh quality is poor, it may be more appropriate to either fix the geometry or to recreatethe mesh using more appropriate size parameters or a different meshing method.

Describing the Physics

ANSYS ICEM CFD includes tools to describe the physical properties of your model and the type of ana-lysis being performed.

Describing the physics for your project involves:

1. Defining or editing the material properties.

Several common materials are included in the Material Library; or you can define your ownmaterial, including certain non-linear behavior. The data may be saved for later recall to a *.matfile.

2. Assigning the material properties to the Parts of your model.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.6

Introduction to ANSYS ICEM CFD

Page 11: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

3. Applying Constraints to the model.

Constraints include movement restrictions and initial velocity, and may be applied to points,curves, surfaces or parts.

4. Applying Loads to the model.

Loads may be force, pressure or temperature, and may be applied to points, curves, surfaces,or parts.

Note

Not all solvers support all available Constraints or Loads.

Generating the Input for the Solver

ANSYS ICEM CFD includes output interfaces to various flow and structural solvers, producing appropriatelyformatted files that contain complete mesh and boundary-condition information. After selecting thesolver, you can modify the solver parameters and write the necessary input files.

More information about the ANSYS ICEM CFD Output Interfaces is available from the Help menu. TheOutput Interfaces feature opens the ANSYS ICEM CFD Output Interfaces information in a browser. Forinformation about a specific interface, refer to the Table of Supported Solvers and click the name ofthe interface.

The ANSYS ICEM CFD User Interface

The ANSYS ICEM CFD user interface offers a complete environment to create and manage your compu-tational grids. As shown in Figure 2: ANSYS ICEM CFD User Interface Components (p. 8), the user interfacecontains several functional areas. The general meshing workflow is from left to right across the FunctionTabs.

7Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

The ANSYS ICEM CFD User Interface

Page 12: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 2: ANSYS ICEM CFD User Interface Components

Note

The user interface style shown is the default, Workbench style. For more information aboutthe user interface (GUI Style) features, refer to the Settings menu.

The user interface is completely described in the ANSYS ICEM CFD Help Manual.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.8

Introduction to ANSYS ICEM CFD

Page 13: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Tetra Meshing

The Tetra mesher generates tetrahedral volume meshes directly from the CAD geometry or stereo-lithography (STL) data, without requiring an initial triangular surface mesh—you have only to select thegeometry to be meshed.

The Tetra mesher can use different meshing algorithms to fill the volume with tetrahedral elementsand to generate a surface mesh on the object surfaces. You can define prescribed curves and points todetermine the positions of edges and vertices in the mesh. For improved element quality, the Tetramesher incorporates a powerful smoothing algorithm, as well as tools for local adaptive mesh refinementand coarsening.

Features of Tetra Meshing

The Tetra mesher is suitable for complex geometries and offers:

• Rapid model setup

• Mesh independent of underlying surface topology

• No surface mesh necessary

• Generation of mesh directly from CAD or STL surfaces

• Definition of element size on CAD or STL surfaces

• Control over element size inside a volume

• Nodes and edges of tetrahedra are matched to prescribed points and curves

• Curvature/Proximity Based Refinement automatically determines tetrahedra size for individualgeometry features

• Volume and surface mesh smoothing, merging nodes and swapping edges

• Tetrahedral mesh can be merged into another tetra, hexa, or hybrid mesh and then can be smoothed

• Coarsening of individual material domains

• Enforcement of mesh periodicity, both rotational and translational

• Surface mesh editing and diagnostic tools

• Local adaptive mesh refinement and coarsening

• One consistent mesh for multiple materials

• Fast algorithm

9Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 14: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

• Automatic detection of holes and easy ways to repair the mesh.

Note

• Tetra meshing is not efficient for capturing shear or boundary layer physics. To mesh for suchsituations, choose a method that supports inflation layers and prisms. See Prism Meshing (p. 23).

• Tetra meshing creates an unstructured mesh of tetrahedral cells. For a structured, multi-blockapproach or an unstructured mesh of hexahedral cells, see Hexa Meshing (p. 27).

The tetra meshing chapter includes the following sections.Inputs to the Tetra MesherTetra Mesh Generation StepsChoosing the Tetrahedral Mesh MethodComputing the Tetra Mesh

Inputs to the Tetra Mesher

The Tetra mesher accepts the following inputs:

• B-Spline Curves and Surfaces (p. 10)

• Triangular Surface Meshes as Geometry Definition (p. 10)

• Full/Partial Surface Mesh (p. 10).

B-Spline Curves and Surfaces

When the input is a set of B-Spline curves and surfaces with prescribed points, the mesher approximatesthe surface and curves with triangles and edges respectively; and then projects the vertices onto theprescribed points.

The B-Spline curves enable the Tetra mesher to follow discontinuities in surfaces. If no curves are specifiedat a surface boundary, the Tetra mesher will mesh triangles freely over the surface edge. Similarly, pre-scribed points enable the mesher to recognize sharp corners in the geometry. ANSYS ICEM CFD providestools (Build Topology) to extract points and curves to define sharp features in the surface model.

Triangular Surface Meshes as Geometry Definition

Prescribed curves and points can also be extracted from triangulated surface geometry. This could bestereo-lithography (STL) data or a surface mesh converted to faceted geometry. Though the nodes ofthe Tetra-generated mesh will not exactly match the nodes of the given triangulated geometry, theywill follow the overall shape. A geometry for meshing can contain both faceted and B-Spline geometry.

Full/Partial Surface Mesh

Existing surface mesh for all or part of the geometry can be specified as input to the Tetra mesher. Thefinal mesh will then be consistent with—and connected to—the existing mesh nodes.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.10

Tetra Meshing

Page 15: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Tetra Mesh Generation Steps

The steps involved in generating a Tetra mesh are:

1. Repair the geometry before meshing.

2. Specify the geometry details.

3. Specify sizes on surfaces/curves.

4. Specify the behavior in small angles or in small gaps between objects.

5. Determine the desired mesh method.

6. Compute the mesh.

The computed mesh should be checked for errors and smoothed for quality as necessary. See Checkingand Improving the Mesh (p. 39) in this manual. When satisfactory, it is ready for applying loads,boundary conditions, and so on, and for writing to the desired solver.

Repairing the Geometry before Meshing

Before generating the mesh, you should confirm that the geometry is free of any flaws that would in-hibit optimal mesh creation. The Tetra mesher requires that the model contains a closed volume; ifthere are any holes in the geometry that are larger than the local tetras, the mesh may not be computed.The Build Topology operation can is used to check your geometry and represent connectivity betweenadjacent surfaces with different colored curves. You can correct any identified problem on the mesh oryou can repair the geometry in that vicinity and repeat the meshing process. For further informationon the process of interactively closing holes, see the following sections.

Repairing Holes in the GeometryFilling,Trimming, and Blending a GapMatching Curves

Note

If you want to save the changes in the native CAD files, perform any geometry repairs in adirect CAD interface.

Repairing Holes in the Geometry

During the process of finding the bounding surfaces to close the volume mesh, the mesher will determineif there are holes in the model. If holes are found, the Message window will display a message like"Material point ORFN can reach material point LIVE." You will be prompted with a dialog box saying,"Your geometry has a hole, do you want to repair it?" A jagged line will display the leakage path fromthe ORFN part to the LIVE part. The elements surrounding the hole will also be displayed. To repair thehole, select the single edges bounding it and the mesher will loft a surface mesh to close the hole.Further holes would be flagged and repaired in the same manner. If there are many problem areas, itmay be better to repair the geometry or adjust the meshing parameters.

11Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Tetra Mesh Generation Steps

Page 16: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Closing Holes Bounded by Multiple Surfaces

If the hole is bounded by more than one surface, you can use the Close Holes feature. For example, inFigure 3: Hole Bounded by Multiple Surfaces (p. 12), the yellow curves represent the boundary of thehole. It is clear that this hole is bounded by more than one surface.

Figure 3: Hole Bounded by Multiple Surfaces

Figure 4: Closed Hole (p. 12) shows the geometry after the Close Holes operation is completed. A newsurface is created to close the hole.

Figure 4: Closed Hole

Closing Holes on Single Surfaces

If the hole lies entirely within a single surface, such as a trimmed surface, you can use the RemoveHoles feature. For example, in Figure 5: Holes Within a Single Surface (p. 13), the two yellow curve loopsrepresent the boundaries of holes on a surface.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.12

Tetra Meshing

Page 17: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 5: Holes Within a Single Surface

Figure 6: After Removing One Hole (p. 13) shows the geometry after the Remove Holes operation iscompleted for one of the holes. The existing surface is modified by removing the trim definition.

Figure 6: After Removing One Hole

Filling, Trimming, and Blending a Gap

Consider the case of a geometry with a gap shown in Figure 7: Geometry With a Gap (p. 13).

Figure 7: Geometry With a Gap

Figure 8: Using the Fill Feature (p. 14) shows the use of the Fill feature.

13Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Tetra Mesh Generation Steps

Page 18: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 8: Using the Fill Feature

Figure 9: Using the Trim Feature (p. 14) shows the use of the Trim feature.

Figure 9: Using the Trim Feature

Figure 10: Using the Blend Feature (p. 14) shows the use of the Blend feature.

Figure 10: Using the Blend Feature

Matching Curves

The Match feature is used in cases where curves lie very close to each other and have ends that meet(see Figure 11: Geometry With Mismatched Edges (p. 15) and Figure 12: Geometry After Using the MatchEdges Option (p. 15)). The gap between the two curves must be within a reasonable tolerance in orderfor this feature to work.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.14

Tetra Meshing

Page 19: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 11: Geometry With Mismatched Edges

Figure 12: Geometry After Using the Match Edges Option

Specifying the Geometry Details

In addition to a closed set of surfaces, the Tetra mesher requires curves and points where hard features(hard angles, corners) are to be captured in the mesh. Figure 13: Curves and Points Representing SharpEdges and Corners (p. 15) shows a set of curves and points representing hard features of the geometry.

Figure 13: Curves and Points Representing Sharp Edges and Corners

15Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Tetra Mesh Generation Steps

Page 20: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 14: Mesh with Curves and Points (p. 16) shows the resultant surface mesh if the curves and pointsare preserved in the geometry. Mesh nodes are forced to lie along the curves and points to capturethe hard features of the geometry.

Figure 14: Mesh with Curves and Points

Figure 15: Mesh Without Curves and Points (p. 16) shows the resultant surface mesh if the curves andpoints are deleted from the geometry. The hard features of the geometry are not preserved, but ratherare neglected or chamfered. The boundary mesh nodes lie on the surfaces, but they will lie on theedges of the surfaces only if curves and points are present. Removal of curves and points can be usedas a geometry-defeaturing tool.

Figure 15: Mesh Without Curves and Points

Use the Build Topology option to identify points, curves, surfaces and their connectivity in the geometry.Build Topology also includes options to automatically repair some minor geometry faults.

Specifying Sizes on Surfaces and Curves

To produce the optimal mesh, it is essential that all surfaces and curves have the proper tetra sizes as-signed to them. For a visual representation of the mesh size, select Geometry > Surfaces > Tetra Sizesfrom the Display Tree. The same can be done with Curves. Tetra icons will appear, representing theelement size of the mesh to be created on these entities. Using the mouse, you can rotate the modeland visually confirm that the tetra sizes are appropriate. If a curve or surface does not have an iconplotted on it, the icon may be too large or too small to see. In this case, modify the mesh parametersso that the icons are visible in a normal display.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.16

Tetra Meshing

Page 21: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Mesh size can be set for individual curves and surfaces, or by parts, using the Curve Mesh Setup andSurface Mesh Setup tools on the Mesh tab. Modify the mesh size for all entities by adjusting the ScaleFactor, which is found with other Global Mesh Setup tools on the Mesh tab.

Important

If the Scale Factor is assigned a value of 0, the Tetra mesher will not run.

Curvature/Proximity Based Refinement

If the maximum tetrahedral size defined on a surface is larger than needed to resolve the feature, youcan employ Curvature/Proximity Based Refinement, accessed in the Global Mesh Setup tools, toautomatically subdivide the mesh to capture the feature. The value specified is proportional to theglobal scale factor, and is the smallest size to be achieved through automatic element subdivision. Evenwith large sizes specified on the surfaces, the features can be captured automatically.

The Curvature/Proximity Based Refinement value is the minimum element size to be achieved viaautomatic subdivision. If the maximum size on a geometry entity is smaller than the Curvature/Prox-imity Based Refinement value, the Tetra mesher will still subdivide to meet that requested size. Theeffect is a geometry-based adaptation of the mesh.

Specifying Meshing Behavior Inside Small Angles or in Small Gaps

The Tetra mesher automatically attempts to close all holes in a model so special consideration shouldbe given to regions between two surfaces, or curves, that are very close together or that meet at asmall angle. (This would also apply if the region outside the geometry has small angles.) If the tetrasizes are larger than, or approximately the same size as, the distance between the surfaces or curves,the surface mesh could have a tendency to jump the gap, thus creating non-manifold vertices duringthe meshing process. That is, the small thickness or gap may be interpreted as a hole by the mesher.You should either define a thin cut in order to establish that the gap is not a hole; or make the meshsize small enough so that it will not close the gap when the meshing is performed.

If the local tetra sizes are not small enough to allow at least 2 or 3 elements across the material thickness(or gap), you should select Define thin cuts, in the Volume Meshing Parameters section of theGlobal Mesh Setup tools. To define a thin cut, the two surfaces have to be in different Parts. If thesurfaces meet, the curve at the intersection of the surfaces will need to be in a different part.

Choosing the Tetrahedral Mesh Method

ANSYS ICEM CFD supports four different methods for generating the tetrahedral volume mesh. Theyare listed as Tetra/Mixed as each method includes the option of adding boundary layer prism elements.See Tetra/Mixed Mesh Type in the ANSYS ICEM CFD Help Manual for more information on these methods.

The Robust (Octree) method generates a volume mesh using a top-down approach, then the mesh ismade conformal to the geometry and a patch-independent surface mesh is created at all of theboundaries and internal walls. This method supports several options as describe in Robust (Octree). Theprocess is described in detail on the next page.

The Quick (Delaunay) and Smooth (Advancing Front) methods are bottom up, requiring an existingclosed surface mesh to start. If one has not yet been created, ICEM CFD will create the surface mesh

17Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Choosing the Tetrahedral Mesh Method

Page 22: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

from the geometry. Both methods support several options as described in Quick (Delaunay) and Smooth(Advancing Front). Choose a method based on your speed and quality priorities.

Tip

Expert users often use the Robust approach to generate a surface mesh and then regen-erate the volume mesh using one of the bottom-up approaches.

The Fluent Meshing method uses ANSYS Fluent, in batch, to generate the tetrahedral volume meshfrom an input surface mesh, volume mesh or geometry. If no surface mesh input is specified, it will becomputed before the Fluent batch process is started. This method is similar to the Quick (Delaunay)method with additional options for prism layers and/or hexahedral elements in the core. The pre inflationprism option first creates the boundary layers from the surface mesh and then fills the remaining volumewith tetrahedrons, or optionally, hexa elements. The post inflation prism option replaces tetra elementsat the surface with prisms and is more familiar to ICEM CFD users. Each prism option has advantages,and you should not expect the same results from both algorithms. Fluent Meshing inflation also allowspart-by-part inflation parameter control.

Global volume fill parameters for this method are described and set using the Fluent Meshing DEZ.Both pre inflation and post inflation prism options use most of the same parameters, which are set usingthe Prism Meshing Parameters DEZ. Options presented when the mesh is computed include pre inflationor post inflation selection and the hexa-core option.

Important

If enabled, the prisms are grown from a shell mesh (input or created) with the directionof growth determined by the geometry. If no geometry is available, pure tetra meshingwill be done without inflation. If the input mesh is a surface mesh, the volume(s) shouldbe marked by material point(s).

The Octree Method

The Octree mesh method is based on the following spatial subdivision algorithm: This algorithm ensuresrefinement of the mesh where necessary, but maintains larger elements where possible, enabling fastercomputation. Once the "root" tetrahedron, which encloses the entire geometry, has been initialized,Tetra subdivides the root tetrahedron until all element size requirements are met.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.18

Tetra Meshing

Page 23: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 16: Initial Geometry Input to Tetra

At this point, the Tetra mesher balances the mesh so that elements sharing an edge or face do notdiffer in size by more than a factor of 2.

Figure 17: Tetra Enclosing the Full Geometry

19Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Choosing the Tetrahedral Mesh Method

Page 24: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 18: Tetra Enclosing the Full Geometry in Wire Frame Mode

Figure 19: Cross-Section of the Initial Meshing

After this is done, Tetra makes the mesh conformal (that is, it guarantees that each pair of adjacentelements will share an entire face). The mesh does not yet match the given geometry, so the meshernext rounds the nodes of the mesh to the prescribed points, prescribed curves, or model surfaces. Tetrathen "cuts away" all of the mesh that cannot be reached by a user-defined material point without inter-section of a surface.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.20

Tetra Meshing

Page 25: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 20: Mesh after Tetra Captures Surfaces and Separates the Useful Volume

Figure 21: Final Mesh before Smoothing

Finally, the mesh is smoothed by moving nodes, merging nodes, swapping edges and in some cases,deleting bad elements.

21Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Choosing the Tetrahedral Mesh Method

Page 26: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 22: Final Mesh after Smoothing

Computing the Tetra Mesh

Additional options such as disabling the surface mesh display, generating prisms or hexa elements, andselecting specific parts may be set before computing the tetrahedral volume mesh using the parametersspecified. See Compute Volume Mesh

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.22

Tetra Meshing

Page 27: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Prism Meshing

Tetra meshing is not efficient for capturing shear or boundary layer physics. Using inflation elements(prism, penta-6 or hexa) along surfaces efficiently increases boundary layer resolution perpendicular tothe wall, allowing you to capture these effects. With ANSYS ICEM CFD, mixed prism and tetra generationis automatic and intelligent, creating prism layers near the surface while maintaining the ease andautomation of Tetra mesh. Prism has always been necessary for CFD customers, but now that the featureis more widely available, many other branches of CAE have started using prisms to better resolve thephysics perpendicular to the surfaces of their models.

To capture the Y+ for a Navier-Stokes mesh, the spacing of the prism layers is the primary concern,with the rate of volume change between cells also important. Calculations are done between nodes orelements, and a Prism mesh gives you more elements perpendicular to the surface. This is an efficientway to achieve better resolution (more calculations per unit distance) of the solution normal to thesurface, without increasing the number of elements along the surface. This gives you a quicker andmore accurate solution than can be achieved with a very fine tetra mesh.

Prism Mesh Process

The prism mesh process generates prism elements near boundary surfaces from tetrahedral volume ortriangular surface mesh. There are two main processes:

• The post inflation process creates prisms between the boundary shells and the adjacent tetrahedralelements. The process can remove tetrahedral elements and smooth the mesh to yield the necessaryquality as the inflation layer grows into the existing volume mesh. The resulting prisms are made con-formal with the existing tetrahedral volume mesh.

• The pre inflation process first creates the boundary layer elements from the surface mesh. The remainingvolume is then filled with unstructured mesh. If a volume mesh exists, it is first removed. If no surfacemesh exists, it must first be generated from the geometry.

Note

– This process is available using the Fluent Meshing executable, run in batch from ICEMCFD.

– Pre inflation prism meshing (Fluent Meshing method) requires either a volume mesh ormaterial point to define a direction for prism growth.

– To define a direction for pre-inflation prism growth into a volume containing more thanone region of the same material due to an internal wall, an initial volume mesh (for ex-ample, tetrahedral by octree method) is needed.

23Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 28: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Prism Mesh Preparation

When generating prism mesh, preparation is essential. It is easier to edit a tetra mesh than a tetra/prismmesh. A prism mesh can also be difficult to smooth, so it will save time to start with good quality tetraor tri-surface mesh.

• Start with a Tetra-volume mesh or Tri-surface mesh.

• Check aspect ratios and quality.

Highly skewed or low quality elements are not suitable for prism growth.

• Check and fix all diagnostics.

Single/multiple edges, non-manifold vertices, and duplicate elements will crash the prism mesher.

• Visually scan the surface mesh.

Look for and repair any surface discrepancies or sharp tent-like structures in the mesh.

• Make sure part associations are correct.

Look for a few elements of one part scattered among another part. Extruding from a few isolatedelements will likely crash the prism mesher. Modify part assignments of such elements.

• Use the Smoothing Options for Tetra and Tri surface mesh under Mesh > Global Mesh Setup > PrismMeshing Parameters when creating the prism mesh.

Laplace is typically the best option for Triangle Quality type for the eventual prism quality.

Choosing Prism Options

All necessary parameters are specified globally on the Mesh > Global Mesh Setup > Prism MeshingParameters DEZ. A full description is contained at Prism Meshing Parameters in the Help manual.

Certain parameters can then be adjusted on a part-by-part or entity-by-entity basis using Part MeshSetup, Surface Mesh Setup and Curve Mesh Setup. For instance, you can specify 3 prism layers witha growth rate of 1.2 globally, but set 5 layers on a certain part. Part settings override global settingsand entity (surface or curve) settings override part settings. Between entities the smaller size overridesthe larger. Setting a specific parameter on a single entity within a part or between parts is handled in-telligently. For example, if you set a local parameter, such as height, on a single curve entity, the prismmesher will interpolate that parameter smoothly across the surface between curves.

You may also select volume parts for prism growth. If no volume parts are selected, ICEM CFD assumesthat you want to grow prisms into all volumes bordering the prism surfaces. If you select specific volumeparts, then prism layers will be grown into only those volumes.

The height and direction of the prism layer extrusion are calculated on an element-by-element basisand may vary due to global or local controls, or for improved quality. You may choose to set the initialheight, number of layers, and growth ratio, which are then used to determine the last layer height andprisms total height (unless limited by prism height limit factor). Or you may prefer to set only thenumber of layers and growth ratio, which then allows Prism to adjust the initial height and locally op-timize the volume transition between the prisms and tetras. If you are concerned about Y+, you canthen adjust the first-cell height using Edit Mesh > Split Mesh > Split Prisms.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.24

Prism Meshing

Page 29: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Before the first layer is created and after the last layer is created, surface and/or volume smoothing isdone according to the global settings and selected process. The layers are grown one at a time withonly directional smoothing applied before extruding each layer. This continues until all the requestedlayers are grown. The smoothing is the most time-consuming operation, so for simple configurations,it may be best to turn off all smoothing and grow all the layers one at a time. This enables you to takeadvantage of the variable height feature.

Computing the Prism Mesh

There are two ways to initiate the prism mesh computation:

Compute Mesh > Volume Mesh > Create Prism LayersYou enable this option to create prisms next to wall geometries as part of the volume meshing process.You can choose whether to create prism mesh from the geometry, or from the surface or volume meshdepending on the Mesh Method chosen.

All volume meshing parameters are set globally using Mesh > Global Mesh Setup before clickingCompute.

Compute Mesh > Prism MeshYou can use this option to grow prism layers next to wall geometries, from an existing volume mesh orsurface mesh. If the existing volume mesh is tet/hexa mesh, on the hexa side the prisms will be addedwithin the first hexa layer.

Prism growth parameters are set globally using Mesh > Global Mesh Setup > Global Prism Settings.Local parameters, which override the global parameters, can be set as described in the previoussection (p. 24) or using Select Parts for Prism Layer.

The inflation process (p. 23) is chosen before clicking Compute.

Note

• You can add prisms to existing layers or you can subdivide and redistribute layers. If many prismlayers are needed, it can be faster and more robust to create initial thick prism layers and thensplit them to create the total desired number of prism layers using Edit Mesh > Split Mesh >Split Prisms.

• You can compute a prism mesh without an input surface model loaded. Prism will generate atemporary faceted surface model from the input mesh.

Smoothing a Hybrid Tetra/Prism Mesh

Smoothing options are described in Smoothing the Mesh Globally (p. 40) in this manual.

It is easier to smooth a triangle or tetrahedral mesh than a hybrid tetra/prism mesh. First smooth onlythe Tetra and Tri elements by selecting Freeze for other element types.

Once the tetra and tri elements are as smooth as possible, then all elements are smoothed concurrently.Decrease the quality Up to value if the prism elements are severely distorted by smoothing.

25Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Prism Mesh Process

Page 30: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.26

Page 31: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Hexa Meshing

Hexa is a 3D object-based, semi-automatic, multi-block structured and unstructured, surface and volumemesher. Hexa represents a new approach to hexahedral mesh generation. The block topology modelis generated directly on the underlying CAD geometry. Within an easy-to-use interface, those operationsmost often performed by experts are readily accessible through automated features.

There is access to two types of entities during the mesh generation process in Hexa: block topologyand geometry. After interactively creating a 3D block topology model equivalent to the geometry, theblock topology may be further refined through the splitting of edges, faces and blocks. In addition,there are tools for moving the block vertices, either individually or in groups, onto associated curvesor CAD surfaces. You may also associate specific block edges with important CAD curves to captureimportant geometric features in the mesh.

Moreover, for models where you can take advantage of symmetry conditions, topology transformationssuch as translate, rotate, mirror and scaling are available. The simplified block topology concept allowsrapid generation and manipulation of the block structure and, ultimately, rapid generation of thehexahedral meshes.

Hexa provides a projection-based mesh generation environment where, by default, all block facesbetween different materials are projected to the closest CAD surfaces. Block faces within the samematerial can also be associated to specific CAD surfaces to allow for definition of internal walls. Ingeneral, there is no need to perform any individual face associations to underlying CAD geometry,which further reduces the difficulty of mesh generation.

Features of Hexa

Some of the more advanced features of Hexa include:

OgridsFor very complex geometry, Hexa automatically generates body-fitted internal and external Ogrids toparametrically fit the block topology to curved geometry to ensure good quality meshes.

Edge-Meshing ParametersHexa's edge-meshing parameters offer unlimited flexibility in applying user-specified bunching requirements.

Time-Saving MethodsHexa provides time-saving surface-smoothing and volume-relaxation algorithms on the generated mesh.

Mesh Quality CheckingWith a set of tools for mesh quality checking, elements with undesirable skewness or angles can be displayedto highlight the block topology region where the individual blocks need to be adjusted.

Mesh Refinement/CoarseningRefinement or coarsening of the mesh can be specified for any block region to allow a finer or coarsermesh definition in areas of high or low gradients, respectively.

27Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 32: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Replay OptionReplay file functionality enables parametric block topology generation linked to parametric changes ingeometry.

PeriodicityApplicable when analyzing rotating machinery applications, for example, Hexa allows you to define theperiodic behavior of a section of the system and mesh only that section, thereby minimizing the modelsize. Translational periodicity is also supported.

Link ShapeThis enables you to link the edge shape to existing deforming edge. This gives better control over the gridspecifically in the case of parametric studies.

AdjustabilityOptions to generate 3D surface meshes from the 3D volume mesh and 2D to 3D block topology transform-ation.

The Hexa Database

The Hexa database contains both geometry and block topology data, each containing several sub-en-tities.

The Geometric data entities are:

• Points: x, y, z point definition

• Curves: trimmed or untrimmed NURBS curves

• Surfaces: NURBS surfaces, trimmed NURBS surfaces

The Block Topological data entities are:

• Vertices: corner points of blocks, of which there are at least eight, that define a block

• Edges: a face has four edges and a block twelve

• Faces: six faces make up a block

• Blocks: volume made up of vertices, edges and faces

Color coding in Hexa

The topological entities are color-coded based on their properties:

White Edges and VerticesThese edges are between two material volumes. The edge and the associated vertices will be projectedto the closest CAD surface between these material volumes. The vertices of these edges can move onlyon the surfaces.

Note

If you have chosen a light-colored background for the graphics display window, thesedisplay in black.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.28

Hexa Meshing

Page 33: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Blue Edges and VerticesThese are internal edges within a material volume. The vertices of these edges, also blue, can be movedby selecting the edge just before it and can be dragged on that edge.

Green Edges and VerticesThese edges and the associated vertices are being projected to curves. The edges will take the shape ofthe curves when meshed, and the vertices can be moved only on the curve(s) to which they are beingprojected.

Red VerticesThese vertices are projected to prescribed points.

Hexa Mesh Generation with Blocking

The process to generate a Hexa mesh is outlined below, and described in detail in the following sections.

1. Import a geometry file using any of the direct, indirect, or faceted data interfaces.

2. Interactively define the block model through split, merge, Ogrid definition, edge/face modifications,and vertex movements.

3. Check the block quality to ensure that the block model meets specified quality thresholds.

4. Assign edge meshing parameters—such as maximum element size and initial element height at theboundaries—and set the expansion ratios.

5. Generate the mesh with or without projection parameters specified.

6. Check the mesh quality to ensure that specified mesh quality criteria are met.

7. Write output files to the desired solvers.

If necessary, you can always return to previous steps to manipulate the blocking if the mesh qualitydoes not meet the specified threshold or if the mesh does not capture certain geometry features. Theblocking can be saved at any time, thus allowing you to return to previous block topologies.

Additionally, at any point in this process, you can generate the mesh with various projection schemessuch as full face projection, edge projection, point projection or no projection at all.

Note

In the case of no projection, the mesh will be generated on the faces of the block modeland may be used to quickly determine if the current blocking strategy is adequate or if itmust be modified.

Intelligent Geometry in Hexa

Using ANSYS ICEM CFD's Direct CAD Interfaces, which maintain the parametric description of thegeometry throughout the CAD model and the grid generation process, hexahedral grids can be easilyremeshed on the modified geometry.

29Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Intelligent Geometry in Hexa

Page 34: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

The geometry is selected in the CAD system and tagged with information ("made intelligent") for gridgeneration such as boundary conditions and grid sizes, and this intelligent geometry information issaved with the master geometry.

In Hexa, by updating all entities with the update projection function, blocking vertices projected toprescribed points in the geometry are automatically adapted to the parametric change and one canrecalculate the mesh immediately. Additionally, with the use of its Replay functionality, Hexa providescomplete access to previous operations.

Blocking Strategy

With Hexa, the basic steps necessary to generate a hexahedral mesh are the same, regardless of modelcomplexity.

1. Create an initial blocking (Initialize Blocks) using one of the various approaches to blocking.

2. Edit the blocking topology using splitting, merging and shaping techniques so that the blocking topologyrepresents the simulation model, composed with hex shapes wherever possible.

3. Fine tune mesh sizes and tweak topology get a good quality premesh.

When you are satisfied with the pre-mesh quality, convert the pre-mesh to the appropriate type ofmesh - unstructured or multiblock.

There are two general strategies for blocking a 3D model. These are commonly referred to as TopDown (p. 30) or Bottom Up (p. 31).

Top Down

The top down blocking approach starts from one block generated from the 3D bounding box. Theblocking topology is shaped to the simulation model using split, delete, merge and move tools.

Figure 23: Top Down Blocking Strategy

This approach has the following advantages:

• It is often easier to get an all hex mesh using this approach since the global topology is a hex mesh.When splits are made, the blocking remains as all 3D mapped blocks and there is an index control whichmaintains the connectivity for fast mesh calculations.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.30

Hexa Meshing

Page 35: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

• The global topology helps avoid getting stuck in a corner, but requires some upfront thought on howthe global topology should be constructed to match the CAD topology.

• There are no direct associations to the CAD when the blocking is initialized. The user controls theseassociations. The mesh can be generated at any time and the blocking projected to the surfaces. Theuser can check and add shape as the blocking progresses.

Bottom Up

The bottom up blocking approach, also called 3D MultiZone, starts from the surface structure of the3D CAD. For each surface it constructs a 2D blocking face, and then it tries to fill those 2D faces with3D blocks.

Figure 24: Bottom Up Blocking Strategy

This approach has the following advantages:

• It should always produce a mesh, but it may not be a hexahedral mesh.

Where it can it generates mapped blocks. If this is not possible it will try to generate sweptblocks. If this is not possible, a free block is generated. The free block can be filled with a tet,hex-core, or hex-dominant mesh.

• This automated decomposition provides a good starting point to meshing. A user can then do manualdecomposition to get more hex mesh. This flexibility is often helpful as a user doesn’t always knowhow long it will take to get a hex mesh, so it is reassuring to know that a mesh can be generated at anytime.

• The blocking topology model is automatically associated (shaped) by the CAD. A user can graduallyrelease those constraints as the blocking progresses to get more hex mesh.

While the two general approaches are identified as top down and bottom up, a user may use a combin-ation to successfully block any given geometry.

31Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Blocking Strategy

Page 36: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 25: Mixed Blocking Strategy

Hexa Block Types

When blocking a model, it is important to note that the block type affects many operations within Hexaand the entire approach to mesh generation. For example, if you split a model with mapped blocks,the split will propagate through faces that have a mapped relationship on the opposite side. For freeblocks, a split will terminate at the free face. Similarly, if you set edge parameters on a mapped faceedge, opposite edges will have a similar number of nodes. If however, that edge is attached to a freeface, the number of nodes on the opposite side will not be adjusted. Using this free/mapped relationship,you can shape the blocking and resulting mesh.

A description of Mapped, Swept and Free block types is shown in Figure 26: Hexa Block Types (p. 32).Some operations may result in a degenerate block - a 7-sided mapped block. Degenerate blocks havespecial behavior for mapped blocking and are not allowed in swept or free blocking.

Figure 26: Hexa Block Types

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.32

Hexa Meshing

Page 37: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 27: Degenerate Block

The ability to Convert Block Type from free to mapped or vice versa imposes constraints on the blockingand resulting mesh. By imposing more constraints, you can enforce a greater number of hexa elements,while reducing the constraints can sometimes improve mesh transitioning.

Figure 28: Mesh Generation within Block Types

Automatic Ogrid Generation

Generating Ogrids is a very powerful and quick technique used to achieve a quality mesh to modelgeometry when you desire a circular or "O"-type mesh, either around a localized geometric feature orglobally around an object. This would not be possible without Ogrids.

Using the Automatic Ogrid

The Ogrid creation capability is simply the modification of a single block or blocks to a 5 sub-blocktopology as shown below. There are several variations of the basic Ogrid generation technique; theOgrid shown below is created entirely inside the selected block.

33Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Automatic Ogrid Generation

Page 38: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 29: Initial block, Block with Ogrid, Ogrid with Add Face

Using the Add face feature, an Ogrid can be created such that the Ogrid passes through the selectedblock faces. In Figure 29: Initial block, Block with Ogrid, Ogrid with Add Face (p. 34), the Add face featurewas used on the last block to include one face on the block prior to generating the Ogrid.

Important Features of an Ogrid

Generation of Orthogonal Mesh Lines at an Object BoundaryThe generation of the Ogrid is fully automatic and you simply select the blocks needed for Ogrid generation.The Ogrid is then generated either inside or outside the selected blocks. The Ogrid can be fully containedwithin its selected region, or it can pass through any of the selected block faces.

Rescaling an Ogrid After GenerationWhen the Ogrid is generated, its size is scaled based upon a factor in the Blocking >Edit Block > ModifyOgrid window. The Rescale Ogrid feature enables you to re-scale the previously generated Ogrid. If avalue less than 1 is assigned, the resulting Ogrid will be smaller than the original. Conversely, a value largerthan 1, will result in a larger Ogrid.

The blocks can also be modified by moving the vertices of the blocks and by defining specific rela-tionships between the faces, edges and vertices to the geometry.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.34

Hexa Meshing

Page 39: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Edge Meshing Parameters

The edge meshing parameter task is automated to provide you with unlimited flexibility in specifyingbunching requirements. Assigning the edge meshing parameters occurs after the development of theblock topology model. This feature is accessible by selecting Blocking > Edge params.

You can use the following predefined Mesh laws. These are described in Bunching Laws:

• Bi-Geometric (default)

• Bi-Exponential

• Curvature

• Exponential 1

• Exponential 2

• FullCosinus

• Geometric 1

• Geometric 2

• HalfCosinus1

• HalfCosinus2

• Hyperbolic

• Linear

• Poisson

• Spline

• Uniform

In addition to the predefined edge meshing functions, there are several interactive or user-definedMesh laws available in the drop down list.

The interactive or user-defined mesh laws include:

• FromGraphs

Note

By selecting this option, a dialog box opens in which you select a source file or functionand then add, delete, or otherwise modify the control points describing the edge parametersettings.

• FromEdgePoints

• OnScreen

35Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Edge Meshing Parameters

Page 40: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Additional tools such as Linked Bunching and multiple Copy options provide you with the ability toapply the specified edge bunching parameters quickly to the entire model.

Tip

You can use variables in a replay script as a means to parameterize edge parameters. SeeParameterizing Edge Parameters (p. 37) for details.

Smoothing Techniques

In Hexa, both the block topology and the mesh can be smoothed to improve the overall block/meshquality either in a certain region or for the entire model. The block topology can be smoothed to improvethe block shape prior to mesh generation. This reduces the time required for development of the blocktopology model.

The geometry and its associative surfaces, curves, and points are all constraints when smoothing theblock topology model. Once the block topology smoothing has been performed, you can smooth themesh after specifying the proper edge-bunching parameters.

The quality criteria for smoothing are described in Pre-Mesh Quality in the ANSYS ICEM CFD HelpManual.

Refinement and Coarsening

Use Blocking > Pre-Mesh Params > Refinement to refine or coarsen the mesh. You can apply the re-finement/coarsening in all three major directions simultaneously or in just one major direction.

RefinementYou can use refinement for solvers that accept non-conformal node matching at the block boundaries.The refinement capability minimizes the model size while achieving proper mesh definition in critical areasof high gradients. To refine the mesh, enter a scale factor greater than 1.

CoarseningIn areas of the model where the flow characteristics are such that a coarser mesh definition is adequate,coarsening of the mesh may be appropriate to contain model size. To coarsen the mesh, enter a scalefactor less than 1.

Making Parametric Changes to the Geometry

With ICEM CFD’s Replay feature, you can analyze geometry variations. Changes in length, width andheight of specific geometry features are known as parametric changes. Parametric changes do not affectthe block topology, so the Replay function can automatically generate a topologically similar blockmodel that can be used for the parametric changes in geometry. If any of the Direct CAD Interfaces areused, all geometric parameter changes are performed in the native CAD system.

To generate a Replay file:

1. From File > Replay Scripts, activate the recording of the commands needed to generate a custom meshingprocess. All of the steps in the mesh development process are recorded, including blocking, mesh size,edge meshing, boundary condition definition, and final mesh generation.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.36

Hexa Meshing

Page 41: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

2. Make a parametric change in the geometry and then replay the recorded file on the changed geometry.All steps in the mesh generation process are automated from this point.

Parameterizing Edge Parameters

You can use variables in the replay script as a means to parameterize edge parameters. Here is an ex-ample:

#variablesset n 10set h1 0.01set r1 1.2ic_load_tetin myfile.tinic_hex_surface_blocking -inherited -swept -min_edge 0.0ic_geo_new_family SOLIDic_hex_twod_to_threed SOLID -sweptic_hex_set_mesh 19 18 n $n h1 $h1 h2rel 0.0 r1 $r1 r2 2 lmax 0 default unlockedic_hex_create_mesh SURFS SOLID proj 2 dim_to_mesh 3ic_hex_write_file hex.uns SURFS SOLID proj 2 dim_to_mesh 3 -family_boco family_boco.fbcic_uns_load hex.uns 3 0 {} 2

The variables for the edge parameters are set at the top of the replay file. Within the script, the '$' in-dicates a variable. To parameterize the edge parameters, you can update the variables at the top of thescript and then rerun the script.

Analyzing Rotating Machinery

Periodic definition can be applied to the blocking in ICEM CFD. Typically, you will model only a sectionof the rotating machinery and implement symmetry in order to minimize the model size. By specifyinga periodic relationship between the inflow and outflow boundaries, the particular specification can beapplied to the model; flow characteristics entering a boundary must be identical to the flow character-istics leaving a boundary.

The periodic relationship is applied to block faces; and ensures that a node on the first boundary hastwo identical coordinates to the corresponding node on the second boundary. Using the Blocking >Edit Block > Periodic Vertices option, you will be prompted to select corresponding vertices on thetwo faces in sequence. When all vertices on both flow boundaries have been selected, a full periodicrelationship between the boundaries has been generated.

Determining the Pre-Mesh Quality

The pre-mesh quality functions are accessible through Blocking > Pre-Mesh Quality.

Applying any of the quality checks produces a histogram plot. The quality Criterion, typically in therange of 0 to 1, is subdivided and assigned to Bars on the x-axis. The y-axis measures the number ofelements in a given range and is scaled from 0 to a value that is indicated by the Height.

Determining the Location of Elements

By clicking on any of the histogram bars you can determine where in the model these elements arelocated. The selected histogram bars will be highlighted by a change in color. After selecting the bars,the Show feature is selected to highlight the elements in this range. If the Solid feature is enabled, theelements marked in the histogram bars will be displayed with solid shading.

Some of the quality metrics are:

37Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Determining the Pre-Mesh Quality

Page 42: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

DeterminantComputes the deformation of the elements in the mesh by first calculating of the Jacobian of each hexa-hedron and then normalizing the determinant of the matrix. A value of 1 represents a perfect hexahedralcube, while a value of 0 is a totally inverted cube with a negative volume. In general, determinant valuesabove 0.3 are acceptable for most solvers.

AngleChecks the maximum internal angle deviation from 90° for each element. Various solvers have differenttolerance limits for the internal angle check. If the elements are distorted and the internal angles are small,the accuracy of the solution will decrease. It is always wise to check with the solver provider to obtainlimits for the internal angle threshold. The histogram x-axis will cover the range of 0 to 90°.

VolumeComputes the internal volume of the elements in the model. The x-axis will show volume in the unit thatwas used to create the model.

WarpageIndicates the level of element distortion. Nodes that are in-plane with one another will produce an elementwith small warpage. Nodes that make elements twisted or distorted will increase an element's distortion,giving a high degree of warpage. The x- axis, which ranges from a Min of 0 to a Max of 90, is the degreeof warpage that an element experiences.

A full list of pre-mesh quality Criteria is available in Pre Mesh Quality Options

Unstructured and Multi-block Structured Meshes

The hexa mesh can be output in either unstructured or multi-block structured format. The format decisioncan be delayed until after you have finished the whole meshing process when the output file formatis selected.

Unstructured Mesh OutputThe unstructured mesh output feature will produce a single mesh output file where all common nodeson the block interfaces are merged, independent of the number of blocks in the model.

Multi-block Structured Mesh OutputUsed for solvers that accept multi-block structured meshes, this output feature will produce a mesh outputfile for every block in the topology model. For example, if the block model has 55 blocks, there will be 55output files created in the output directory.

Additionally, without merging any of the nodes at the block interfaces, the Output Block featureenables you to minimize the number of output files generated with the multi-block structured ap-proach.

The mesh output file is created from the context-sensitive menu under Blocking > Pre-Mesh in theDisplay tree.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.38

Hexa Meshing

Page 43: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Checking and Improving the Mesh

There are tools available under the Edit Mesh menu for interactive mesh editing, where nodes can bemoved on the underlying CAD surfaces, merged or even deleted. Individual triangles of the mesh canbe subdivided or tagged with different names. You can perform quality checks, as well as localsmoothing.

Checking the MeshQuality MetricsSmoothing the Mesh GloballyMesh Editing Tools

Checking the Mesh

Check the validity of the mesh using Edit Mesh > Check Mesh. ICEM CFD includes several checks forErrors as well as Possible problems. The descriptions of each of these checks can be found in CheckMesh in the ANSYS ICEM CFD Help Manual.

You can opt to use the Create subsets feature for each of the problems so that they can be fixed lateror can opt to use the Check/fix each feature to check and fix each one of them. Using subset manipu-lation and mesh editing techniques, you can diagnose the problem and resolve it through mergingnodes, splitting edges, swapping edges, delete/create elements, and so on.

For ease of use when working with subsets, it is usually helpful to add elements to the subset in orderto see what is happening around the problem elements. To do this, right-click the Subset name in theDisplay tree and then add layers of elements to the subset. It is also useful to display the element nodesand/or display the elements slightly smaller than actual size. Both of these features can be accessed byright-clicking on Mesh in the Display Tree.

Keep in mind that after mesh editing, the diagnostics should be re-checked to verify that no mistakeswere made.

Quality Metrics

The Display Mesh Quality feature runs a diagnostic check of individual element quality and displaysthe mesh quality as a histogram. The x-axis measures the quality, with 0 representing poor quality and1 representing high quality. The y-axis measures the number of elements that belong within eachquality sub-range. Click on a bar in the histogram to identify all the cells within that quality sub-range,in the graphics display.

For descriptions of all the quality metrics, refer to Display Mesh Quality in the ANSYS ICEM CFD HelpManual.

You can modify the display of the histogram by adjusting the values of Min, Max, Height, and Bars.Right-click the histogram to access the following features for modifying its display attributes.

• The Replot feature opens a small window that enables you to change the following parameters.Clicking Accept replots the histogram to the newly set values.

39Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 44: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Min X ValueThis minimum value, which is located on the left-most side of the histogram's x-axis, representsthe worst quality elements.

Max X ValueThis maximum value, which is located on the right-most side of the histogram's x-axis, representsthe highest quality that elements can achieve.

Max Y heightYou can adjust the number of elements that will be represented on the histogram's y-axis. Usuallya value of 20 is sufficient. If there are too many elements displayed, it is difficult to discern the effectsof smoothing.

Num barsThis represents the number of subdivisions within the range between the Min X and Max X values.The default Bars have widths of 0.05. Increasing the number of displayed bars will decrease theirwidth.

• The Reset feature will return all of the values back to their original settings.

• Show: Click the left mouse button on any of the bars in the histogram to select elements that fallwithin that selected Quality range. If Show is enabled, the selected elements on the model will becomevisible in the main viewing window. The following features control how the selected elements are dis-played.

• Solid: Enabling this feature will display the elements as solid, rather than the default grid representation.(Show must be enabled.)

• Color by Quality: If available, enabling this feature will display the elements in the same color as theselected Quality bar in the histogram. (Show must be enabled.)

• Highlight: If available, this feature enables you to display one or two additional layers adjacent to theselected elements. (Show must be enabled.)

• Subset: Allows you to create a Subset containing only the elements chosen from the Quality histogram.The visibility of this subset is controlled by Subset in the Display Tree. The Add select feature enablesyou to add elements to an already established subset.

Smoothing the Mesh Globally

After eliminating errors/possible problems from a tetra mesh, you can improve the mesh quality usingEdit Mesh > Smooth Mesh Globally.

The smoother modifies the elements with quality below the specified Up to quality value, based onthe selection from the list of available quality criteria. Nodes can be moved and/or merged, edges areswapped, and in some cases elements are deleted. This operation is then repeated on the improvedgrid, up to the specified number of iterations. You can choose to smooth some element types whilefreezing others.

The triangular surface mesh smoother operates independently of the volume mesh smoother. Initially,all elements that are below the quality threshold of the specified criterion are marked, and then thespecified number of smoothing steps are run on those elements. Nodes movement is constrained tothe actual CAD surfaces during the smoothing process.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.40

Checking and Improving the Mesh

Page 45: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Smoothing iterationsThis value is the number of times the smoothing process will be performed. Models with a more complicatedgeometry will require a greater number of iterations to obtain the desired quality, which is specified forUp to quality.

Up to qualityThe Min value represents the worst quality, while the Max value represents the highest quality elements.Usually, the Min value is set to 0.0 and the Max value is set to 1.0. The Up to quality value gives thesmoother a quality to aim for. Ideally, after smoothing, the quality of the elements should be higher thanor equal to this value. If this does not happen, you should employ other methods of improving the quality,such as merging nodes and splitting edges. For most models, the elements should all have ratios ofgreater than 0.3, while a ratio of 0.15 for complicated models is usually sufficient.

FreezeIf the Freeze feature is selected for an element type, the nodes of this element type will be fixed duringthe smoothing operation. As a result, this element type will not be displayed in the histogram.

FloatIf the Float feature is selected, the nodes of the specified element type will be capable of moving freely,enabling nodes that are common with another type of element to be smoothed. The quality of elementsset to float is not tracked during the smoothing process and so the quality is not displayed in the histogram.

Advanced Options for Smoothing the Mesh

Prism Warpage RatioPrisms are smoothed based on a balance between prism warpage and prism aspect ratio. Values from 0.01to 0.50 favor improving the prism aspect ratio, while those from 0.50 to 0.99 favor improving prism warpage.A value of 0.5 favors neither. The farther the value is from 0.5, the greater the effect.

Stay on geometryThe default is, when a grid is smoothed, the nodes are restricted to the geometry -- surface, curves andpoints -- and can be moved only along the geometrical entities to which they are associated.

Violate GeometryEnabling this feature allows the smoothing operation to yield a higher quality mesh by violating the con-straints of the geometry. The nodes can be moved off the geometry to obtain better mesh quality, as longas the movement remains within the absolute distance specified.

Relative ToleranceThis feature works much like Violate Geometry except that the distance is relative here.

Allow refinementIf the quality of the mesh cannot be improved through normal algebraic smoothing, the Allow refinementfeature will enable the smoother to automatically subdivide elements to obtain further improvement.After smoothing with Allow refinement enabled, it may be necessary to smooth further with the featuredisabled. The goal is to reduce the number of elements that are attached to one vertex by refinement inproblem regions.

41Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Smoothing the Mesh Globally

Page 46: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Laplace smoothingThis feature will solve the Laplace equation, which will generally yield a more uniformly spaced mesh.

Note

This can sometimes lead to a lower determinant quality of the prisms. Also, this featureworks only for the triangular surface mesh.

Allow node mergingThis feature will collapse and remove the worst tetra and prism elements when smoothing in order toobtain a higher quality mesh. This is enabled by default, and is often very useful in improving the gridquality.

Not just worst 1%This feature will smooth all of the geometry's elements to the assigned quality (specified under Up toquality) not just focus on the worst 1% of the mesh. Typically, when a mesh is smoothed, the smootherconcentrates on improving the worst regions; this feature will allow the smoother to continue smoothingbeyond the worst regions until the desired quality is obtained.

Surface fittingThis feature will smooth the mesh, keeping the nodes and the new mesh restricted to the surface of thegeometry. Only Hexa models will use this feature.

Ignore PrePointsThis feature will allow the smoother to attempt to improve the mesh quality without being bound by theinitial points of the geometry. This feature is similar to the Violate geometry feature, but works only forpoints located on the geometry. This feature is available only when there are hexahedral elements in themodel. Usually, the best way to improve the quality of grids that cannot be smoothed above a certain levelis to concentrate on the surface mesh near the bad elements and edit this surface mesh to improve thequality.

Mesh Editing Tools

In addition to the automated mesh improvement options, there are several manual diagnostic and repairtools that enable you to build mesh topology, remesh bad elements and fill holes easily. Also there aretools for the detection of overlapping triangles and non-manifold vertices, as well as detection ofsingle/multiple edge and duplicate elements. Other tools allow you to merge or split the mesh, moveelements, convert mesh type, change density, or otherwise manipulate the mesh.

These are fully described at Edit Mesh.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.42

Checking and Improving the Mesh

Page 47: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Using the Properties Menu

The Properties menu enables you to create different materials by specifying material or elementproperties, such as type, the Young's Modulus, and Poisson's ratio. Once the material is created, youcan apply those properties to the elements.

Create Material PropertyEnables you to define a material by specifying a name of the material, define whether isotropic, enter invalues for Young's Modulus, Shear modulus, Poisson's ratio, Mass Density, and Thermal expansion coefficient.

Write Material FileSaves the material specification so that it can be reused whenever necessary. The material file will be savedwith the .mat extension.

Load Material From FileOpens a material file to be used in your design or to be modified and saved for future use.

Create TableEnables you to create your material property by entering values for x and y. You can even graph theproperty.

Define Element PropertiesThese features enable you to apply your material properties to their respective elements. Different typesof elements that can be defined include Point, Line, Shell, and Volume. After you choose the part, thevarious properties are applied to its elements.

43Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 48: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.44

Page 49: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Using the Constraints Tab

From the Constraints tab, you can define the motion restrictions on different entities such as points,curves, surfaces, or subsets, as well as define other features such as Contact definition, Velocity, andRigid Wall.

Create Constraint / DisplacementEnables you to apply a directional or rotational constraint on an entity, in any direction.

Define ContactEnables you to define contacts by Automatic Detection or Manual Definition.

Define Single Surface ContactEnables you to define a surface contact. This is used mainly for LS-DYNA Solver, where you can pick thecontact surface.

Define Initial VelocityEnables you to define initial nodal point velocities by specifying the translational and rotational velocityfor nodal sets.

Define Planar Rigid WallEnables you to define a Planar Rigid Wall by specifying the Head and Tail coordinates.

45Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 50: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.46

Page 51: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Working with Loads

On the Loads tab, there are several features available for applying internal and external loads, such asforce, pressure, and temperature.

ForcePressureTemperature

How ICEM CFD treats the load depends on how the load is applied - to a curve, a surface, or a mesh.In all cases, the load information is not calculated until you are creating the output files for one of thesupported "Common Structural" solvers: ANSYS, Autodyn, LS-DYNA, ABAQUS, or NASTRAN. That is, theoutput file is generated thru the Solve Options Tab, and at this time, the loads will be written out ac-cording to the selected solver's published format.

Force

Using this feature, you can apply translational (force) or rotational (moment) loads on entities in allthree directions.

Forces can be applied by two different features. The Uniform feature applies the stated force at all se-lected entities. For example with curves, the Uniform feature will apply the full force to all nodes attachedto the curve. The Total feature means that the force gets distributed among all the nodes of the selectedentities according to FEA concepts as described below.

Distributed Forces Theory

Total forces are distributed as described below, depending on the entity type.

• By Curve

The total Force 'FT' can be applied on a curve as shown below. Applying the load to a geometry entity

simplifies the process for you and keeps the load information at the geometry level so the mesh canbe regenerated without losing the setup information.

Figure 30: Force on a Curve

Nodes are numbered 0, 1, 2, and so on. Elements between the nodes have lengths L1, L2 and so on.

The total length is LT.

47Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 52: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Then the force on the Nodes, as per FEA concepts, is distributed linearly in proportion to the Elementlength as shown in the figure below.

Figure 31: Linear Force Distribution

For a Linear distribution, the load at each node is calculated as follows.

Node 0: F0 = 0.5 * FT * (L1 / LT)

Node 1: F1 = 0.5 * FT * (L1 / LT) + 0.5 * FT * (L2 / LT)

Node 2: F2 = 0.5 * FT * (L2 / LT) + 0.5 * FT * (L3 / LT)

Node 3: F3 = 0.5 * FT * (L3 / LT) + 0.5 * FT * (L4 / LT)

Node 4: F4 = 0.5 * FT * (L4 / LT)

In general, the force at any Node is: Fi = Sum [FT * (Lj / LT) * (1 / Nj)], where i is the node number, j

is the element number, Lj is the length of element j, and Nj is the number of Nodes attached to element

j.

As a check, if you add the individual node forces, F0 + F1 + F2 + F3 + F4, then the result equals FT.

• By Mesh Elements

You can also apply loads directly to the elements (select the elements directly rather than the geometryentities).This can occur, for example, if you do not have the geometry in a particular model or areaof a model. In this case, the load is distributed element-by-element using a Quadratic distributionas shown.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.48

Working with Loads

Page 53: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Figure 32: Force on Elements with mid-side nodes

Node numbers and element lengths are defined as before. In addition, each element has a mid-sidenode labeled m1, m2, and so on.

The Quadratic Load distribution, as per FEA concepts on an element-by-element basis is shown inFigure 33: Quadratic Load Distribution (p. 49).

Figure 33: Quadratic Load Distribution

The distribution of the Total Force, FT, at the boundary nodes is as follows:

Node 0: F0q = 1/6 * FT * (L1 / LT)

Node 1: F1q = 1/6 * FT * (L1 / LT) + 1/6 * FT * (L2 / LT)

49Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Force

Page 54: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Node 2: F2q = 1/6 * FT * (L2 / LT) + 1/6 * FT * (L3 / LT)

Node 3: F3q = 1/6 * FT * (L3 / LT) + 1/6 * FT * (L4 / LT)

Node 4: F4q = 1/6 * FT * (L4 / LT)

And the distribution at mid-side nodes is:

Node m1: Fm1 = 2/3 * FT * (L1 / LT)

Node m2: Fm2 = 2/3 * FT * (L2 / LT)

Node m3: Fm3 = 2/3 * FT * (L3 / LT)

Node m4: Fm4 = 2/3 * FT * (L4 / LT)

As in the previous case of linear distribution, you can check the total Force by adding the individualnodal forces:

FT = F0q + F1q + F2q + F3q + F4q + Fm1 + Fm2 + Fm3 + Fm4.

• By Surface

If you choose to set a load on a surface entity, then the load distribution follows the Nine Node, TwoDimension, Lagrange distribution. See the Figure 34: QUAD 9 Element (p. 50) for an illustration.

Figure 34: QUAD 9 Element

Nine nodes are identified: N1-N4 at the corners; N5-N8 at the mid-sides; and N9 in the middle. The

symbols ξ and η define a local coordinate system for the development of the load distribution, andvary from –1 to +1 over the surface of the element.

The Shape function for the distribution at a Corner Node is:

At a Mid-Side Node, the Shape function for the distribution is:

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.50

Working with Loads

Page 55: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

And finally, the Shape function for the Middle Node load distribution is:

Suppose a Force F is uniformly distributed over the whole Area. Then the pressure is P = F / 4. (Becausein the ξ-η coordinate system the area of the surface is 4.)

To find the Consistent Load at each Node, we must integrate the Shape function over the surfacearea:

Consistent Load at Node 1 = L1:

Consistent Load at Node 5 = L5:

Consistent Load at Node 9 = L9:

Now F = 4 P,.

Substituting this value in the above equations we get the Consistent Load as

L1 = F / 36

L5 = F / 9

L9 = 4F / 9

By symmetry, the Consistent Load on all corner nodes N1, N2, N3, and N4 are equal.

Similarly, the Consistent Load on all mid-side nodes N5, N6, N7, and N8 are equal.

As with the Linear and Quadratic distributions, a check against the Total can be performed.

The sum of the Consistent Loads = 4 * L1 + 4 * L5 + L9

= F / 9 + 4F / 9 + 4F / 9

51Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Force

Page 56: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

= FT

Note

A similar process for calculating the Consistent Load on a QUAD8 element load distributionis available. Again, the output file is generated thru the "Solve Options" Tab, and duringoutput, the distributed load information will be written out according to the selectedsolver's published format.

Pressure

You can apply pressure loads to Surfaces, Subsets, or Parts. Pressure loads may be uniformly appliedor described using a set of vectors. See Place Pressure for more detail.

Temperature

This feature enables you to apply temperature to Points, Curves, Surfaces, Bodies, Subsets or Parts.Typically, the temperature load is applied uniformly to the selected entity. See Create TemperatureBoundary Condition for more detail.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.52

Working with Loads

Page 57: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Sending Data to a Solver

The FEA Solve Options tab and Output Mesh tab have tools for selecting an output solver and thenspecifying the type of analysis and other parameters necessary to compute a solution.

The FEA Solve Options tab is used to setup for structural analysis. Choose from one of the followingcommon solvers: ANSYS, Nastran, ABAQUS, Autodyn, and LS-DYNA.

Setup Solver ParametersYour choice of solver determines which additional parameters are required. ABAQUS and Autodyndo not require additional solver parameters.

Setup Analysis TypeDepending on the selected solver, different features are available. For the ANSYS solver, you can selecteither Structural or Thermal. If Nastran solver is selected, then you can choose from more Analysistypes.

Setup Sub-CaseEnables you to create subcases to apply the load in different steps.

Write/View Input FileEnables you to create and view the input file generated for the solver.

Submit Solver RunEnables you to send an input file to a particular solver.

The Output Mesh tab is used for CFD analysis and exporting the mesh in supported formats. Choosefrom one of the supported Output Solvers, and then setup Boundary Conditions and other Parametersbefore writing the solver input file.

More information about the supported solvers is available from the Help menu. The Output Interfacesfeature opens the ANSYS ICEM CFD Output Interfaces information in a browser. For information abouta specific solver, refer to the Table of Supported Solvers and click the name of the solver.

53Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 58: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.54

Page 59: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Workbench Integration

The data-integrated ICEM CFD component system, or “ICEM CFD Add-in”, enables you to launch ICEMCFD from ANSYS Workbench and use it to build a project, with the option of adding upstream datafrom Geometry, Mesh, Mechanical Model, or combined Geometry and Mesh system components. Youcan also use ICEM CFD to provide data to downstream component systems, such as ANSYS Fluent,ANSYS CFX, ANSYS Polyflow, Mechanical APDL, and FE Modeler.

The additional features available through the ICEM CFD add-in are described in the following sections:

• Elements of the ICEM CFD Component (p. 56)

• Creating an ICEM CFD Component (p. 57)

• Updating ICEM CFD Projects (p. 58)

• Interface Differences in the Data-Integrated ICEM CFD (p. 61)

• Setting Parameters (p. 63)

• User-Defined Parameters Example (p. 69)

55Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Page 60: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Elements of the ICEM CFD Component

The ICEM CFD Component system contains the following cells:

• ICEM CFD system header. The System Header identifies the component type and provides access toWorkbench context menu options. The ICEM CFD system header context menu options include:

– Refresh

– Update

– Duplicate

– Clear Generated Data

– Delete

– Rename

– Properties

– Add/Edit Note

These standard actions are described in the System Header Context Menu Options and Duplicating, Moving,Deleting, and Replacing Systems sections of the Workbench User's Guide.

Note

• If available, Update will use the ICEM CFD Replay file to update the ICEM CFD project.

• Scripts written in ICEM CFD may not be compatible with upstream or downstream projects. Takecare not to write scripts whose functions exceed the capabilities of the upstream or downstreamcomponent systems.

• Model cell. The Model Cell is associated with the ICEM CFD application. You can use the Model Cell tomodify some aspects of the project. You can also double-click the Model Cell to open the project in ICEMCFD. The Model cell context menu items include the following:

– Edit: Opens the ICEM CFD application and loads an existing Geometry/ICEM CFD file.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.56

Workbench Integration

Page 61: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

– Duplicate: Copies the entire geometry and mesh data, enabling you to edit the Model cell in the duplicatesystem to investigate an alternative modeling approach.

– Transfer Data From New: Enables the transfer of data from upstream Geometry, Mesh, MechanicalModel, or combined Geometry and Mesh components.

Note

If the geometry cell option Use Associativity is On (its default setting), Part ReferenceIDs are stored in a Workbench database and remain persistent in ICEM CFD even if thetopology of the geometry is changed.

– Transfer Data to New: Enables the transfer of data from an ICEM CFD project to downstream data-integ-rated system projects, such as:

→ Fluent

→ CFX

→ FE Modeler

→ Polyflow

→ Mechanical APDL

– Update, Refresh, Reset, Rename, Properties, and Add/Edit Note. These standard actions are describedin System Header Context Menu Options and Duplicating, Moving, Deleting, and Replacing Systems sectionsof the Workbench User's Guide.

An additional property is Create Subset(s) from Named Selection. If this option is set, thenoverlapping named selections are transferred to multiple subsets instead of to exclusive parts. Thisenables the creation of geometry subsets instead of parts, allowing you to decide the part to whichthe geometry entity (point/curve/surface) should be associated. When this option is disabled, eachgeometry entity is assigned to only one part, thereby losing association with other Named Selections(which are mapped to parts).

• Parameters cell (optional). The Parameters Cell enables you to see and edit Input and Output parametersfor ICEM CFD.

Creating an ICEM CFD Component

You can create an ICEM CFD component system in Workbench using any of these methods:

• Double-click the ICEM CFD system template in the Toolbox.

• Drag-and-drop the ICEM CFD system template onto the Project Schematic.

• Right-click a Geometry or Mesh project and select Transfer Data to New> ICEM CFD.

• Choose File>Import to import a standalone ICEM CFD project into Workbench. When the Import dialogbox opens, choose ICEM CFD Project File (*.prj) and navigate to the project you want to import.

57Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Creating an ICEM CFD Component

Page 62: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Updating ICEM CFD Projects

Updating a project in Workbench brings the entire ICEM CFD system up to the most current status, in-cluding upstream and downstream data.

Changes that require you to update your ICEM CFD project include changes to upstream data andchanges you make in the ICEM CFD editor. When changes are made, the cell in the Project Schematicwindow indicates that an update is required. Note, however, that changes made in the ICEM CFD editorwill not cause the system to go out of date until the project, tetin file (geometry), blocking file, and/orReplay file are saved.

Note

Named selections defined in Mesh systems are available only within the Mesh system. Theyare not available to downstream systems like ICEM CFD.

The actions taken by Workbench when the system is updated depends on whether the following con-ditions are met:

• Blocking exists.

• A Replay file exists.

• Blocking parameters are set.

• Other input parameters are set.

The following table describes the actions performed by ICEM CFD according to these conditions:

Table 1: Updating ICEM CFD Projects

Actions performedby ICEM CFD

Other InputParameters

Blocking InputParameters

ReplayFile

Blocking

NoNoNoNo 1. Runs tetra defaultmeshing.

2. Saves theunstructured mesh.

3. Saves the project

NoNoNoYes 1. Runs hexa defaultmeshing.

2. Saves theunstructured mesh.

3. Saves the project.

YesNoNoNo 1. Sets all inputparameters.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.58

Workbench Integration

Page 63: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Actions performedby ICEM CFD

Other InputParameters

Blocking InputParameters

ReplayFile

Blocking

2. Runs tetra meshing.Runs prismmeshing (p. 23) if anyPart PART_NAME:Prism inputparameters exist. (SeeSetting Parametersfor PrismMeshing (p. 67))

3. Saves theunstructured mesh.

4. Saves the project.

YesNoYesNo 1. Sets all inputparameters.

2. Runs the Replay file.

3. Saves theunstructured mesh.

4. Saves the project.

YesYesYesNo 1. Sets all inputparameters exceptblocking parameters.

2. Runs the Replay file.

3. If blocking nowexists:

a. Sets blockinginput parameters.

b. Runs hexameshing.

c. Convertspre-mesh tounstructured.

d. Saves theunstructuredmesh

4. Saves the project.

59Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Updating ICEM CFD Projects

Page 64: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Actions performedby ICEM CFD

Other InputParameters

Blocking InputParameters

ReplayFile

Blocking

YesYesNoYes 1. Sets all inputparameters.

2. Sets blocking inputparameters.

3. Runs hexa meshing.

4. Converts pre-mesh tounstructured.

5. Saves theunstructured mesh.

6. Saves the project.

YesYesYesYes 1. Sets all the inputparameters exceptblocking.

2. Runs the Replay file.

3. If blocking still exists:

a. Sets blockinginput parameters.

b. Runs hexameshing.

c. Convertspre-mesh tounstructured.

d. Saves theunstructuredmesh.

4. Saves the project.

ICEM CFD saves the unstructured mesh and project only if the ICEM CFD user interface is closed andyou update the project from Workbench. If the ICEM CFD is open, you will need to manually save theunstructured mesh and project.

The order of operations is Meshing input parameters are set before the Replay file is run; Blocking Inputparameters are set after a replay file is run, but only if blocking exists after the replay file is run.

If no Replay file exists, the default mesher is determined by the presence or absence of blocking: if noblocking exists in the project, tetra is the default. Conversely, if blocking exists in the project, hexa isthe default mesher.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.60

Workbench Integration

Page 65: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Updating a Project

To update a project and refresh upstream and downstream data, right-click the Model cell and chooseUpdate.

Interface Differences in the Data-Integrated ICEM CFD

The data-integrated ICEM CFD interface has been modified to provide additional functionality that en-hances the integration of ICEM CFD and Workbench:

• One-click menus (p. 61) that enable you to control basic project and Replay Recording functions.

Note

If you create Workbench Input Parameters (p. 64) and want to step through the scriptline-by-line or using a line range, you must open the Workbench Replay Controldialog box (p. 62) from this menu.

• The Workbench Replay Control dialog box (p. 62) enables you to test and edit Replay scripts createdwithin Workbench.

You can ensure that you are working within the data integrated environment by checking the Messagewindow within ICEM CFD. The first line identifies that the application is integrated in the WorkbenchFramework.

One-Click Menus

The following one-click menu options are available in the Toolbar when you open ICEM CFD fromWorkbench:

• Save Project: Saves the entire project, including Workbench data.

• Refresh Project: Refreshes the upstream data in the ICEM CFD project.

• Update Project: Brings the entire ICEM CFD system up to the most current status, including upstreamand downstream data.

• Start Replay Recording: Begins recording the commands needed to generate a custom meshingprocess. All of the steps in the mesh development process are recorded, including blocking, mesh size,edge meshing, boundary condition definition, and final mesh generation. See Replay Functionality inthe ANSYS ICEM CFD User's Manual. After you click the Start Replay Recording icon, it changes tothe Stop Replay Recording icon. You can click this icon to stop recording.

61Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Interface Differences in the Data-Integrated ICEM CFD

Page 66: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

You can also click the arrow to choose Pause Replay Recording, Run Replay File, Delete ReplayFile, and Replay Control, which opens the Workbench Replay Control dialog box. (p. 62)

Note

If you create Workbench Input Parameters and want to step line by line or using aline range through a replay file, you must use the Replay Control item from thismenu to start the Workbench Replay Control dialog box (p. 62).

• Output Mesh: You can choose to save the ICEM CFD mesh output to Fluent, CFX, or Polyflow projects.

Workbench Replay Control Dialog Box

The Workbench Replay Control dialog box helps you create, test, and edit script files by performingoperations in ANSYS ICEM CFD and recording the equivalent Tcl/Tk commands in a Replay file. You canthen use the dialog box to step through and edit the script.

The Workbench Replay Control dialog box works exactly the same as the standalone Replay Controldialog box that you open from the File menu, with two key exceptions:

• The Workbench Replay Control dialog box supports Workbench Input Parameters and enables youto step through them.

• The dialog box automatically loads the current Replay script file (ICM.rpl) instead of opening a filebrowser.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.62

Workbench Integration

Page 67: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

For more information, see Replay Scripts in the ANSYS ICEM CFD Help Manual.

Setting Parameters

Setting Input parameters in Workbench enables you to pass parameters to ICEM CFD and other down-stream analysis tools. The interaction of parameters between applications provides you with greaterflexibility and capabilities to run optimization and what-if scenarios. For more information about usingparameters in Workbench, see Working with Parameters and Design Points in the Workbench User's Guide.

Parameters can be set globally or individually, with individual parameters taking precedence overglobal values.

The parameters you can set are:

• Input Parameters (p. 64)

• Parameters for all existing curves, surfaces, or edges (p. 66)

• Mesh parameters for parts (p. 66)

• User-defined Input Parameters (p. 67)

• Output Parameters (p. 68)

63Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Setting Parameters

Page 68: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Setting Input Parameters

Clicking the box to the right of certain Meshing Input parameters enables you to select whether theparameter is controlled from within ICEM CFD or from within Workbench. A “P” in the check box indicatesthat it has been selected as a Workbench Input parameter. If the check box is empty, you can controlthe input from within ICEM CFD.

You can set the following input parameters in Workbench:

• Global Mesh Size (See Global Mesh Size in the ANSYS ICEM CFD Help Manual).

• Shell Meshing (See Shell Meshing Parameters in the ANSYS ICEM CFD Help Manual).

• Volume Meshing (See Volume Meshing Parameters in the ANSYS ICEM CFD Help Manual).

• Prism Meshing (See Prism Meshing Parameters in the ANSYS ICEM CFD Help Manual).

• Surface Mesh Setup (See Surface Mesh Setup in the ANSYS ICEM CFD Help Manual).

• Curve Mesh Setup (See Curve Mesh Setup in the ANSYS ICEM CFD Help Manual).

• Edge Params (See Edge Params in the ANSYS ICEM CFD Help Manual).

For Surface Mesh Setup, Curve Mesh Setup, and Edge Params, you can set parameters eitheron all existing surfaces or curves and edges at once, or for a single curve, surface, or edge.

Note

If you create Workbench Input Parameters and want to step line by line or using a line rangethrough a replay file, you must use the Workbench Replay Control item from the One-Clickmenu to start the Workbench Replay Control dialog box.

Setting Input Parameters

To set input parameters in Workbench:

1. Within ICEM CFD, choose any of the input parameters listed above.

2. Select the check box next to the parameter.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.64

Workbench Integration

Page 69: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

3. Click the Yes button in the message dialog box to confirm the selection. A P in the check box indicatesthat the parameter has been created for Workbench.

Note

You will not be able to edit the parameter within ICEM CFD unless you click the checkbox again and deselect the parameter.

4. In Workbench, double-click the project’s Parameters cell.

5. Edit the parameter values in the Outline of Schematic: Parameters window.

6. Click the Project tab to return to the Project Schematic window.

You can now update the project using the new parameter settings.

Setting the parameters for a single curve, surface, or edge

1. Within ICEM CFD, open the Surface Mesh Setup, Curve Mesh Setup, or Edge Params parameters fromthe Tab menu.

2. Click the Select button at the top of the Parameters window.

3. Click the Left Mouse button to select the curve, surface, or edge for which you want to set parameters.

4. Click the Middle Mouse button to complete the selection.

The surface, curve, or edge you selected is listed in the selection entry.

5. Select the check box next to the parameter you want as the input parameter.

6. Click the Yes button in the message dialog box to confirm the selection. A P in the check box indicatesthat the parameter for the single surface, curve or edge has been created for Workbench.

65Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Setting Parameters

Page 70: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Setting Parameters for All Existing Curves, Surfaces, or Edges

1. Within ICEM CFD, open the Surface Mesh Setup, Curve Mesh Setup, or Edge Params parameters fromthe Tab menu.

2. Leave the Surface, curve, or edge selection field empty (do not select any surface, curve or edge).

3. Select the check box next to the parameter you want as the input parameter

4. Click the Yes button in the message dialog box to confirm the selection. A P in the check box indicatesthat the parameter for all existing surfaces, curves or edges has been created for Workbench.

Setting Workbench Mesh Parameters for Parts

The Part Mesh Setup parameters enable you to specify the mesh parameters for different parts of thegeometry. Part Mesh Setup is described in the ANSYS ICEM CFD Help Manual.

To create a Workbench mesh parameter for a part:

1. Click the Mesh tab.

2. Click the Part Mesh Setup icon.

3. In the Part Mesh Setup dialog box, choose a part and assign non-zero values to one or more of its para-meters.

4. Click in the Parameter column for the part.

5. A dialog box asks you to confirm that you want to create a Workbench parameter for each value you’vechanged.

Note

If any Workbench parameters are already set for the part, a dialog box will ask if youwant to delete that Workbench parameter.

Parameters assigned as Workbench parameters are highlighted in blue.

To delete a parameter, click in the Parameter column. A dialog box will ask you to confirm that youwant to delete each individual Workbench parameter in the row.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.66

Workbench Integration

Page 71: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

As with ICEM CFD, the Apply inflation parameters to curves and Remove inflation parameters fromcurves options affect Workbench parameter behavior as well. The current value of Apply inflationparameters to curves is saved to the project file/.aienv_options file, so it is always availablein GUI or Batch mode.

Setting Parameters for Prism Meshing

You can add prism meshing parameters using the Part Mesh Setup (p. 66) dialog box:

1. Click the Mesh tab.

2. Click the Part Mesh Setup icon.

3. In the Part Mesh Setup dialog box, choose a part and check the check box in the Prism column.

4. Click in the Parameter column for the part.

5. A dialog box asks you to confirm that you want to create a Workbench parameter for Part PARTNAME:Prism.

Note

If any Workbench parameters are already set for the part, a dialog box will ask if youwant to delete that Workbench parameter.

Setting User-Defined Input Parameters

Setting User-Defined Input Parameters gives for greater flexibility and control over the meshing operation.For example, parameters that cannot be applied as single input parameters can be individually set withUser-Defined Input Parameters.

1. Within ICEM CFD, choose Settings>Workbench Parameters> Workbench Input Parameters (User-defined).

2. In the User-Defined Workbench Input Parameters window, check the Create User Defined InputParameter check box.

3. Enter a value for the Parameter name (for example, MY_PARAMETER).

4. Enter a value for the Parameter (for example, 1.343). This value must not be empty.

5. Click Apply or OK.

You can edit this value in the Outline of Schematic: Parameters window.

Note

See the ANSYS ICEM CFD Programmer's Guide for information about using User-DefinedParameters with Replay Scripting.

Deleting User-defined Input Parameters

67Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

Setting Parameters

Page 72: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

1. Within ICEM CFD, choose Settings>Workbench Parameters> Workbench Input Parameters (User-defined).

2. In the User-Defined Workbench Input Parameters window, check the Delete User Defined InputParameter check box.

3. Use the drop-down menu to choose the name of the parameter you want to delete.

4. Click Apply or OK.

Setting Output Parameters

You can set Workbench Output parameters to:

• unstruct mesh and pre-mesh blocking quality metrics

• list the number of mesh errors and possible problems

• list the number of element and block types created

You set the output parameters within the ICEM CFD application, then view them in either Workbenchor ICEM CFD.

Setting Output Parameters

1. Within ICEM CFD, choose Settings>Workbench Parameters> Workbench Output Parameters.

2. Optionally, Click the Output quality metrics check box to select quality metrics.

a. Use the Quality Metrics drop-down menu to choose the metric you want to set.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.68

Workbench Integration

Page 73: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

b. Click the radio buttons to select the mesh types to check for the metric.

3. Optionally, click the Output number of elements check box.

a. Check the boxes next to the element types for which you want an output number.

4. Optionally, click the Output Check Mesh check box.

a. Check the boxes next to the errors you want to have tallied in the output results. ICEM CFD will performan analysis as part of the meshing process and list the results in the Output window and in the Work-bench Parameters window.

5. Similarly, check the boxes for Output Pre-Mesh Quality and Output Number of Blocks to set the BlockingOutput parameters.

For more information about pre-mesh quality, see Determining the Pre-Mesh Quality (p. 37).

For more information about Hexa Block types, see Hexa Block Types (p. 32).

Deleting Output Parameters

1. Within ICEM CFD, choose Settings>Workbench Parameters> Workbench Output Parameters.

2. In the Workbench Output Parameters window, check any applicable check box for Delete all qualitymetrics output parameters, Delete all number of elements output parameters, Delete all Pre-MeshQuality output parameters, and Delete all Number of Blocks output parameters.

3. Click OK.

User-Defined Parameters Example

This example illustrates how you can use user-defined parameters to test different meshing scenariosfor a simple box:

1. In the Workbench Toolbox, double-click the ICEM CFD component to start the data-integrated ICEM CFDcomponent system.

2. Double-click the Model cell to open ICEM CFD.

3. First, create an Input parameter, ZSIZE, that you can manipulate from Workbench.

a. Choose Settings>Workbench Parameters> Workbench Input Parameters (User-Defined).

b. Click Create User-Defined Input Parameter.

c. Name the Parameter ZSIZE and set the Parameter Value as 2

d. Click OK to finish..

69Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

User-Defined Parameters Example

Page 74: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

4. Now create a box model upon which you will perform a meshing operation. Record the process so theoperation can be performed again when you update it from Workbench.

a. Click the Start Replay button.

b. Click the Geometry tab and choose Create/Modify Surface.

c. Choose Standard Shape from the Create/Modify Surface window.

d. Choose Box and click Apply.

e. Click the Mesh tab and choose Compute Mesh.

f. Choose Volume Mesh and click Compute.

g. Click Yes on the message dialog box to use autosizing for the mesh size.

h. Click the Stop Replay Recording button.

i. Choose File>Save Project to save the project.

5. Next, edit the script to use the input parameter.

a. Choose Workbench Replay Control from the One-Click Replay Recording menu.

b. Click the Edit button.

c. Edit Line 16 (or whichever line is appropriate),ic_vid_objectbox8 GEOM 00 {0 0 0} 1 11, to ic_vid_object box8 GEOM 00 {0 0 0} 1 1 [ic_wb2_get_parameteruser_defined ZSIZE]

d. Choose File>Save.

e. Close the Edit window.

f. Click the Save button and save ICM.rpl.

g. Click the Done button. Do not close ICEM CFD.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.70

Workbench Integration

Page 75: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

6. Now you can change the Input parameter through Workbench.

a. In the Workbench Project Schematic window, double-click the Parameters cell of the ICEM CFDcomponent.

b. Change the value of ZSIZE to 5 and choose Return to Project.

c. Right-click the Model cell and choose Update.

You can watch the Replay script run using the new parameter in the ICEM CFD interface. Each timeyou change the ZSIZE parameter in Workbench, will be generated and meshed with the new ZSIZEparameter value.

71Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential information

of ANSYS, Inc. and its subsidiaries and affiliates.

User-Defined Parameters Example

Page 76: ANSYS ICEM CFD User's Manual - آکادمی هامان · PDF fileANSYS ICEM CFD User's Manual ... structured or unstructured meshes, ... General Meshing Workflow The ANSYS ICEM CFD

Transferring an ICEM CFD Project to Static Structural

When you create a project that transfers ICEM CFD data downstream to a Static Structural system, datathat is applied to the geometry–such as load data–is not transferred to the structural system. To workaround this limitation, you can use a Finite Element Modeler (FE Modeler) system as a bridge betweenthe two systems, then manually set the connections between them.

To transfer an ICEM CFD project to Static Structural:

1. Start with an ICEM CFD component.

a. Choose File>Import to select an existing ICEM CFD project, or;

b. Drag an ICEM CFD component system into the Project Schematic window, then click on themodel to open the ICEM CFD Add-In and create your model.

2. Drag out an FE Modeler system and drop it on the ICEM CFD system.

Note that they are connected through the Model cell.

3. Drag out a Static Structural system as a Standalone system.

Note that if you drag the Static Structural system out and drop it on the FE Modeler system,the two cells will link Model to Engineering data, and model information will not be passeddownstream.

4. Drag the Model cell from the FE Modeler system and drop it on the Model cell of the Static Struc-tural system.

5. Right-click the Model cell of the ICEM CFD system and choose Update.

6. Right-click the Model cell of the FE Modeler system and choose Update.

The model is now ready to use within Static Structural.

Release 17.0 - © SAS IP, Inc. All rights reserved. - Contains proprietary and confidential informationof ANSYS, Inc. and its subsidiaries and affiliates.72

Workbench Integration