Sei sulla pagina 1di 33

Chapter 7

Adaptive Meshing

Introduction to
ANSYS Polyflow

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-1 June 2010
Introduction to POLYFLOW training

Training Manual

Contents

Principle

T-Grid
T G id
Element subdivision

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-2 June 2010
Introduction to POLYFLOW training

Training Manual

Contents
Principle
Procedure
T-Grid
Element subdivision
Additional ingredients
g
T-Grid
Element subdivision
For flows in fixed domains and MST

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-3 June 2010
Introduction to POLYFLOW training

Training Manual

Purpose:

Refinement where it is necessary (independent of the sub-domains)

Reduction of the CPU time via a distribution of the element size

Procedure

selection of elements to remesh, based on criteria


specified on domains, zones, borders
quality of element
size of element
variation of fields in an element

remeshing applied on the selected elements


Element subdivision
T-Grid

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-4 June 2010
Introduction to POLYFLOW training

Training Manual

Adaptive Meshing triggering

Each N(time)step (user specified), remeshing if

Quality < Tquality (user specified)


Size < 0.5 * POLYDATA Size (user specified)
Size > 2 * POLYDATA Size (user specified)

Hierarchy between sizing function(s), Time-dependence of the size and


adaptive
d ti meshinghi for
f contact:
t t
Selection of the smallest size among all criteria on each element
If no sizing function, local size

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-5 June 2010
Introduction to POLYFLOW training

Training Manual

Principle

T-Grid
transform all elements in tris or tets,
used
d ffor 2D,
2D 3D cases iinvolving
l i ffree surface
f ((possible
ibl with
ith
contact)
Element subdivision
2D or 3D
subdivides quads in 4 sub-quads
subdivides bricks into 8 sub-bricks
hierarchical subdivision

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-6 June 2010
Introduction to POLYFLOW training

Training Manual

Additional ingredients
For steady and transient cases
Frequency of adaptive meshing:
adaptive
d ti meshing
hi is
i equivalent
i l t tot a restart
t t
time-step control is reactivated after the 3rd step
T-Grid: once every four steps, at least toenable possible time-step increase
Subdivision: the type of flow calculation may require more frequent remeshing
(MST, etc.)
possibly checking tools for element deformation (T-Grid only)
Compatible with
elastic remeshing
full Lagrangian remeshing
Thompson remeshing

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-7 June 2010
Introduction to POLYFLOW training

Training Manual

Principle
T-Grid
Application
Definition
Adaptive meshing for remeshing
Adaptive meshing for contact
Tricks/Tips

Element subdivision

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-8 June 2010
Introduction to POLYFLOW training
T-Grid Training Manual

Applications
2D - 3D cases
with free surface
possiblyy with contact
steady state - time-dependent

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-9 June 2010
Introduction to POLYFLOW training
T-Grid Training Manual

Definition

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-10 June 2010
Introduction to POLYFLOW training

Training Manual

I iti l msh
Initial h
Step1
POLYFLOW simulation with a deforming mesh
Results : velocity,
y Results : new
pressure, coordinates of the Results
temperature, ... deformed msh files

Step2
ue Adaptive : criteria

Generation of a new mesh with TGrid


Techniqu
Adaptive
e

adapt.msh

Adaptive : Interpolation of the fields

POLYFLOW simulation with a deforming mesh Results


fil
files

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-11 June 2010
Introduction to POLYFLOW training
T-Grid Training Manual

Adaptive meshing

for contact
criterion based on mould curvature

for remeshing
criteria on element size
in zones

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-12 June 2010
Introduction to POLYFLOW training
T-Grid Training Manual

Adaptive meshing for contact


Allows coping with local mould curvature

Calculated with
d 2
new size = max Sizemin, (A.r + C ) 1 +
B
d is a distance to the mould
B is a reference distance
typically, B = 2
2*Size
Sizemin
r is a local curvature radius of the mould
A is a size coefficient
typically, 2.A.rmin = Sizemin

Size

2Ar
Ar
d
B
ANSYS, Inc. Proprietary Release 12.1
2010 ANSYS, Inc. All rights reserved. 7-13 June 2010
Introduction to POLYFLOW training

Training Manual

t = 0s
t=0
0.3s
3
t = 0.75s

POLYFLOW automatically refines the


t = 0.5s mesh to adjust it to the mold curvature
t = 1s

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-14 June 2010
Introduction to POLYFLOW training
T-Grid Training Manual

Adaptive meshing for remeshing


Define global criteria or local criteria for local remeshing
element size [units !]
quality [0=poor, 1=equilateral, > 0.85 in 2D, > 0.5 in 3D]

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-15 June 2010
Introduction to POLYFLOW training
T-Grid Training Manual

Adaptive meshing for remeshing


Define criteria on zones
Box - Circle - Border
Element Size

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-16 June 2010
Introduction to POLYFLOW training

Training Manual

Xmin Xmax

Size = 1
Box Ymax
2D: Xmin, Xmax, Ymin, Ymax
3D: Xmin
Xmin, Xmax
Xmax, Ymin
Size = 0
0.2
2

Ymin, Ymax,
Zmin, Zmax

Ci l /S h
Circle/Sphere Size = 1
z 2D, center (X,Y) and diameter
z 3D, center (X,Y,Z) and diameter
Size = 0.2

Along boundaries
z Criteria based on the curvature of the
boundary
z Parameters: Size_min, A, B,C
z If A=0 -> independent of the curvature
d 2 Size = 1
S new min ( A * r + C )* 1 +
= max Size min,
B
Size = 0.2

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-17 June 2010
Introduction to POLYFLOW training

Training Manual

Sizing function along boundaries


The parameter A is the curvature proportionality coefficient
A is proportional to the size of the elements along the boundary
Estimation for A : A = Sizemin / 2*r (r = radius of curvature)

A/2

Size along Number of


Number of
boundaries is elements
e e e ts = 3,686
elements = 1,318
1 318
divided by 2

Depth of the zone B

B*2

B B
Number of Number of
elements = 1,318 elements = 2,952

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-18 June 2010
Introduction to POLYFLOW training

Training Manual

T-Grid
T i k /Ti
Tricks/Tips
Choice of parameters
Global criteria affect the whole remeshing domain
Local criteria are applied on local remeshing domains
Quality control 0.5 in 3D, 0.85 in 2D
Not more than once every fourth time step
Sequence:
adaptive meshing for remeshing
adaptive meshing for contact (if any)
Compatible with Elasticity, Lagrangian, Thompson

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-19 June 2010
Introduction to POLYFLOW training
Contents Training Manual

Principle
T-Grid
Element subdivision
Application
Definition
Ad ti meshing
Adaptive hi for
f remeshing
hi
Adaptive meshing for contact
Tricks/Tips

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-20 June 2010
Introduction to POLYFLOW training
Element subdivision Training Manual

Applications
2D shell with contact
2D - 3D cases with MST
Flows in fixed domains
Steady state and time-dependent flows

Criteria
2D shell : based on g
geometryy ((mould curvature))
MST : Inside field
Flows in fixed domains : field variation
velocity,
velocity pressure,
pressure temperature,
temperature species,
species etc.
etc

Dichotomic subdivision

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-21 June 2010
Introduction to POLYFLOW training
Element subdivision Training Manual

Definition

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-22 June 2010
Introduction to POLYFLOW training
Element subdivision Training Manual

Adaptive meshing for remeshing


Define global criteria or local criteria for local remeshing
element size [units !]
quality [0=poor, 1=equilateral, > 0.8 in 2D, > 0.5 in 3D]

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-23 June 2010
Introduction to POLYFLOW training
Element subdivision Training Manual

Adaptive meshing for contact


z Allows coping with local mould curvature
z Calculated with
d 2
new size = max Sizemin, (A.r + C ) 1 +
B
d is a distance to the mould

B is a reference distance

typically, B = 2*Sizemin
r is a local curvature radius of the mould
A iss a ssize
e coe
coefficient
ce t
typically, 2.A.rmin = Sizemin

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-24 June 2010
Introduction to POLYFLOW training
Element subdivision Training Manual

Represent the geometric details (having a certain curvature) with a user


specified minimum size (for C=0)
The user controls what really matters to him.
Start to refine the mesh at a certain (user specified) distance to the mold (not
before)
Efficient usage of CPU time

d2
S new = max A r1 + 2 , S min
B

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-25 June 2010
Introduction to POLYFLOW training
Element subdivision Training Manual

An example
Blister thermoforming

1 2 3 subdivisions
subdivision subdivisions
ANSYS, Inc. Proprietary Release 12.1
2010 ANSYS, Inc. All rights reserved. 7-26 June 2010
Introduction to POLYFLOW training
Element subdivision Training Manual

Adaptive meshing for moving part


Define global criteria or local criteria for local remeshing
S_up S_down element size [units !]
quality [0=very bad,
bad 1=equilateral,
1=equilateral > 0.8
0 8 in 2D,
2D > 0.5
0 5 in 3D]
the time step is controlled by the user

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-27 June 2010
Introduction to POLYFLOW training

Training Manual

Element subdivision

Example
E l : mixer-2D
i 2D Fluid domain colored
with local shear rate

Cams as MST moving part


ANSYS, Inc. Proprietary Release 12.1
2010 ANSYS, Inc. All rights reserved. 7-28 June 2010
Introduction to POLYFLOW training

Training Manual

Element subdivision

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-29 June 2010
Introduction to POLYFLOW training

Training Manual

Element subdivision

Adaptive meshing for large variations of fields


Criteria are defined on fields to select, for refinement
Available fields:
velocity, velocity components
Temperature
I and II invariants of extra-stress tensor
species (transport variable)
Define global criteria or local criteria for local remeshing
S_up S_down element size [units !]
number of sub-division:
number sub division: 2 3
not more than once every fourth step

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-30 June 2010
Introduction to POLYFLOW training

Training Manual

Element subdivision

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-31 June 2010
Introduction to POLYFLOW training
Element subdivision Training Manual

An example : Distributor

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-32 June 2010
Introduction to POLYFLOW training

Training Manual

Element subdivision
Tricks/Tips
Choice of parameters
Global criteria should not be too severe:
affect the whole remeshing domain thus all local
remeshing domains
Local criteria can be locally severe
Quality control 0.5 in 3D, 0.8 in 2D and shell
Not more than once every fourth time step
Number N of subdivision: 2 3;
CPU time grows as 4N (2D) and 8N (3D) !
Sequence (for element subdivision):
adaptive meshing for contact (if any)
adaptive meshing for remeshing
Compatible
Co pa b e with Elasticity,
as c y, Lagrangian,
ag a g a , Thompson
o pso

ANSYS, Inc. Proprietary Release 12.1


2010 ANSYS, Inc. All rights reserved. 7-33 June 2010

Potrebbero piacerti anche