tool gambit

Download tool gambit

Post on 04-Jun-2018

220 views

Category:

Documents

0 download

Embed Size (px)

TRANSCRIPT

  • 8/14/2019 tool gambit

    1/35

    TOOLS COMMANDS

    19982007 Fluent, Inc. All rights reserved. 5-1

    5. TOOLS COMMANDS

    GAMBIT tools commands allow you to perform the following types of operations:

    Coordinate system

    Size function

    Turbo Geometry cleanup

    Coordinate-system commands allow you to create and work with GAMBIT local

    coordinate systems. Turbo commands allow you to define and generate turbo profiles and

    to create turbo volumes. Size-function commands allow you to create and attach size

    functions to geometric entities as a means to control mesh element sizes for triangular and

    tetrahedral meshes. The geometry cleanup command provides allows you to identify and

    automatically fix geometry problems such as very short edges, holes, and sharp angles.

  • 8/14/2019 tool gambit

    2/35

    Coordinate System Commands TOOLS COMMANDS

    5-2 19982007 Fluent, Inc. All rights reserved.

    5.1 Coordinate System Commands

    GAMBIT coordinate-system commands allow you to perform operations that involve

    coordinate systems. They include the following commands:

    coordinate activate

    coordinate create

    coordinate delete

    coordinate modify

    coordinate modify (grid)

    coordinate modify ruler

    coordinate summarize

    The following sections summarize the purpose, form, and parameters associated with each

    of the commands listed above.

  • 8/14/2019 tool gambit

    3/35

    TOOLS COMMANDS Coordinate System Commands

    19982007 Fluent, Inc. All rights reserved. 5-3

    5.1.1 coordinate activate

    Purpose

    To activate an existing coordinate system.

    GUI Operation

    ToolsCoordinate SystemActivate Coordinate System

    General Form

    coordinate activate system

    Example

    coordinate activate "c_sys.2"

    Keywords

    None

  • 8/14/2019 tool gambit

    4/35

    Coordinate System Commands TOOLS COMMANDS

    5-4 19982007 Fluent, Inc. All rights reserved.

    5.1.2 coordinate create

    Purpose

    To create a local coordinate system.

    GUI Operation

    ToolsCoordinate SystemCreate Coordinate System

    General Form

    coordinate create [ system][ cartesiancylindricalspherical ]

    { rotation[ oldsystem system][ offset real1[ real2[ real3]]

    [ axis1 axis1angle1 real1[ axis2 axis2angle2 real2

    [ axis3 axis3angle3 real3] ] ]

    vertices vertex1vertex2vertex3 }

    Example

    coordinate create "c_sys.2" cylindrical rotation offset 5 0 5 \axis1 "x" angle1 45 axis2 "y" angle2 135

    Keywords

    Keyword Description

    angle1 Specifies the angle of rotation (real1) in degrees about axis1

    angle2Specifies the angle of rotation (real2) in degrees about axis2

    angle3 Specifies the angle of rotation (real3) in degrees about axis3

    axis1 Specifies an axis of rotation about which to orient the new

    coordinate system relative to the reference system (x, y,z)

    axis2 Specifies an axis of rotation about which to orient the new

    coordinate system relative to the reference system (x,y,z)

  • 8/14/2019 tool gambit

    5/35

    TOOLS COMMANDS Coordinate System Commands

    19982007 Fluent, Inc. All rights reserved. 5-5

    Keyword Description

    axis3 Specifies an axis of rotation about which to orient the new

    coordinate system relative to the reference system (x,y,z)

    cartesian Specifies the Cartesian coordinate system (default) the default

    parameters of which arex,y,z

    cylindrical Specifies a cylindrical coordinate system the default parameters

    of which are r,,z

    offset Specifies the coordinates of the origin of the new system relative

    to the reference system (real1,real2,real3 =(x,y,z)or

    (r,,z) or (r,, ))

    oldsystem Specifies the existing coordinate system (system) relative to

    which the new coordinate system is located (the active

    coordinate system is the default reference system)

    rotation Specifies location and orientation parameters for the new

    coordinate system

    spherical Specifies a spherical coordinate system the default parameters of

    which are r,,

    vertices Specifies three vertices that define the origin (vertex1),xaxis

    (vertex2), andx-yplane (vertex3) for the new system

  • 8/14/2019 tool gambit

    6/35

  • 8/14/2019 tool gambit

    7/35

    TOOLS COMMANDS Coordinate System Commands

    19982007 Fluent, Inc. All rights reserved. 5-7

    5.1.4 coordinate modify

    Purpose

    To change the coordinate system default system type or label.

    GUI Operation

    ToolsCoordinate SystemModify Coordinate System

    General Form

    coordinate modify [ system ][ cartesiancylindricalspherical ]

    [ label string]

    Example

    coordinate modify "c_sys.2" cartesian label "tempsystem"

    Keywords

    Keyword Description

    cartesian Specifies the Cartesian coordinate system (default) the default

    parameters of which arex,y,z

    cylindrical Specifies a cylindrical coordinate system the default parameters

    of which are r,,z

    label Specifies a new entity label (string)

    spherical Specifies a spherical coordinate system the default parameters of

    which are r,,

  • 8/14/2019 tool gambit

    8/35

    Coordinate System Commands TOOLS COMMANDS

    5-8 19982007 Fluent, Inc. All rights reserved.

    5.1.5 coordinate modify (grid)

    Purpose

    To modify any currently displayed grid.GUI Operation

    ToolsCoordinate SystemDisplay Grid

    General Form

    coordinate modify system{ xyplaneyzplanezxplane }

    { xaxisyaxiszaxis }

    [ add real[ and real[ and real] ... ]remove real[ and real[ and real] ... ]]

    [ offset real]

    [ default realreset ][ lowerbound real ][ upperbound real ][ nosnapsnap ]

    [ nolineslines ]

    Example

    coordinate modify "c_sys.2" yzplane add -7.5 and -2.5 and \2.5 and 7.5 offset 3 snap nolines

    Keywords

    Keyword Description

    add Specifies the position of a line or row of points (real1,real2,

    ...) to add to the specified grid

    default Specifies the spacing increment (real> 0) between grid lines or

    parallel rows of grid points

  • 8/14/2019 tool gambit

    9/35

    TOOLS COMMANDS Coordinate System Commands

    19982007 Fluent, Inc. All rights reserved. 5-9

    Keyword Description

    lines Specifies that the grid is displayed as a series of intersecting

    perpendicular lines

    lowerbound Specifies realas the lower limit of the grid range

    nolines Specifies that the grid is displayed as a matrix of points

    nosnap Specifies that vertices created by means of the mouse are created

    by projecting the selection point onto the grid, but not snapping

    to the nearest grid point

    offset Specifies the distance (real) by which the grid plane is offset

    from the origin of the specified coordinate system along the grid

    axis

    remove Specifies the position of a line or row of points (real1,real2,

    ...) to remove from the specified grid

    reset Specifies that all currently displayed grid points and lines areremoved

    snap Specifies that vertices created by means of the mouse are created

    at the grid point nearest to the selection point

    upperbound Specifies realas the upper limit of the grid range

    xaxisyaxiszaxis

    Specifies thex,y, orzcoordinate axis

    xyplaneyzplane

    zxplane

    Specifies thexy,yz, orzxcoordinate plan

  • 8/14/2019 tool gambit

    10/35

    Coordinate System Commands TOOLS COMMANDS

    5-10 19982007 Fluent, Inc. All rights reserved.

    5.1.6 coordinate modify ruler

    Purpose

    To display rulers along any or all of the axes in the currently active coordinate system.

    GUI Operation

    ToolsCoordinate SystemDisplay Ruler

    General Form

    coordinate modify systemruler[ xinvisiblexvisiblexboundingbox ]

    [ yinvisibleyvisibleyboundingbox ]

    [ zinvisiblezvisiblezboundingbox ]

    [ xrange real1 real2 ][ yrange real1 real2 ][ zrange real1 real2 ][ xintervals integerxscale real]

    [ yintervals integeryscale real]

    [ zintervals integerzscale real ]

    [ subintervals integer

    xtics integer and/orytics integerand/orztics integer]

    Example

    coordinate modify "c_sys.2" ruler xboundingbox yrange 7.5 \

    2.5 yintervals 4 subintervals 4

    Keywords

    Keyword Description

    subintervals Specifies the number (integer> 1) of minor (unnumbered)

    subintervals for all axes

  • 8/14/2019 tool gambit

    11/35

    TOOLS COMMANDS Coordinate System Commands

    19982007 Fluent, Inc. All rights reserved. 5-11

    Keyword Description

    xboundingbox Specifies that thex-ruler is visible, restricted to the model

    bounding box

    xintervals Specifies the number (0 < integer< 101) of major

    (numbered) intervals for thexaxis

    xinvisible Specifies that thex-ruler is invisible

    xrange Specifies the lower (real1) and upper (real2) limits of the

    range of values for thexaxis

    xscale Specifies the size (real> 0) of major (numbered) intervals for

    thexaxis

    xtics Specifies the number (integer> 0) of minor (unnumbered)

    tic marks for thexaxis

    xvisible Specifies that thex-ruler is visible, restricted to xrange

    yboundingbox Specifies that they-ruler is visible, restricted to the model

    bounding box

    yintervals Specifies the number (0 < integer< 101) of major

    (numbered) intervals for theyaxis

    yinvisible Specifies that they-ruler is invisible

    yrange Specifies the lower (real1) and upper (real2) limits of the

    range