Grid Generation.

Slides:



Advertisements
Similar presentations
Grids generation methods and adaptive meshes Paweł Cybułka Finite element method.
Advertisements

LaGriT Los Alamos Grid Toolbox Carl Gable meshing.lanl.gov lagrit.lanl.gov.
© Fluent Inc. 4/16/ Introductory GAMBIT Notes GAMBIT v2.0 Jan 2002 Fluent User Services Center Edge and Face Meshing.
Mesh Control through Boundary Layers and Face Vertex Types
1 Lecture 7 - Meshing Applied Computational Fluid Dynamics Instructor: André Bakker © André Bakker ( ) © Fluent Inc. (2002)
Extended Gaussian Images
Mesh, Loads & Boundary conditions CAD Course © Dr Moudar Zgoul,
Department of Mechanical Engineering 1 Meshing of 2-D Cross Section Mesh Tool Comparison Group: Graden Hardy, Patrick Lewis Date:22 April 2009 ME 501 –
Copyright © 2010 Altair Engineering, Inc. All rights reserved.Altair Proprietary and Confidential Information Section 8: Mesh Quality.
3D spherical gridding based on equidistant, constant volume cells for FV/FD methods A new method using natural neighbor Voronoi cells distributed by spiral.
Section 4: Implementation of Finite Element Analysis – Other Elements
Review: CFD Step by Step
Chapter 1 Introduction to CFD
CAD Import, Partitioning & Meshing J.Cugnoni LMAF / EPFL 2009.
A Bezier Based Approach to Unstructured Moving Meshes ALADDIN and Sangria Gary Miller David Cardoze Todd Phillips Noel Walkington Mark Olah Miklos Bergou.
A Bezier Based Approach to Unstructured Moving Meshes ALADDIN and Sangria Gary Miller David Cardoze Todd Phillips Noel Walkington Mark Olah Miklos Bergou.
Isoparametric Elements
Surface Reconstruction from 3D Volume Data. Problem Definition Construct polyhedral surfaces from regularly-sampled 3D digital volumes.
CSE351/ IT351 Modeling And Simulation Choosing a Mesh Model Dr. Jim Holten.
2003 by Jim X. Chen: Introduction to Modeling Jim X. Chen George Mason University.
ECIV 720 A Advanced Structural Mechanics and Analysis Solid Modeling.
Feature Sensitive Surface Extraction from Volume Data Leif P. Kobbelt Mario Botsch Ulrich Schwanecke Hans-Peter Seidel Computer Graphics Group, RWTH-Aachen.
Chapter 3 2D AND 3D SPATIAL DATA REPRESENTATIONS 김 정 준.
1cs533d-term Notes  list Even if you’re just auditing!
IE433 CAD/CAM Computer Aided Design and Computer Aided Manufacturing Part-4 Computer Graphics- CAD Software Industrial Engineering Program King Saud University.
Quadtrees and Mesh Generation Student Lecture in course MATH/CSC 870 Philipp Richter Thursday, April 19 th, 2007.
© 2011 Autodesk Freely licensed for use by educational institutions. Reuse and changes require a note indicating that content has been modified from the.
1 Finite-Volume Formulation. 2 Review of the Integral Equation The integral equation for the conservation statement is: Equation applies for a control.
Transport Equations Mass conservation
Spatial data models (types)
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
Introduction to CFD Analysis
1 Data Structures for Scientific Computing Orion Sky Lawlor charm.cs.uiuc.edu 2003/12/17.
Chapter 3 Meshing Methods for 3D Geometries
Computer Aided Thermal Fluid Analysis Lecture 3 Dr. Ming-Jyh Chern ME NTUST.
COMPUTER AIDED DESIGN -(CAD)-3
ANSYS, Inc. Proprietary © 2004 ANSYS, Inc. Chapter 6 ANSYS CFX 9.0.
Geometric Modeling using Polygonal Meshes Lecture 1: Introduction Hamid Laga Office: South.
Mesh Generation 58:110 Computer-Aided Engineering Reference: Lecture Notes on Delaunay Mesh Generation, J. Shewchuk (1999)
© Fluent Inc. 10/14/ Introductory GAMBIT Notes GAMBIT v2.0 Jan 2002 Fluent User Services Center Volume Meshing and the Sizing.
Cubes, Prisms, Pyramids, Cylinders, Cones and Spheres
實驗力學研究室 1 Solving the Model. 實驗力學研究室 2 Multiple Load and Constraint Cases Option 1. Results from multiple load cases in a single run may be combined.
Surface Meshing Material tret de: S. J. Owen, "A Survey of Unstructured Mesh Generation Technology", Proceedings 7th International Meshing Roundtable,
CFX-10 Introduction Lecture 1.
Adaptive Meshing Control to Improve Petascale Compass Simulations Xiao-Juan Luo and Mark S Shephard Scientific Computation Research Center (SCOREC) Interoperable.
Finite Element Analysis
By Eugene Adams.  Vertices  Edges  Faces  Polygons  Meshes  2D co-ordinates  3D co-ordinates.
1 Multi-resolution Tetrahedral Meshes Leila De Floriani Department of Computer and Information Sciences University of Genova, Genova (Italy)
Geometry Modeling & Grid Generation
Presented by Adaptive Hybrid Mesh Refinement for Multiphysics Applications Ahmed Khamayseh and Valmor de Almeida Computer Science and Mathematics Division.
1 Data Structures for Scientific Computing Orion Sky Lawlor /04/14.
PCS900 AccuGrade 3D Paving Training 3D Design Models & SVO/AGO & TBC
June 23, Variational tetrahedral meshing of mechanical models for FEA Matthijs Sypkens Smit Willem F. Bronsvoort CAD ’08 Conference, Orlando, Florida.
CAD Import Partitioning & Meshing
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Unstructured Meshing Tools for Fusion Plasma Simulations
Edge and Face Meshing.
Lecture 7 - Meshing Applied Computational Fluid Dynamics
POLYGON MESH Advance Computer Graphics
3D Object Representations
FEA Introduction.
© Fluent Inc. 8/24/ Introductory FLUENT Notes FLUENT v6.0 Jan 2002 Fluent User Services Center Introduction to CFD Analysis.
Mesh Control through Boundary Layers and Face Vertex Types
Meshing Strategy.
Solid Geometry.
Mesh Control using Size Functions and Boundary Layers
Volume Meshing.
Solid Geometry.
Solid Geometry.
Presentation transcript:

Grid Generation

Why is a grid or mesh needed? The grid: Designates the cells or elements on which the problem is solved. Is a discrete representation of the geometry of the problem. Has cells grouped into boundary zones where b.c.’s are applied. The grid has a significant impact on: Rate of convergence (or even lack of convergence). Solution accuracy. CPU time required. Questions What are types of grids? How do we measure quality of a grid or mesh? How do we generate grids?

Geometry The starting point for all problems is a “geometry.” The geometry describes the shape of the problem to be analyzed. Can consist of volumes, faces (surfaces), edges (curves) and vertices (points). Geometry can be very simple... … or more complex geometry for a “cube”

Geometry creation Geometries can be created top-down or bottom-up. Top-down refers to an approach where the computational domain is created by performing logical operations on primitive shapes such as cylinders, bricks, and spheres. Bottom-up refers to an approach where one first creates vertices (points), connects those to form edges (lines), connects the edges to create faces, and combines the faces to create volumes. Geometries can be created using the same pre-processor software that is used to create the grid, or created using other programs (e.g. CAD, graphics).

Typical cell shapes Many different cell/element and grid types are available. Choice depends on the problem and the solver capabilities. Cell or element types: 2D: 3D: 2D prism (quadrilateral or “quad”) triangle (“tri”) prism with quadrilateral base (hexahedron or “hex”) tetrahedron(“tet”) prism with triangular base (wedge) pyramid arbitrary polyhedron

Terminology Cell = control volume into which domain is broken up. Node = grid point. Cell center = center of a cell. Edge = boundary of a face. Face = boundary of a cell. Zone = grouping of nodes, faces, and cells: Wall boundary zone. Fluid cell zone. Domain = group of node, face and cell zones. node cell center face cell 2D computational grid node edge cell face 3D computational grid

Grid types: structured grid Single-block, structured grid. i,j,k indexing to locate neighboring cells. Grid lines must pass all through domain. Has a strict topological framework Interior nodes have equal number of adjacent elements Obviously can’t be used for very complicated geometries.

Grid types: multiblock Multi-block, structured grid. Uses i,j,k indexing within each mesh block. The grid can be made up of (somewhat) arbitrarily-connected blocks. More flexible than single block, but still limited. Source: www.cfdreview.com

Face meshing: multiblock Different types of hexahedral grids. Multi-block. The mesh can be represented in multiple blocks. Multi-block geometry Logical representation. This structure gives full control of the mesh grading, using edge meshing, with high-quality elements. Manual creation of multi-block structures is usually more time-consuming compared to unstructured meshes.

Grid types: unstructured Unstructured grid. The cells are arranged in an arbitrary fashion. No i,j,k grid index, no constraints on cell layout. There is some memory and CPU overhead for unstructured referencing. Unstructured mesh on a dinosaur

Grid types: hybrid Hybrid grid. Use the most appropriate cell type in any combination. Triangles and quadrilaterals in 2D. Tetrahedra, prisms and pyramids in 3D. Can be non-conformal: grids lines don’t need to match at block boundaries. prism layer efficiently resolves boundary layer tetrahedral volume mesh is generated automatically triangular surface mesh on car body is quick and easy to create non-conformal interface

Tetrahedral mesh Complex Geometries Start from 3D boundary mesh containing only triangular faces. Generate mesh consisting of tetrahedra. Complex Geometries Surface mesh for a grid containing only tetrahedra

Mesh naming conventions - topology Structured mesh: the mesh follows a structured i,j,k convention. Unstructured mesh: no regularity to the mesh. Multiblock: the mesh consists of multiple blocks, each of which can be either structured or unstructured.

Mesh quality The mesh density should be high enough to capture all relevant flow features. The mesh should be fine enough to resolve any physical phenomena such as boundary layers, vortices, etc. Three measures of quality: Skewness. Smoothness (change in size). Aspect ratio.

Desirable properties of grids Correctly model the shape of domain or object Need to have control over size of elements in mesh Need to have the ability to smoothly grade from small to large cells quickly Need to have the ability to refine easily Quality of mesh has to be controlled

Mesh quality: skewness Two methods for determining skewness: 1. Based on the equilateral volume: Skewness = Applies only to triangles and tetrahedra. 2. Based on the deviation from a normalized equilateral angle: Skewness (for a quad) = Applies to all cell and face shapes. Always used for prisms and pyramids. optimal (equilateral) cell actual cell circumcircle

Mesh quality: smoothness and aspect ratio Change in size should be gradual (smooth). Aspect ratio is ratio of longest edge length to shortest edge length. Equal to 1 (ideal) for an equilateral triangle or a square. smooth change large jump in in cell size cell size aspect ratio = 1 high-aspect-ratio quad aspect ratio = 1 high-aspect-ratio triangle

Grid design guidelines: resolution For example, with an input flow features should be adequately resolved. Quad/hex cells can be stretched where flow is fully-developed and essentially one-dimensional. inadequate better flow Flow Direction OK!

Grid design guidelines: total cell count More cells can give higher accuracy. The downside is increased memory and CPU time. To keep cell count down: Use a non-uniform grid to cluster cells only where they are needed. Use solution adaption to further refine only selected areas. Cell counts of the order: 1E4 are relatively small problems. 1E5 are intermediate size problems. 1E6 are large. Such problems can be efficiently run using multiple CPUs, but mesh generation and post-processing may become slow. 1E7 are huge and should be avoided if possible. However, they are common in aerospace and automotive applications. 1E8 and more are department of defense style applications.

Solution adaption How do you ensure adequate grid resolution, when you don’t necessarily know the flow features? Solution-based grid adaption! The grid can be refined or coarsened by the solver based on the developing flow: Solution values. Gradients. Along a boundary. Inside a certain region.

Main sources of errors Mesh too coarse. High skewness. Large jumps in volume between adjacent cells. Large aspect ratios. Interpolation errors at non-conformal interfaces. Inappropriate boundary layer mesh.

Summary Design and construction of a quality grid is crucial to the success of any numerical computations for PDEs. Appropriate choice of grid type depends on: Geometric complexity. Physical problem. Cell and element types supported by discretization methods used.