Fluent Gambit_Tips and Tricks

Embed Size (px)

Citation preview

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    1/107

    Fluent Inc. 8/14/20131

    FluentSoftwareTraining

    UGM 2001

    2001 UGM Gambit: Tips & Tricks

    June 4, 2001

    Shyam Kishor

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    2/107

    Fluent Inc. 8/14/20132

    FluentSoftwareTraining

    UGM 2001

    Outline

    Data exchange with other CAD/CAE systems

    Clean-up and Construction strategies

    Useful Tips

    New Features of Gambit 2.0

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    3/107

    Fluent Inc. 8/14/20133

    FluentSoftwareTraining

    UGM 2001

    Data exchange with other CAD/CAE systems

    Direct options

    Standard-based options

    Importing meshes and faceted geometry CAD-to-Gambit flowchart summaries

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    4/107

    Fluent Inc. 8/14/20134

    FluentSoftwareTraining

    UGM 2001

    Direct Options - 1

    ACIS-based CAD programs:

    e.g., AutoCAD, Cadkey, TurboCad

    Can export ACIS files (.sat or .sab) which can be imported into Gambit.

    ACIS version compatibility

    Gambit typically employs recent ACIS rev. (ACIS 6.3 for Gambit 2.0) Gambit can import and export older versions of ACIS.

    Parasolid -based CAD programs:

    e.g., Unigraphics, SolidWorks, Solid Edge, PATRAN, ANSYS

    Can export Parasolid files (.x_t & .xmt_txt) which can be imported into Gambit

    Parasolid version compatibility Gambit can import and export most versions up through 11.1

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    5/107

    Fluent Inc. 8/14/20135

    FluentSoftwareTraining

    UGM 2001

    Direct Options - 2

    Direct (single-stage) translators for native CAD systems

    e.g., Pro-E/ACIS, Catia/ACIS

    Available from various vendors (see http://www.spatial.com for full listing)

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    6/107

    Fluent Inc. 8/14/20136

    FluentSoftwareTraining

    UGM 2001

    Standard - based Options

    Use of neutral file format to exchange data

    STEP

    IGES

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    7/107 Fluent Inc. 8/14/20137

    FluentSoftwareTraining

    UGM 2001

    Data exchange via STEP

    STEP (STandard for the Exchange of Product model data) :

    International standard that defines a neutral file format for the exchange of

    geometric, topologic, and annotation data.

    Most CAD programs include STEP export Pro/ENGINEER at no additional cost

    Most others as an add on

    Both STEP AP203 and STEP AP214 are supported by Gambit

    Better than IGES

    STEP supports solid models Creates real Gambit (ACIS) volumes after import.

    Topology/connectivity-related information is maintained

    STEP export

    Exports real geometry, including solid volumes

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    8/107 Fluent Inc. 8/14/20138

    FluentSoftwareTraining

    UGM 2001

    Data exchange via IGES

    IGES (Initial Graphics Exchange Specification) Files:

    Most CAD programs can export IGES files.

    Topology/connectivity information is lost when CAD programs export IGESsurface data only.

    Some CAD packages export IGES-solids as well as IGES-surfaces.

    I-DEAS and CADDS Topology/connectivity information maintained.

    Gambit provides two options for IGES import

    Spatial

    Creates real geometry

    Supports IGES-solids (MSBO)

    Native

    Creates virtual geometry for trimmed surfaces Supports surfaces only

    Use only as a fallback when Spatial translator fails

    IGES export

    Exports real geometry

    Supports IGES solids (MSBO)

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    9/107 Fluent Inc. 8/14/20139

    FluentSoftwareTraining

    UGM 2001

    STEP/Parasolid-to-Gambit Flowchart

    Real Geometry

    Geometry

    Import

    Check

    Geometry

    Okay?

    Connected?

    HealNo

    Yes

    No

    Yes

    Check

    Geometry

    Heal Connected?

    Use Virtual

    Geometry

    Better?

    Yes

    No

    No

    (undo)Yes

    STEP/

    Parasolid

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    10/107 Fluent Inc. 8/14/201310

    FluentSoftwareTraining

    UGM 2001

    IGES-to-Gambit Flowchart

    Real Geometry

    Spatial

    TranslatorIGES

    Native

    TranslatorOkay?

    Check

    Geometry

    Okay?

    Connected?

    HealNo

    Yes

    No

    Yes

    Check

    Geometry

    Heal Connected?

    Use Virtual

    Geometry

    Better?

    Yes

    No

    No

    (undo)Yes

    No

    Yes

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    11/107 Fluent Inc. 8/14/201311

    FluentSoftwareTraining

    UGM 2001

    Data exchange via Mesh/Faceted Geometry-1

    Import of mesh or faceted geometry files results in faceted geometry

    Supported Mesh Formats Faceted Geometry Formats

    FLUENT4 I-DEAS FTL

    FLUENT5 Optegra Visualizer TGRID STL

    FIDAP

    GAMBIT

    I-DEAS UNV (Universal format)

    ANSYS

    PLOT3D (Formatted)

    NASTRAN

    PATRAN

    HYPERMESH

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    12/107 Fluent Inc. 8/14/201312

    FluentSoftwareTraining

    UGM 2001

    Data exchange via Mesh/Faceted Geometry-2

    PLOT3D files with Iblanking and/or of binary type

    Use tfilter fe2ram from an operating system command prompt to first

    convert it to a Fluent/Fidap mesh file

    Import the resulting mesh in Gambit.

    Import of Mesh with hanging nodes is not supported

    Mesh Files

    Boundary types are not preserved during import.

    Generates faceted geometry from surface or volume mesh import.

    Use Virtual Geometry operations to work with entities.

    Convert virtual geometry to real if needed.

    Faceted Geometry Files

    Similar to mesh but defining triangles unsuitable for meshing

    STL lacks zone grouping

    Use Feature Angle to separate faces

    Works well for well-defined edges; otherwise use as last resort.

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    13/107 Fluent Inc. 8/14/201313

    FluentSoftwareTraining

    UGM 2001

    CAD-to-Gambit Flowchart Summaries

    In general, translation options listed in order of decreasing preference

    (left to right).

    Some options require third party translator software. Best translation path depends on quality of CAD data (model).

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    14/107 Fluent Inc. 8/14/201314

    FluentSoftwareTraining

    UGM 2001

    Pro/E-to-Gambit Flowchart

    Pro/Engineer

    Gambit

    Direct (STEP)Direct

    Translator

    STEP Optegra

    Visualizer

    Mesh STL

    (real geometry)

    (faceted geometry)

    IGES*

    *IGES native may produce

    virtual geometry

    ACIS

    Direct Integration of Pro/E with

    Gambit 2.0

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    15/107 Fluent Inc. 8/14/201315

    FluentSoftwareTraining

    UGM 2001

    Catia-to-Gambit Flowchart

    Catia

    Gambit

    IGES Solids(AIX only)

    Catia-ACIS

    Translator

    STEPIGES

    Surfaces*

    Mesh STL

    ACIS

    (real geometry)

    (faceted geometry)

    *IGES native may produce

    virtual geometry

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    16/107 Fluent Inc. 8/14/201316

    FluentSoftwareTraining

    UGM 2001

    I-DEAS-to-Gambit Flowchart

    I-DEAS

    Gambit

    IGES*

    MSBO

    STEPFaceted Part

    File (FTL)

    Mesh STL

    (real geometry)

    (faceted geometry)

    *IGES native may produce

    virtual geometry

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    17/107 Fluent Inc. 8/14/201317

    FluentSoftwareTraining

    UGM 2001

    Unigraphics-to-Gambit Flowchart

    Unigraphics

    Gambit

    STEPUnigraphics-

    ACIS Trans.

    Parasolid IGES* Mesh STL

    ACIS

    (real geometry)

    (faceted geometry)

    *IGES native may produce

    virtual geometry

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    18/107 Fluent Inc. 8/14/201318

    FluentSoftwareTraining

    UGM 2001

    SolidWorks-to-Gambit Flowchart

    SolidWorks

    Gambit

    STEP IGES* Mesh STL

    ACIS

    (real geometry)

    (faceted geometry)

    Direct ACIS

    Export

    Parasolid

    *IGES native may produce

    virtual geometry

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    19/107 Fluent Inc. 8/14/201319

    FluentSoftwareTraining

    UGM 2001

    CADDS-to-Gambit Flowchart

    CADDS

    Gambit

    IGES*CADDS-ACIS

    Translator

    STEP Mesh STL

    ACIS

    (real geometry)

    (faceted geometry)

    *IGES native may produce

    virtual geometry

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    20/107 Fluent Inc. 8/14/201320

    FluentSoftwareTraining

    UGM 2001

    Outline

    Data exchange with other CAD/CAE systems

    Clean-up and Construction strategies Useful Tips

    New Features of Gambit 2.0

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    21/107

    Fluent Inc. 8/14/201321

    FluentSoftwareTraining

    UGM 2001

    Typical Cleanup Procedure for Imported Data

    Delete unnecessary geometry

    Check validity of the geometry (visual + check commands)

    Correct invalid geometry (Healing and/or reconstruction)

    Check connectivity by color coding

    Eliminate short edges Check connectivity

    Create additional geometry and form volume

    Simplify/edit edges, faces, volumes

    Decompose volume, if necessary

    Mesh the geometry Plan ahead

    Some operations will not work with virtual geometry (booleans,sweeps except edges, revolves, certain splits)

    Postpone operations that create virtual entities.

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    22/107

    Fluent Inc. 8/14/201322

    FluentSoftwareTraining

    UGM 2001

    Check Real Geometry

    Checks for geometrical and topological inconsistencies.

    Topology problems must be fixed before

    meshing

    Geometry not C1, C2, G1or G2

    Indicates lack of parametric/geometric continuity

    Operations like real booleans, splits and sweeps may fail

    Use virtual splits as fallback

    Do not prevent meshing

    Fix real geometry problems by healing and/or by regenerating

    entities

    Fix topology and virtual/faceted geometry problems by deleting

    (hiding) and reconstructing entities

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    23/107

    Fluent Inc. 8/14/201323

    FluentSoftwareTraining

    UGM 2001

    Typical Cleanup Procedure for Imported Data

    Delete unnecessary geometry

    Check validity of the geometry (visual + check commands)

    Correct invalid geometry (Healing and/orreconstruction)

    Check connectivity by color coding

    Eliminate short edges

    Check connectivity

    Create additional geometry and form volume

    Simplify/edit edges, faces, volumes

    Decompose volume, if necessary Mesh the geometry

    Plan ahead

    Some operations will not work with virtual geometry (booleans,sweeps except edges, revolves, certain splits)

    Postpone operations that create virtual entities.

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    24/107

    Fluent Inc. 8/14/201324

    FluentSoftwareTraining

    UGM 2001

    Healing Real Geometry-1

    Healing is designed to detect and correct accuracy problems in ACIS models

    ACIS (geometry kernel of Gambit), a high precision modeler, needs allentities to satisfy stringent data integrity checks

    Geometry imported from other CAD systems often lacks the requiredaccuracy & precision due to:

    Inherent numerical limitations in the original CAD system

    Limitations of data transfer through neutral file formats

    Differences in tolerance settings between the original CAD system and Gambit

    Three phases of Healing process: Geometry simplification

    Stitching

    Geometry building

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    25/107

    Fluent Inc. 8/14/201325

    FluentSoftwareTraining

    UGM 2001

    Healing Real Geometry-2

    Geometry simplification

    Converts spline surfaces to corresponding analytic forms (e.g., planes,

    cylinders, circular cones etc.) wherever possible

    Results in a reduction of data size & speed improvements in geometricoperations.

    Geometry simplification tolerance

    With tighter tolerance, only spline surfaces which are exact analytic surfaces

    get simplified

    With relaxed tolerance, approximate analytic fits to spline surfaces areobtained. It may increase the gap between surfaces and healing in subsequent

    operations would be more difficult

    The default tolerance of 0.0001 should provide very good approximation in

    most cases

    For some cases, overall results may be better if simplification is disabled

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    26/107

    Fluent Inc. 8/14/201326

    FluentSoftwareTraining

    UGM 2001

    Healing Real Geometry-3

    Stitching Stitch together the loose faces.

    Similar to volume stitch but can handle the gaps and does some geometrycleaning on the stitched data to handle small edges occurring in the body.

    Main Characteristics :

    Handles varying gaps

    Resolves multiple vertices

    Handles small edges

    Split edges appropriately

    Ensure consistent face normals

    Stitching tolerances:

    Incremental stitching. Starts with minimum tolerance and increases in steps towards maximum

    tolerance

    Minimum tolerance must always be smaller than the length of the smallest edgein the model

    Maximum tolerance denotes the largest gap in the model.

    The result of stitching could give one or more acis volumes.

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    27/107

    Fluent Inc. 8/14/201327

    FluentSoftwareTraining

    UGM 2001

    Healing Real Geometry-4

    Stitching

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    28/107

    Fluent Inc. 8/14/201328

    FluentSoftwareTraining

    UGM 2001

    Healing Real Geometry-5

    Geometry Building

    Builds the geometry as necessary to correct the gaps & inaccuracies in

    the model.

    Improve precision of face, edge, and vertex data

    Recalculate the bad curves and points by recomputing intersections.

    Transversal Intersections :

    Gaps are filled by extending

    the adjoining surfaces and

    recomputing the intersection

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    29/107

    Fluent Inc. 8/14/201329

    FluentSoftwareTraining

    UGM 2001

    Healing Real Geometry-6

    Geometry Building

    Tangential Intersection of Analytic

    Surfaces :

    Surfaces are snapped to each other

    using linear transformations

    Tangential Intersection of SplineSurfaces:

    Correction via control points

    modification

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    30/107

    Fluent Inc. 8/14/201330

    FluentSoftwareTraining

    UGM 2001

    Typical Cleanup Procedure for Imported Data

    Delete unnecessary geometry

    Check validity of the geometry (visual + check commands)

    Correct invalid geometry (Healing and/or reconstruction)

    Check connectivity by color coding

    Eliminate short edges

    Check connectivity Create additional geometry and form volume

    Simplify/edit edges, faces, volumes

    Decompose volume, if necessary

    Mesh the geometry Plan ahead

    Some operations will not work with virtual geometry (booleans,sweeps except edges, revolves, certain splits)

    Postpone operations that create virtual entities.

    l S f i i

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    31/107

    Fluent Inc. 8/14/201331

    FluentSoftwareTraining

    UGM 2001

    Connecting edges provides connectivity between faces.

    This enables faces to be stitched together to form volume.

    Connect Edges

    New option to preserve first edge shape during virtual edgeconnect

    Typical Procedure:

    Specify Real and Virtual Connect

    Real connects attempted first.

    Specify initial Tolerance or Shortest Edge %

    Connect on all edges.

    Repeat above step with successively larger tolerances.

    Include T-junction option as final step. Invoking too early may result in very small edges.

    Force Connect remaining disconnected edges.

    Failure to stitch together volume will result in errormessage identifying problem edges.

    Fl S f T i i

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    32/107

    Fluent Inc. 8/14/201332

    FluentSoftwareTraining

    UGM 2001

    Connect Edges: Tolerances

    Tolerances used for connect should be much less than mesh size.

    Mesh within the tolerance region gets pushed back to edge.

    For faces separated by a large gap, create new face to fill the gap.

    For faces that overlap by large amount, split each face with the

    intruding edge and form new face in center.

    Tolerance used to connect edges to create two connected virtual

    faces.

    Faces overlapping Faces with gap Faces connected

    Fl t S ft T i i

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    33/107

    Fluent Inc. 8/14/201333

    FluentSoftwareTraining

    UGM 2001

    Connect Edges: T-Connect Option

    Using T-Connect Option with relatively low tolerance can generate

    unwanted small edges.

    Use Highlight Shortest Edge to check length before and after operation.

    Can pick which vertices are to be involved in edge splits in Vertex list

    box (default is all).

    Tolerance used to connect edges will account for small gaps but not the larger ones.

    Small edges formed as a result of improper use of T-Connect

    Option.

    Fl t S ft T i i

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    34/107

    Fluent Inc. 8/14/201334

    FluentSoftwareTraining

    UGM 2001

    Typical Cleanup Procedure for Imported Data

    Delete unnecessary geometry

    Check validity of the geometry (visual + check commands)

    Correct invalid geometry (Healing and/or reconstruction)

    Check connectivity by color coding

    Eliminate short edges Check connectivity

    Create additional geometry and form volume

    Simplify/edit edges, faces, volumes Decompose volume, if necessary

    Mesh the geometry Plan ahead

    Some operations will not work with virtual geometry (booleans,sweeps except edges, revolves, certain splits)

    Postpone operations that create virtual entities.

    Fluent Software Training

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    35/107

    Fluent Inc. 8/14/201335

    FluentSoftwareTraining

    UGM 2001

    Simplify/Edit faces

    Eliminate sliver faces

    Merge face with neighbor

    Avoid merging together connected faces that form a sharp angle (

    90).

    Merge remaining edges

    Eliminate sharp corners and angles

    Split the face to isolate the bad angle

    Merge the new face to an adjacent face

    Merge the edges

    Collapse versus merge

    Merge for similar faces and sliver faces

    Collapse for symmetry, blends, fillets, etc. (collapse adds extra layer of

    topological information)

    If tolerance is larger than element size, or if element size is smaller than

    faces that were merged/collapsed, meshing may fail on merged surfaces

    Fluent Software Training

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    36/107

    Fluent Inc. 8/14/201336

    FluentSoftwareTraining

    UGM 2001

    Virtual Cleanup During IGES Import

    Attempts virtual cleanup through automatedsequence of Connects/Merges.

    Merges edges based on length.

    Using merge tolerance.

    Merges edges based on angle.

    geometry.edge.VIRTUAL_MERGE_MIN_ANGLE

    Real connects of vertices, edges, faces.

    Virtual connects of vertices, edges, faces.

    Using connect tolerance.

    Edge connects with T-Option.

    If any changes are made, repeats Virtual connect ofedges, faces.

    Attempts volume-stitch-virtual.

    Can also be used after import

    Open the IGES Import form

    Clear the File Name field

    Click Virtual Cleanup checkbox

    Click Accept

    Fluent Software Training

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    37/107

    Fluent Inc. 8/14/201337

    FluentSoftwareTraining

    UGM 2001

    Outline

    Data exchange with other CAD/CAE systems

    Clean-up and Construction strategies

    Useful Tips

    New Features of Gambit 2.0

    Fluent Software Training

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    38/107

    Fluent Inc. 8/14/201338

    FluentSoftwareTraining

    UGM 2001

    Geometry Tips-1

    If a particular boolean/split operation fails to work

    Could be due to complexity/quality of the model or due to difficulty in

    finding imprints of connected entities

    Disconnect the face/volume with adjacent entities by copying it

    Delete the original face/volume

    Perform the boolean/split on the copied entity

    Connect them back before meshing

    Use alternative operations

    e.g., an alternative to a split is:

    Get intersection of tool and the target while retaining the target

    Subtract the result (intersection) from the target while retaining the

    tool

    Do a connect

    If the tool is enclosed by the target, intersection of the two is not

    needed.

    Fluent Software Training

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    39/107

    Fluent Inc. 8/14/201339

    FluentSoftwareTraining

    UGM 2001

    Geometry Tips-2

    Gambit 1.2.0 & higher support booleans of multiple entities

    (faces/volumes) in one step

    Use intersection/subtraction option to split one entity with multiple

    entities

    Occasionally, real volume stitch may produce unwanted edge splits

    ACIS-specific problem (incorrect topology being generated)

    Use Heal Faces in place of volume stitch command to create the volume

    May need to disconnect the faces if connected to other entities

    Reconnect them before meshing

    Virtual volume stitch can also be used

    Fluent Software Training

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    40/107

    Fluent Inc. 8/14/201340

    FluentSoftwareTraining

    UGM 2001

    Geometry Tips-3

    To create real face by wireframe on noncoplanar surface, use a set of 3 or

    4 edges per face

    Use alternative methods of face creation (e.g., net surface) wherever

    applicable

    New face creation methods and face primitives are available with Gambit

    1.2.0 and higher

    Combine primitives, booleans and bottom-up tools for faster model

    building

    Fluent Software Training

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    41/107

    Fluent Inc. 8/14/201341

    FluentSoftwareTraining

    UGM 2001

    Meshing Tips - 1

    Vertex types may be changed for Boundary Layers only

    Allows desired BL creation in regions near vertices while maintaining

    desired face or volume meshing scheme

    Example :

    Meshing a circular

    face with Map

    (square topology)and boundary

    layers

    Vertex types = End,

    for mesh scheme

    Vertex types = Side,

    for boundary layers

    Fluent Software Training

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    42/107

    Fluent Inc. 8/14/201342

    FluentSoftwareTraining

    UGM 2001

    Meshing Tips - 2

    Poor mesh by mapper on highly curved

    surface

    Projection to the surface distorts the mesh

    Limitation of algorithm

    Smooththe face mesh bywinslow to fix it

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    43/107

    Fluent Inc. 8/14/201343

    ue t So twa e a g

    UGM 2001

    Meshing Tips - 3

    Final exact projection of mesh on the surface

    May take long time or produce skewed elements on complex/badspline surfaces

    Should be turned off (using the default

    MESH.FACE.PROJECT_TO_SURFACE)

    Check the mesh to ensure desired accuracy of geometry

    representation

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    44/107

    Fluent Inc. 8/14/201344

    g

    UGM 2001

    Meshing Tips - 4

    Number of triangles on a single face exceed the default limit (100,000) Increase the limit using the default MESH.TRIMESH.MAX_FACES

    A value of -1 indicate no restriction

    If there is a resource constraint Mesh the whole model in several parts

    Mesh one part, export the mesh and then delete it but keep the surface mesh at theinterface (for conformal mesh)

    Do the same for each part. Merge all the meshes with tfilter tmerge3d or by reading them in Tgrid

    Duplicate nodes at the interface can be merged together either in Fluent 5 by fusingthe zones or in Tgrid by merging the nodes.

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    45/107

    Fluent Inc. 8/14/201345

    g

    UGM 2001

    Parametric Study: Tips - 1

    Test the model for the most extreme values first. Advanced parameterization might be needed to avoid bad cell

    aspect ratio/skewness.

    Example: Edge mesh density as a function of distance

    intervals (4 + (INT($fact*($h2 - $h1)))))

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    46/107

    Fluent Inc. 8/14/201346

    g

    UGM 2001

    Parametric Study: Tips - 2

    Use mapped mesh when parameters have large variation span, since

    mesh can be stretched without severe distortion (compared to paved

    mesh).

    Use different journal files for different parameter combinations.

    Example: Pipe junction Pipe intersection

    These are two topologically different models (3 faces, 8 edges vs. 2 faces,5 edges)

    Do not use virtual mesh splits, since these are node-number dependent.

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    47/107

    Fluent Inc. 8/14/201347

    UGM 2001

    Outline

    Data exchange with other CAD/CAE systems

    Clean-up and Construction strategies

    Useful Tips

    New Features of Gambit 2.0

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    48/107

    Fluent Inc. 8/14/201348

    UGM 2001

    New Features of Gambit 2.0

    G/Turbo Direct Pro/E Integration

    Size Function

    End User Customization (Dynamic GUI)

    General Meshing Enhancements(3d Boundary Layer, Mesh Link, Connect Preserving Mesh)

    Mesh Export Upgrade

    General Geometry Enhancements

    Geometry Kernel Upgrade

    Miscellaneous

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    49/107

    Fluent Inc. 8/14/201349

    UGM 2001

    G/Turbo

    Add-on for automated preprocessing for

    turbomachinery

    Automated geometry construction and

    meshing for blade row models

    Starts from basic curve data definingblade, hub, and casing shapes

    flexible meshing

    structured (H, H-C & H-O)

    unstructured (hex, tet, prism &

    pyramids) Standard turbo view

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    50/107

    Fluent Inc. 8/14/201350

    UGM 2001

    New Features of Gambit 2.0

    G/Turbo

    Direct Pro/E Integration

    Size Function

    End User Customization (Dynamic GUI)

    General Meshing Enhancements

    (3d Boundary Layer, Mesh Link, Connect Preserving Mesh)

    Mesh Export Upgrade

    General Geometry Enhancements

    Geometry Kernel Upgrade Miscellaneous

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    51/107

    Fluent Inc. 8/14/201351

    UGM 2001

    Pro/E-to-Gambit 1.3 Options

    Pro/Engineer

    Gambit

    Direct (STEP)direct

    Translator

    STEP Optegra

    VisualizerMesh STL

    (real geometry)

    (faceted geometry)

    IGES*

    *IGES native may produce

    virtual geometry

    ACIS

    FluentSoftwareTraining

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    52/107

    Fluent Inc. 8/14/201352

    UGM 2001

    Fundamental Limitations of Data Exchange

    Model quality in the original system Semantics

    Numerical Precision

    Translation quality

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    53/107

    Fluent Inc. 8/14/201353

    UGM 2001

    Direct Pro/Engineer Integration

    GAMBIT directlyaccesses Pro/Es geometry engine

    Eliminates geometry translation losses

    User works in convenient GAMBIT environment

    Requests

    Topolog y, geometry,

    project ions

    CADSystem

    GAMBIT

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    54/107

    Fluent Inc. 8/14/201354

    UGM 2001

    Pro/Engineer - Gambit Interface

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    55/107

    Fluent Inc. 8/14/201355

    UGM 2001

    Using Pro/E Gambit Interface

    Need special Gambit license

    File with instructions for Pro/E to start Gambit

    gambit/cad_integration/proe_integration/protk.dat

    Steps to use direct interface

    Start pro/E by Gambit start-up command

    gambit id -proe

    Start Gambit using Utilities/Auxiliary Applications

    Open the part file in Pro/E

    Access Gambit through Pro/E

    Use Import/CAD/Pro/E(direct) to access the geometry in Gambit

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    56/107

    Fluent Inc. 8/14/201356

    UGM 2001

    Convenient Topology Modifications in Gambit

    Feature Suppression Using Virtual Tools

    Original PartCleaned Part

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    57/107

    Fluent Inc. 8/14/201357

    UGM 2001

    Limitations

    Assemblies are not supported

    Should be converted into part first

    Solid models alone are supported

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    58/107

    Fluent Inc. 8/14/201358

    UGM 2001

    Assembly to Part Conversion

    Open the assembly file

    Create a new part

    Select

    Assembly/Component/Adv Utils/Merge

    Merge all existing parts to the new part

    Save the change

    Open the new part

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    59/107

    Fluent Inc. 8/14/201359

    UGM 2001

    New Features of Gambit 2.0

    G/Turbo

    Direct Pro/E Integration

    Size Function

    End User Customization (Dynamic GUI)

    General Meshing Enhancements

    (3d Boundary Layer, Mesh Link, Connect Preserving Mesh)

    Mesh Export Upgrade

    General Geometry Enhancements

    Geometry Kernel Upgrade Miscellaneous

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    60/107

    Fluent Inc. 8/14/201360

    UGM 2001

    Size Function

    Control mesh element size and

    their variation

    Benefits

    Ensure high-quality surfacemeshes

    Automatically capture

    important geometry features

    Ensure desired number of

    elements in small gaps

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    61/107

    Fluent Inc. 8/14/201361

    UGM 2001

    Existing Tools

    Edge Meshing

    Boundary Layer

    Size Function

    Meshing

    Tools

    Desired

    size and

    quality

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    62/107

    Fluent Inc. 8/14/201362

    UGM 2001

    Size Function with Tri Paver

    Without a Size Function With a Size Function

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    63/107

    Fluent Inc. 8/14/201363

    UGM 2001

    Size Function with Quad Paver

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    64/107

    Fluent Inc. 8/14/201364

    UGM 2001

    Size Function Specification

    Type

    Entities

    Parameter

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    65/107

    Fluent Inc. 8/14/201365

    Size Function Types

    Fixed

    Curvature

    Proximity

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    66/107

    Fluent Inc. 8/14/201366

    Fixed Size Function

    Controls mesh-element edge size within a region as a function of

    distance

    Entities

    Source

    Center of the region

    Attachment

    Mesh to be affected

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    67/107

    Fluent Inc. 8/14/201367

    Specifying the Source

    Location and types of the source determine location and types of the

    sizing functions

    Component Source

    topologically part ofthe attachment

    Non-component Source

    Not a part(topologically) of the

    attachment

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    68/107

    Fluent Inc. 8/14/201368

    Examples

    External source

    Internal source

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    69/107

    Fluent Inc. 8/14/201369

    Examples

    Effect of internal non-component source on the mesh

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    70/107

    Fluent Inc. 8/14/201370

    Specifying the Attachment

    Determine the effect of the size functions

    Should be attached to the desired entity and all

    connected entities within the boundary of the size function

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    71/107

    Fluent Inc. 8/14/201371

    Specifying the Parameters

    Start size

    Size adjacent to the source

    Growth rate

    Ratio of two adjacent mesh-element

    edge size

    Distance

    Determine boundary of size function

    Size limit

    Maximum allowable size forattachment entity

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    72/107

    Fluent Inc. 8/14/201372

    Curvature Size Function

    Modifies size according to geometric curvature

    Only face as a source

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    73/107

    Fluent Inc. 8/14/201373

    Parameters

    Angle

    Maximum allowable

    angle between outwardpointing normals for any

    two adjacent mesh

    elements located

    immediately adjacent to

    the surface of a source

    Other parameters similar to

    those for fixed type

    Curvature Size Function

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    74/107

    Fluent Inc. 8/14/201374

    Proximity Size Function

    Parameters

    Cells per gap

    Number of mesh

    layers in the gap

    Distance

    maximum distance

    from the source at

    which size function

    applies

    Size limit

    Specify number of cells in the gap

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    75/107

    Fluent Inc. 8/14/201375

    Limitations

    Becomes slow on large models

    Improper use may result in abrupt change in size

    Use multiple size functions

    Specify large value for distance

    Increase resolution by changing the defaults for background grids

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    76/107

    Fluent Inc. 8/14/201376

    New Features of Gambit 2.0

    G/Turbo

    Direct Pro/E Integration

    Size Function

    End User Customization (Dynamic GUI)

    General Meshing Enhancements

    (3d Boundary Layer, Mesh Link, Connect Preserving Mesh)

    Mesh Export Upgrade

    General Geometry Enhancements

    Geometry Kernel Upgrade

    Miscellaneous

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    77/107

    Fluent Inc. 8/14/201377

    End User Customization (Dynamic GUI)

    Easily create templates and interactive journals

    Easily parameterize and automate repetitive tasks

    Dynamic Specification Forms

    Macro

    Enhanced Query Functions

    Improved Journaling

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    78/107

    Fluent Inc. 8/14/201378

    Dynamic Specification Forms

    User customized GUI

    Can be used as a template for

    industry specific tasks

    Gambit command-line commands

    are used to create & maintain such

    forms

    User can customize form layout,components and options on the form

    and hook them to gambit journal

    files to perform specific tasks

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    79/107

    Fluent Inc. 8/14/201379

    Views of the same form

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    80/107

    Fluent Inc. 8/14/201380

    Macro

    Subroutine functionality

    Groups the gambit commands

    Can be called as a gambit commandMacro Commandsmacro start macroname

    macro end

    macrorun name macroname

    Example Macro

    macro start "compute_reynolds"

    $reynolds = ($density*$velocity*$diameter)/$viscosity

    dgui updateitem "reynolds"

    macro end

    macrorun name "compute_reynolds"

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    81/107

    Fluent Inc. 8/14/201381

    Enhanced Query Commands

    ID independent labels:

    Lastid automated journal conversion - GAMBIT will change an existing

    journal file to exclusively use lastid identifiers

    Location based identification and automated journal conversion -

    GAMBIT can use location based identification and convert existingjournal files to exclusively use location based identifiers

    Connectivity traversal:

    Can traverse topology to find faces, edges, etc.

    Can find connected entities

    Various Queries

    Can find all vertices, edges, etc.

    Can obtain attached entities to BC zones

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    82/107

    Fluent Inc. 8/14/201382

    New Modeling Functions

    ARCLEN : length of an specified edge

    BBOX : Bounding box of specified entity/model

    ENT2LOC : Coordinates of the center point

    LOC2ENT : Entity at given location

    OPERERR : return 0/1 to indicate success of last operation RETLABEL : Label of previously created entity

    RETLABEL(Type, index)

    example:

    $x = retlabel(t_fa, 2)

    LISTENTITY : filtered list of all entities of a specified type

    LISTENTITY(return_type, filter_type, filter_entity)

    example:

    $x = LISTENTITY(t_ed, t_fa, face.s) ;gives all edges of face.5

    $x = LISTENTITY(t_bl) ; all boundary layers in the model

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    83/107

    Fluent Inc. 8/14/201383

    Improved Journaling - 1

    Improved journaling and parameter assignments

    Parameters can be assigned inside do loops and if/then statements

    New default to control journaling

    GUI_GENERAL_JOURNAL_ENTITY

    0 = original names

    1 = journal lastid 2 = journal location

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    84/107

    Fluent Inc. 8/14/201384

    Improved Journaling - 2

    New default to control transcript output

    GUI_GENERAL_TRANSCRIPT

    0 = transcript everything

    -1 = transcript nothing

    1 = transcript commands

    2 = transcript comments

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    85/107

    Fluent Inc. 8/14/201385

    New Features of Gambit 2.0

    G/Turbo

    Direct Pro/E Integration

    Size Function

    End User Customization (Dynamic GUI)

    General Meshing Enhancements(3d Boundary Layer, Mesh Link, Connect Preserving Mesh)

    Mesh Export Upgrade

    General Geometry Enhancements

    Geometry Kernel Upgrade

    Miscellaneous

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    86/107

    Fluent Inc. 8/14/201386

    General Meshing Enhancements

    True 3d Boundary Layer

    Mesh Link Upgrade Copy Mesh Improvements

    Connect Preserving Mesh

    Quad to Tri Conversion

    Quality Reports as part of Meshing

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    87/107

    Fluent Inc. 8/14/201387

    True 3d Boundary Layer

    Face boundary layer projection True 3d boundary layer

    Ensure nice layers in twisted domains

    Supported by Map, Cooper and Tgrid

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    88/107

    Fluent Inc. 8/14/201388

    Mesh Link Upgrade

    Reverse orientationactive as default

    Periodic option ensuresperiodicity even when oneof the edge is split

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    89/107

    Fluent Inc. 8/14/201389

    Mesh Link Upgrade

    Allows linking ofmultiple pair ofperiodic faces

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    90/107

    Fluent Inc. 8/14/201390

    Copy Mesh Improvements

    Boundary layer generated on target face

    Transformation is used for rest of the mesh

    Source face

    Target face

    Preserve nice boundarylayers on target face

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    91/107

    Fluent Inc. 8/14/201391

    Copy Mesh Improvements

    Option to maintain or break

    the mesh link after copy

    Mesh is preserved in either

    case

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    92/107

    Fluent Inc. 8/14/201392

    Connect Preserving Mesh

    Unconnected

    faces with mesh

    Mesh is preserved after

    connect

    Preserve higher topology mesh

    Maintain connectivity

    Mesh on unconnected entities (face/edge/vertex) must betopologically equivalent

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    93/107

    Fluent Inc. 8/14/201393

    Meshing Geometry of Repeated Pattern

    Create and meshone part

    Copy with meshunlinked option

    Do a global

    connect

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    94/107

    Fluent Inc. 8/14/201394

    Quad to Tri Conversion

    Splitting of a face with quads to tri

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    95/107

    Fluent Inc. 8/14/201395

    Quality Reports as part of Meshing

    Option to report max skewness for each face and/or volume when it is meshed

    MESH.EXAMINE.QUALITY_WHEN_MESHING

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    96/107

    Fluent Inc. 8/14/201396

    New Features of Gambit 2.0

    G/Turbo

    Direct Pro/E Integration

    Size Function

    End User Customization (Dynamic GUI)

    General Meshing Enhancements

    (3d Boundary Layer, Mesh Link, Connect Preserving Mesh)

    Mesh Export Upgrade

    General Geometry Enhancements

    Geometry Kernel Upgrade

    Miscellaneous

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    97/107

    Fluent Inc. 8/14/201397

    Mesh Export Upgrade

    Direct mesh export for Fluent 5/6 & Tgrid

    Speed, memory optimizations

    Better handling of periodics

    Ability to export mixed (volume + surface) mesh together

    Can export surface mesh without specifying the boundary condition

    Tfilter option available through the default

    (as a fall back for any potential bug)

    FILE_IO.FLUENT5.EXPORT_USING_TFILTER

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    98/107

    Fluent Inc. 8/14/201398

    Mesh Export Upgrade

    Option for forcing 2d export

    Ensure a 2d mesh even if model is not in xy (z = 0) plane

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    99/107

    Fluent Inc. 8/14/201399

    New Features of Gambit 2.0

    G/Turbo

    Direct Pro/E Integration

    Size Function

    End User Customization (Dynamic GUI)

    General Meshing Enhancements

    (3d Boundary Layer, Mesh Link, Connect Preserving Mesh)

    Mesh Export Upgrade

    General Geometry Enhancements

    Geometry Kernel Upgrade

    Miscellaneous

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    100/107

    Fluent Inc. 8/14/2013100

    General Geometry Enhancements

    Faceted Face/Face Splits

    Face Simplify

    Healing During Import

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    101/107

    Fluent Inc. 8/14/2013101

    Faceted Face-Face Splits

    Faster decomposition for non-real

    (faceted) geometry

    Intersection of complex nurbsurfaces

    Real/virtual faces can be converted

    to faceted one using mesh split or

    mesh modify

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    102/107

    Fluent Inc. 8/14/2013102

    Face Simplify

    Removes dangling edges and hard points from the face

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    103/107

    Fluent Inc. 8/14/2013103

    Healing During Import

    Optional healing during geometry import

    Available during IGES, ACIS, STEP and Parasolid import

    Allow whole model(with multiple volumes) to be healed in one step

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    104/107

    Fluent Inc. 8/14/2013104

    New Features of Gambit 2.0

    G/Turbo

    Direct Pro/E Integration

    Size Function

    End User Customization (Dynamic GUI)

    General Meshing Enhancements

    (3d Boundary Layer, Mesh Link, Connect Preserving Mesh)

    Mesh Export Upgrade

    General Geometry Enhancements

    Geometry Kernel Upgrade Miscellaneous

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    105/107

    Fluent Inc. 8/14/2013105

    Geometry Kernel Upgrade

    ACIS 6.3

    Improved speed & robustness

    Improved STEP and IGES translators

    Better healing

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    106/107

    Fluent Inc. 8/14/2013106

    New Features of Gambit 2.0

    G/Turbo

    Direct Pro/E Integration

    Size Function

    End User Customization (Dynamic GUI)

    General Meshing Enhancements

    (3d Boundary Layer, Mesh Link, Connect Preserving Mesh)

    Mesh Export Upgrade

    General Geometry Enhancements

    Geometry Kernel Upgrade Miscellaneous

    FluentSoftwareTraining

    UGM 2001

  • 7/22/2019 Fluent Gambit_Tips and Tricks

    107/107

    Additional Filters for Picker

    Additional filter

    Meshed

    Unmeshed

    Real

    Nonreal

    Size Function

    No Size Function

    Convenient way to view sort listed entities, e.g,