Sunteți pe pagina 1din 23

Fluent User Services Center www.fluentusers.

com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Introduction to the Size Function

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Outline
u u u u u

Comparison of Boundary Layer with Size Functions Fixed Size Function and Example Curvature Size Function and Example Proximity Size Function and Example Combining Boundary Layers and Size Function

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Existing Meshing Tools

Edge, Face and Volume Meshing Boundary Layer Size Function


New in GAMBIT 2.x
3 Fluent Inc. 8/21/02

Meshing Tools

Desired size and quality

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Comparison of Boundary layers and Size functions


u

Common Features: Both control the mesh characteristics in the proximity of the entities to which they are attached. Different Features: Feature Controls Transition pattern (1:1, 4:2, 3:1,) Controls growth rate in a Controls angle between normals for adjacent mesh elements Controls number of elements in small gaps Boundary Layer yes Small number of rows no no Size Function no Specified distance yes yes

Note: Boundary layers and Size functions may be combined.


4 Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

How do I Create a Size Function?


1. On the Operation Toolbar, select the Tools Command Button

2. On the Tools Toolbar, select the Size Function Button 3. On the Size Function Toolbar, select the Create Size Function Button

Modify Initialize Summarize Delete


5 Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

When can the Size function be used?


u u

The Size function may be used with either 2-d or 3-d models. In mapped or submapped meshes, the user typically has some control over the final number of elements so Size functions are more common in
l l

2-d quad paved or tri paved 3-d: tet or hybrid

2-d: quad paved


6

3-d: tet
Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Size Function Specification


u u u

Type Entities Parameters

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Size Function Types


u u u

Fixed Curvature Proximity

This volume contains two size functions: Curvature and Proximity


8 Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Size Function Entities


u

Source: The source entity defines the center of the region in which the size function applies
l l l l

Volumes Faces Edges Vertices

Attachment: The attachment entity is the entity for which the mesh is to be affected by the size function.
l l l

Volumes Faces Edges

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Specifying the Source Entity

Source: Vertices

Source: Edges

Source: Faces

10

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Fixed Size Function: Definition


u

Specifies the maximum mesh element edge length as a function of distance from a given source entity

Without a size function


11

With a Fixed Size Function


Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Fixed Size Function: Parameters


Start size: Specifies the desired edge length for all mesh elements immediately adjacent to the Source entity. u Growth rate : Specifies the growth rate for the size function (>1). u Distance: Specifies a maximum distance from the Source entity to the outer boundary that defines the region within which the size function applies. NOTE: GAMBIT 2.1: The Distance will not be one of the parameters. The default value will be chosen by GAMBIT (greatest dimension in the face or volume). u Size limit: Specifies a maximum size for a mesh element
u

12

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Fixed Size Function Example 1: Square Face with a Circular Hole


Create a fixed Size function attached to the circular edge.

Mesh face with tri elements.

13

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Curvature Size Function: Definition


u

Specifies the maximum angle between normals for adjacent mesh elements

Denser mesh where face is more highly curved Without Size Function With Curvature Size Function

14

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Curvature Size Function: Parameters


Angle: Specifies the maximum allowable angle (q) between outward pointing normals for any two adjacent mesh elements
u

Other parameters similar to those for Fixed type

15

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Curvature Size Function Example 2: Elliptical Cylinder


Create a curvature Size function attached to the lateral surface of the ellipsoid.

Mesh the volume with tets

16

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Proximity Size Function Definition: 2-D and 3-D


Specifies number of layers of mesh element to be located in gaps defined by the source entities
u

Specified number of elements in face gap

Without size function


17

With Proximity size function


Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Proximity Size Function: 2-D


One source face

A minimum of 3 elements span the source face. Cells/Gap = 3 Less than 3 elements span the volume.

18

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Proximity Size Function: 3-D

Two source faces

A minimum of 3 elements between the two source faces. Cells/Gap = 3


19 Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Proximity Size Function: Parameters


Cells/gap: Specifies the number of layers of mesh elements to be located in gaps defined by the source entities u Other parameters similar to those for Fixed type
u

20

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Proximity Size Function Example 3: Brick with Two Small Gaps

Create a Proximity size function in the two gaps: 2-D Proximity in the Face gap 3-D Proximity in the Volume gap

Mesh the volume with tets

21

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Combining Boundary Layers and Size Functions Example 4: Brick with an Elliptical Void

Create a Prism Boundary Layer attached to the lateral face of the Ellipsoid Create a Curvature Size Function attached to the three faces of the Ellipsoid Mesh the volume with tets

22

Fluent Inc. 8/21/02

Fluent User Services Center www.fluentusers.com

Intermediate GAMBIT Training GAMBIT v2.0 August 2002

Tutorials
u

For more practice with size functions, please download and work through the accompanying tutorial: Introduction to the Size Function (size-functions.pdf).

23

Fluent Inc. 8/21/02

S-ar putea să vă placă și