47
Overset Grids in STAR-CCM+: Methodology, Applications and Future Developments Eberhard Schreck and Milovan Perić CD-adapco

Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

  • Upload
    lekiet

  • View
    222

  • Download
    1

Embed Size (px)

Citation preview

Page 1: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Overset Grids in STAR-CCM+:

Methodology, Applications and

Future Developments

Eberhard Schreck and Milovan Perić

CD-adapco

Page 2: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

• Overset grids:

History

Advantages and challenges

• Overset grids in STAR-CCM+:

Methodology

User interface

Tips and tricks

• Examples of application

• Future developments

Introduction

Page 3: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

• Overset grids were used already 30 years ago…

• The main motivation has been to use multiple regular grid

blocks to handle complex geometry…

• In October 2012, the 11th Overset Grid Symposium was

held in Dayton (most presentations available at Symp. Website):

The multi-block approach still dominating (tens to hundreds

of grid blocks, up to 10% of grid points involved in

interpolation…);

Unstructured grids being used by few groups, resulting in a

smaller number of grid blocks;

Different numerics, grid coupling (interpolation) and hole-

cutting algorithms – same problems (“orphan” nodes)…

Overset Grids History

Page 4: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

• Easier to perform and automate parametric studies:

– With a single set of grids, many different configurations can

be computed;

– Grid quality not affected by changing position/orientation of

bodies;

– Boundary conditions easier to set…

• Easier to handle relative motion of bodies:

– Arbitrary motion can be handled;

– Paths can cross;

– Tangential motion at close proximity can be handled…

Advantages of Overset Grids

Page 5: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

• Complex logic and coding is required for an automatic

handling of arbitrary body motion and multiple overset

grids…

• Situations can arise where coupling of predefined overset

grids is not possible (“orphan” cells…)…

• Parallelization and load balancing are challenging…

Challenges with Overset Grids

Page 6: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Control volumes are labelled as:

Active cells, or

Passive cells.

In active cells, regular discretized equations are solved.

In passive cells, no equation is solved – they are temporarily or permanently de-activated.

Active cells along interface to passive cells refer to donor cells at another grid instead of the passive neighbours on the same grid...

The first layer of passive cells next to active cells are called acceptor cells...

Overset Grids Method in STAR-CCM+, I

Page 7: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Currently, triangular (2D) or tetrahedral (3D) interpolation elements are used, with either distance-weighted or linear interpolation... Other (higher-order) interpolations will come…

Background

grid

Overset

grid

N1, N2, N3 –

Neighbors from

the same grid;

N4, N5, N6 –

Neighbors from

the overlapping

grid.

Overset Grids Method in STAR-CCM+, II

Page 8: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Overset Grids Method in STAR-CCM+, III

No explicit interpolation of solution is performed…

Solution is computed on all grids simultaneously – grids are implicitly coupled through the linear equation system matrix...

Page 9: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Different interpolation functions can be used to express values at acceptor cells via values at donor cells (different interpolation elements)…

Donor cells must be active cells.

The change of cell status is controlled by the solver and happens automatically.

The user can visualize the cell status as a scalar field (this can help in case of problems – mostly due to inadequate grids)...

Interpolation elements are

not unique – when grids move,

continuity is important…

Overset Grids Method in STAR-CCM+, IV

Page 10: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Overset grids usually involve:

One background mesh, adapted to environment;

One or more overset grids attached to bodies, overlapping

the background mesh and/or each other.

Each grid represents a separate Region in STAR-CCM+

terminology...

Both background and overset mesh(es) can be

generated (or imported) in the usual way, region by

region…

Overset Grids Method in STAR-CCM+, V

Page 11: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Each grid (background and overset) can move according

to one of the standard motion models available in STAR-

CCM+…

Each grid can also deform (e.g. in a coupled fluid-

structure interaction simulation) using any available

morphing technique…

Overset grids can fall out of solution domain (cut-out by

boundary surface).

Overset grids can overlap each other.

Overset Grids Method in STAR-CCM+, VI

Page 12: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Working with Overset Grids, I

• STAR-CCM+ infrastructure for interfaces has been extended – overset grids are another type of volume interface…

• New intersector-module was added to STAR-CCM+ to handle:

Cell status (“hole-cutting” algorithms);

Searching for donors to each acceptor cell;

Definition of interpolation factors, etc…

• The solver is almost unaffected – almost all models can be used (coupled and segregated solver, VOF, Lagrangian and Eulerian multiphase flows etc.)…

Page 13: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Working with Overset Grids, II

• No compromises on usability:

Any grid type can be used;

Most physics models can be applied;

All motion models can be used;

Processing pipeline (meshing, solving, analysing) is unaffected;

Only two additional set-up steps:

• New region interface (with interface options)

• New boundary condition

Page 14: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Working with Overset Grids, III

Background

region

Overset

region

Overset interface

for regions “Background”

and “Over”

Set-up of overset grid computation of flow around

a pitching foil in a channel: one background grid for

the channel and one overset grid for the region

around foil.

Page 15: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Background

region

Overset

region

Overset

boundary

Overset grid surface has boundary type

“OversetMesh”

Front and back planes are symmetry planes.

The overset region has one boundary that is fully

submerged within background region...

Working with Overset Grids, IV

Page 16: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

“Volume Mesh Representation” includes active cells – used to plot results...

Working with Overset Grids, V

Active cells in overset grid Active cells in background grid

Page 17: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Acceptor cells (value “-2”)

Active cells (value “0”)

Passive cells (value “1”)

Checking “Overlap Cell Status” (scalar field): acceptor cells must

separate active and passive cells – direct contact is not allowed...

Background

Working with Overset Grids, VI

Page 18: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Acceptor cells (value “-2”)

Active cells (value “0”)

Checking “Overlap Cell Status” (scalar field): the

overset grid here contains only active and acceptor cells...

Working with Overset Grids, VII

Over

Page 19: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

In the overlapping zone, cells should be of comparable size in both meshes (recommendation):

Interpolation errors in the coupling equation should be of the same order as when computing convective and diffusive fluxes (interpolation over half a cell);

The coarser of the two coupled meshes determines the error level…

Between two body walls, at least 4 cells on both background and overset grid are needed to couple them (requirement).

The overset grid should not move more than one cell per time step in the overlapping zone (recommendation).

Tips and Tricks…

Page 20: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Visualization - Isolines

Pressure contours with lines: small imperfections (two lines visible

within overlap zone) visible only at few locations – most contours

are almost perfectly continuous (grid from previous slides)

Page 21: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Convergence of Iterations

Residuals history for a laminar flow around an object…

Implicit coupling of grids allows convergence to round-

off level of residuals…

Page 22: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Overlap of Overset Regions

Example of overset grids overlapping each other.

Page 23: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Overset + Morphing, FSI

Example of combination of overset grids and morphing when

simulating large deformation of structures.

Page 24: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Overset-Lagrangian

Example of overset grids

in combination with

Lagrangian multiphase

flow model (overset grids

move and fall partly

outside solution domain;

particles are not affected

by internal grid motion).

Page 25: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

• Parametric studies (varying angle of attack)

• Bodies moving relative to each other

• Engineering problems that can be solved with overset

grids easier than otherwise…

Examples of Application

Page 26: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Flow around a body at

different angles of attack

A horizontal section through

both grids (only active cells

are shown).

Total number of cells:

ca. 1 million

Vertical section through the

two grids (only active cells

are shown).

Same grids and boundary

conditions – many

positions (easy to

automate).

Application to Parametric Studies, I

Page 27: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Velocity distribution in a section

parallel to bottom wall for different

angles of attack

30°

-30° -15°

0° 15°

Application to Parametric Studies, II

Page 28: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Residual history from the computation of flow around a vehicle in a wind

tunnel at different angles of attack: time step 1000 s, rotation 15° per time

step, standard k-ε turbulence model, under-relaxation 0.9/0.1/0.9 for

velocities/pressure/turbulence, wind speed 40 m/s…

Application to Parametric Studies, III

Page 29: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

History of computed forces from the computation of flow around

a vehicle in a wind tunnel at different angles of attack (since the

time step is very large, steady-state solutions are obtained).

Application to Parametric Studies, IV

Page 30: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Simulation of motion of a

container ship in Stokes

waves propagating from

right to left: initial vessel

orientation 30° (upper) and -

30° (lower) relative to the

direction of wave

propagation.

Single set of grids, same

boundary conditions,

different vessel orientations

– easy to automate…

Application to Parametric Studies, V

Page 31: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Simulation of Lifeboat Launching

Wave propagates from

left to right

Wave propagates from

right to left

Overset grids allow

simulation of launching

of various devices

(lifeboats, missiles

etc.).

Page 32: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Simulation of Store Separation

Page 33: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Simulation of Missile Launching

Ma

ch

Nu

mb

er

/ S

urf

ac

e T

em

pera

ture

Tem

pera

ture

Simulation of missile launch using DFBI (1 DoF)

and overset grids (small gaps…)

Page 34: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Vessels With Crossing Paths

Overset grids allow simulation of relative motion of bodies whose

paths are crossing (neither sliding nor morphing are applicable)…

Page 35: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Overtaking Cars

Overset grids allow simulation of passing by, overtake, tunnel entry

and other interaction problems with any vehicle type…

Page 36: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Overturning Car

Overset grids allow simulation of vehicle dynamics during motion

on a curved path (virtual “elk-test”)

Page 37: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Windscreen Wipers

Overset grids allow simulation of wiper action on a windscreen

(VoF, locally fine grid around wipers, intersecting paths, FSI…)

Page 38: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Simulation of Flow in a Mixer, I

Overset grids allow simulation of mixing processes in arbitrarily

shaped vessels with any shape and motion of mixing parts…

Page 39: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Simulation of Flow in a Mixer, II

Page 40: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Injector Needle Motion, I

Overset grids allow easier simulation of processes in fuel injectors and

similar devices (axial motion, vibration, deformation, VoF, cavitation…)

Page 41: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Injector Needle Motion, II

Pressure

Volume fraction

of liquid (three

phases involved:

liquid, vapor, air),

simulation of

cavitation…

Page 42: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Fluid-Structure Interaction: Ball Valve

Coupled simulation of flow (STAR-CCM+) and motion of a ball valve

(ABAQUS) using overset grids (for details see Alan Mueller’s pres.)

Page 43: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Simulation of Pouring

• Pouring optimization:

Reduce misruns;

Increase yield (skull reduction);

Use STAR-CCM+ to find optimized pouring curve (CD-adapco/

Access);

Variation in rotational speed, pouring hight and position …

Page 44: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Coating by Dipping

Simulation by CD-adapco

Overset grids allow simulation of coating by dipping bodies into

paint bath (arbitrary body motion, VoF, e-coat model for paint layer

growth, forces on body parts, trapped air and liquid pockets…)…

Page 45: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Coating by Spray

Simulation by CD-adapco

Overset grids allow simulation of coating by moving spray heads

(fast spinning nozzles with arbitrary translation and rotation,

electrically charged spray droplets, liquid film on car surface…)

Page 46: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

The most important future developments include:

– Implementation of higher-order interpolation;

– Optimization of parallel processing;

– Modelling of contact (valves, impact…);

– Automatic mesh adaptation to fulfil requirements of

overset grids (avoid failures due to inadequate grids in

the overlapping zone):

• Minimum number of cell layers in gaps;

• Similar cell size in overlapping zone;

• Refining the background grid ahead and coarsening

behind a moving body.

Future Developments

Page 47: Overset Grids in STAR-CCM+: Methodology, …mdx2.plm.automation.siemens.com/sites/default/files/Presentation/1... · Currently, triangular (2D) or tetrahedral (3D) interpolation

Simulation of Pouring, II

Thank you for your attention!