Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf ·...

29
[email protected] | Tel: +44 (0)20 32393041 | Fax: +44 (0)20 33573123 | www.engys.com Pushing the Boundaries of CFD with Francisco J. Campos VINAS User Conference 2016 ®

Transcript of Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf ·...

Page 1: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

[email protected] | Tel: +44 (0)20 32393041 | Fax: +44 (0)20 33573123 | www.engys.com

Pushing the Boundaries ofCFD with

Francisco J. CamposVINAS User Conference 2016

®

Page 2: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Contents• About ENGYS• What is HELYX?• Beyond OpenFOAM HELYX-Mesh HELYX-GIB

• Conclusions

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 3: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Company | Overview• CAE products and services• Founded in the UK (2009)• Leverage open-source solutions • FOAM/OpenFOAM developers since 1999• Solution platforms: CFD → HELYX® / ELEMENTS / HELYX-OS MDO → HELYX-Adjoint / DAKOTA

• 6 offices worldwide UK, Germany, Italy, USA, Australia, RSA

• Well established resellers network Japan, Benelux, Korea, China, USA

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 4: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Contents• About ENGYS• What is HELYX?• Beyond OpenFOAM HELYX-Mesh HELYX-GIB

• Conclusions

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 5: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

What is ?

• General purpose CFD software suite• Enterprise product professional quality + open-source• In production since 2010

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 6: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Core• ENGYS’ own open-source CFD

simulation engine • HELYX-Core vs. OpenFOAM 2000+ files modified bug fixes and enhancements 400+ new files new methods and solvers

• Primary development goal improve user experience and solver quality Ease of Use Application specific capability Meshing quality Accuracy, Robustness & Speed

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 7: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Contents• About ENGYS• What is HELYX?• Beyond OpenFOAM HELYX-Mesh GIB

• Conclusions

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 8: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Motivations• Generate high-quality CFD

meshes on complex geometries fully automatically and fast

• Improve upon known limitations in OpenFOAM’s snappyHexMesh: Eliminate near-wall layers collapse Non-iterative, one step layer insertion No boundary face merging Reduce 8:1 volume change at refinement interfaces Mesh optimisation to improve overall cell quality

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 9: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Internal Layers

Beyond OpenFOAM | MeshNew Meshing Approach | Methodology

© Copyright 2016 ENGYS Limited. All rights reserved.

Refinement

Cell Splitting

Snap to Surface

Add & Redistribute Near-wall Layers

Optimise

Dual Mesh Refinement

Optimise

Page 10: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Refinement

© Copyright 2016 ENGYS Limited. All rights reserved.

Internal Layers

Refinement

Cell Splitting

Snap to Surface

Add & Redistribute Near-wall Layers

Optimise

Dual Mesh

Optimise

Page 11: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Internal Layers

© Copyright 2016 ENGYS Limited. All rights reserved.

Internal Layers

Refinement

Cell Splitting

Snap to Surface

Add & Redistribute Near-wall Layers

Optimise

Dual Mesh

Optimise

Page 12: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Cell Splitting

© Copyright 2016 ENGYS Limited. All rights reserved.

Internal Layers

Refinement

Cell Splitting

Snap to Surface

Add & Redistribute Near-wall Layers

Optimise

Dual Mesh

Optimise

Page 13: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Dual Mesh

© Copyright 2016 ENGYS Limited. All rights reserved.

Internal Layers

Refinement

Cell Splitting

Snap to Surface

Add & Redistribute Near-wall Layers

Optimise

Dual Mesh

Optimise

Page 14: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Snapping

© Copyright 2016 ENGYS Limited. All rights reserved.

Internal Layers

Refinement

Cell Splitting

Snap to Surface

Add & Redistribute Near-wall Layers

Optimise

Dual Mesh

Optimise

Page 15: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Layers Addition

© Copyright 2016 ENGYS Limited. All rights reserved.

Internal Layers

Refinement

Cell Splitting

Snap to Surface

Add & Redistribute Near-wall Layers

Optimise

Dual Mesh

Optimise

Page 16: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Optimise Quality

© Copyright 2016 ENGYS Limited. All rights reserved.

• Optimise for Sphericity

• Constrain boundary nodes to slide on the surface

• Respect mesh feature edges

𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆𝑆 =6𝜋𝜋 𝑉𝑉𝑐𝑐

�1 3

1𝜋𝜋 𝑆𝑆𝑐𝑐

�1 2Sph = 1

Internal Layers

Refinement

Cell Splitting

Snap to Surface

Add & Redistribute Near-wall Layers

Optimise

Dual Mesh

Optimise

Page 17: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Examples• Francis99 Pump 5 million cells – 6 near-wall layers

© Copyright 2016 ENGYS Limited. All rights reserved.

Page 18: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | MeshNew Meshing Approach | Examples• DrivAer 37 million cells – 6 near-wall layers

© Copyright 2016 ENGYS Limited. All rights reserved.Geometry courtesy of TUM

Page 19: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Contents• About ENGYS• What is HELYX?• Beyond OpenFOAM HELYX-Mesh GIB

• Conclusions

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 20: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | GIBImmersed Boundaries (IB)• Traditional IB approach: Apply boundary condition at a virtual fluid-solid interface Resistance/porosity added to

“solid cells” in the matrix to block the velocity

• Lacks accuracy (especially in turbulent flow cases)

• In-situ IB primal results do not exactly match boundary fitted equivalent

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 21: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | GIBGeometric Immersed Boundaries (GIB)• New method proposed by ENGYS Perform snapping at the interface All quantities needed from FV updated

• Same accuracy as real boundaries• Work with every solver and

operation• Apply any boundary condition

using common interface• Cover both static and

dynamic applications

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 22: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | GIBGIB Implementation• 30 new classes added to OpenFOAM base code• Changes in >100 existing classes• OpenFoam libraries: polyMesh/patch to insert the GIB classes GeometricField macros to automate the operators GAMG agglomerator

• finiteVolume libraries: fv(s)PatchField, fvPatch

fvm, fvc operators

• Complete parallelisation© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 23: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | GIBStatic GIB | Stationary Cylinder• Body-fitted vs GIB cylinder results• Identical residuals-results

(machine accuracy)

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Body-Fitted

GIB

Page 24: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | GIBDynamic GIB | Moving Cylinder

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Body-Fitted

GIB

Page 25: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | GIBDynamic GIB | Cylinder Wall Collision

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Body-Fitted

GIB

Page 26: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Beyond OpenFOAM | GIBDynamic GIB | Pulsating Cylinder

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 27: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Contents• About ENGYS• What is HELYX?• Beyond OpenFOAM HELYX-Mesh GIB

• Conclusions

© Copyright 2016 ENGYS Limited. All rights reserved.OPENFOAM® is a trademark of OPENCFD (ESI Group).

Page 28: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Conclusions• Pushing the boundaries of CFD technology is at the very

core of what we do at ENGYS• OpenFOAM offers a good development platform for

advanced CFD solver applications• Deep knowledge of the OpenFOAM code is a necessity • Complexity is an issue• Quality assurance is an issue• Accountability is an issue• Is the use of OpenFOAM cost-effective in industry?• OpenFOAM open project, developer centric

HELYX enterprise-class product, user centric© Copyright 2016 ENGYS Limited. All rights reserved.

Page 29: Pushing the Boundaries of CFD with - ENGYSengys.com/20160920-engys-helyxdevelopments-day1.pdf · Pushing the Boundaries of CFD with ... GAMG agglomerator • finiteVolumelibraries:

Q & A

[email protected] | Tel: +44 (0)20 32393041 | Fax: +44 (0)20 33573123 | www.engys.com

© Copyright 2016 ENGYS Limited. All rights reserved.

どうもありがとう