Mixed Order Mesh Generation for Curved Geometry John Stone CFD - - PowerPoint PPT Presentation

mixed order mesh generation for curved geometry
SMART_READER_LITE
LIVE PREVIEW

Mixed Order Mesh Generation for Curved Geometry John Stone CFD - - PowerPoint PPT Presentation

Mixed Order Mesh Generation for Curved Geometry John Stone CFD Technologies Ltd. Steve Karman Pointwise, Inc. June 19 th , 2020 Outline Introduction Geometry Access Mesh Curving Process - Element Deviation Metric -


slide-1
SLIDE 1

Mixed Order Mesh Generation for Curved Geometry

John Stone

CFD Technologies Ltd.

Steve Karman

Pointwise, Inc. June 19th, 2020

slide-2
SLIDE 2

Outline

  • Introduction
  • Geometry Access
  • Mesh Curving Process
  • Element Deviation Metric
  • Optimization-based Smoothing
  • Results
  • Conclusions

1

slide-3
SLIDE 3

Introduction

slide-4
SLIDE 4

Introduction

  • High order mesh curving is an emerging technology that will

greatly benefit the Finite-Element Methods (FEM) Computational Fluid Dynamics (CFD) solver community.

  • Research into mesh curving is taking place at a number of

institutions.

  • Interpolation methods, such as Radial Basis Functions.
  • Linear and non-linear elasticity analogs.
  • Elliptic PDE, such as Winslow.
  • Mesh modification in response to Riemannian metric tensor.
  • Meshing applications are beginning to include a mesh curving

capability.

  • MeshCurve – Master’s student research code.
  • Gmsh – Full featured mesh generation tool with high order

capability.

  • NekMesh – Component of Nektar with some high order capability.
  • Pointwise – Uniform curving up to Q4 for mixed element types.

3

slide-5
SLIDE 5

Results: BANC III Landing Gear

  • 3rd AIAA Workshop on Airframe-Noise

included a complex landing gear configuration.

  • The mesh was originally generated at
  • Pointwise. It was coarsened and then

elevated and curved to a Q2 mesh.

  • The input linear mesh had ~7 million

points and ~34 million tetrahedra.

  • The Q2 mesh contained ~46 million

points.

  • This was constructed in serial on an iMac

with 32 Gbytes RAM.

4

slide-6
SLIDE 6

Results: BANC III Landing Gear

  • Peter Vincent et. al

used PyFR to compute a preliminary flowfield solution.

5

  • flo
slide-7
SLIDE 7
  • The Weighted Condition Number (WCN) used in

Pointwise is being extended to mixed order curving under a NASA Phase II SBIR contract.

  • Volume elements are elevated in response to

geometry curvature.

  • Near highly curved geometry the degree can reach 4.
  • Near flat geometry and in the far field the element degree

remains linear.

  • The WCN method employs a cost function that

enforces element shape and positive Jacobians.

  • At completion the mixed order mesh is exported or

uniformly elevated to the desired degree.

6

Introduction

slide-8
SLIDE 8

Geometry Access

  • Geometry access for elevating and smoothing is provided

through the MeshLink API*.

  • MeshLink is a library for managing geometry and mesh data

and provides a simple interface to query functions pertinent to mesh generation and mesh adaptation applications.

  • At the completion of the creation of the linear mesh in Pointwise

three files are exported.

  • CGNS mesh file.
  • NMB CAD geometry file.
  • MeshLink XML file that defines the mesh to geometry associativity.
  • All projection queries during elevation and smoothing are

handled through the MeshLink API.

7

*Computational Geometry Kernel Support, U. S. Air Force contract FA9101-18-P-0042, Topic AF181-015.

slide-9
SLIDE 9

Mesh Curving Process

slide-10
SLIDE 10

Mixed Order Curving

  • A bootstrapping approach is used to initialize a mixed order

mesh with increasing maximum element order, starting at degree 2 and ending at a possible maximum degree 4.

  • The polynomial degree of an element is indicated using Q1

through Q4 nomenclature.

  • High-order nodes are evenly distributed through the elements

using Lagrangian basis functions (CGNS indexing).

  • Shape conformity at interfaces between elements of different
  • rder is imposed during smoothing and before export.

9

Q1-Linear Q2-Quadratic Q3-Cubic Q4-Quartic

slide-11
SLIDE 11
  • Surface elements are tested for deviation from

the geometry at 6th order quadrature locations.

  • If the perturbation exceeds a fraction (~5%) of

the minimum edge length of the adjacent volume element the surface and volume element are elevated to the next higher order.

  • Surface element edges are also tested for

deviation.

10

Surface Element Deviation Metric

6th order Gauss points

slide-12
SLIDE 12
  • At interfaces between elements of different order the

nodes are not shared. Gaps exist.

  • During smoothing the higher order shape is imposed
  • n the lower order element face. Otherwise, the

smoothing will force the element to revert back to the linear shape.

11

Volume Element Deviation

Physical Mesh Computational Mesh

slide-13
SLIDE 13
  • After all smoothing is completed the lower order shape is

imposed on the higher order element face. All gaps are effectively eliminated.

  • The flow solver needs to similarly enforce the solution from the

lower order element on the higher order element face (constrained approximation).

12

Volume Element Deviation

slide-14
SLIDE 14

Results

slide-15
SLIDE 15
  • The linear hybrid mesh contained prisms extruded from the

hemisphere and tetrahedra in the volume.

  • 4,290 linear nodes, 5,402 tetrahedra and 5,504 prisms.

14

Hemisphere on Flat Plate

slide-16
SLIDE 16
  • A linear mesh for the Onera M6 wing was

generated in Pointwise with 37,813 nodes.

  • The hybrid version contains 65,015

tetrahedra, 976 pyramids, and 50,043 prisms.

  • A tetrahedra-only version contains 217,100

tetrahedra.

15

Onera M6

slide-17
SLIDE 17

16

Onera M6

Wing Tip Trailing Edge Cut Hybrid Tet-Only

slide-18
SLIDE 18

17

Onera M6

Wing Tip Spanwise Cut Hybrid Tet-Only

slide-19
SLIDE 19
  • The linear mesh 16,340 points and 96,694
  • tetrahedra. Final mesh 182,136 points.
  • The linear mesh has a maximum element aspect

ratio of 1454. The initial spacing off the surface is 0.0001.

18

Weeble Wobble

slide-20
SLIDE 20
  • Q1-Q4 mesh

19

Weeble Wobble

slide-21
SLIDE 21
  • Middle section has concave and convex

curvature.

  • Top and bottom has convex curvature.

20

Weeble Wobble

Linear mesh Curved surface element

slide-22
SLIDE 22
  • Hybrid mesh with tetrahedra, pyramid,

prisms and hexahedra.

  • High warp values on the surface ~30

degrees.

21

Weeble Wobble

slide-23
SLIDE 23
  • The linear mesh contained 611,924 points,

308,265 tetrahedra, 104,200 pyramids, 10661 prisms and 509,738 hexahedra.

  • Final mesh has 1,242,681 points.

22

Generic Intake Port

slide-24
SLIDE 24
  • The final quadratic (yellow) element counts were 149

tetrahedra, 209 pyramids, 1506 prisms and 80,838 hexahedra.

23

Generic Intake Port

slide-25
SLIDE 25

Conclusions

slide-26
SLIDE 26

Conclusions

  • A method for creating curved, mixed-
  • rder meshes has been presented.
  • Geometry access provided through MeshLink API.
  • Optimization-based smoothing used to curve the

meshes.

  • Deviation metric used to indicate when elevation is

needed.

  • Shape conformity imposed at interfaces between

elements of different order.

  • Hybrid meshes with element order up to Q4 possible.
  • Several example cases demonstrated the

capability to handle highly clustered, viscous meshes.

  • These mixed-order meshes will be available in a

future release of Pointwise.

25

slide-27
SLIDE 27

Acknowledgements

  • The author was supported by a NASA Phase

II SBIR, “High Order Mesh Curving and Geometry Access”, 80NSSC18C0109.

  • Read the paper “Mixed-Order Curving for

Hybrid Meshes” Steve L. Karman, AIAA-2019- 3317.

  • Watch a demonstration to see how Pointwise

creates HO grids: https://ptwi.se/2CB9Ly1

26

slide-28
SLIDE 28

THANK YOU!

john@cfd-technologies.co.uk

27