0% found this document useful (0 votes)
56 views4 pages

TGrid

download

Uploaded by

OpenFOAM
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
56 views4 pages

TGrid

download

Uploaded by

OpenFOAM
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Chapter 1.

Introduction to TGrid

This chapter provides an introduction to TGrid, an explanation of its capabilities, and


instructions for starting TGrid.
Section 1.1: Introduction
Section 1.2: Program Structure
Section 1.3: Program Capabilities
Section 1.4: Accessing TGrid Manuals

1.1

Introduction
TGrid is a highly efficient, easy-to-use, unstructured grid generation program that can
handle grids of virtually unlimited size and complexity, consisting of triangular, tetrahedral, hexahedral, prismatic, or pyramidal cells.
Unstructured grid generation techniques couple basic geometric building blocks with
extensive geometric data to highly automate the grid generation process. In addition,
the generalized data structures used in these schemes permit the addition and removal
of cells to maximize accuracy and minimize memory and CPU requirements.
For input TGrid requires a discretized boundary mesh consisting of either nodes and
edges in 2D, or nodes and triangular/quadrilateral faces in 3D. TGrid contains a number
of tools for checking and repairing the boundary mesh to ensure a good starting point
for the mesh. A complete mesh can be generated from the boundary mesh automatically
or by exercising control of the process.
The user interface to TGrid is written in the Scheme language, which is a dialect of
LISP. Most features are accessible through the graphical interface or the interactive
menu interface. The advanced user can customize and enhance the interface by adding
or changing the Scheme functions.

c ANSYS, Inc. April 15, 2008


Introduction to TGrid

1.2

Program Structure
TGrid is part of the FLUENT package, which includes the following products:
FLUENT, the solver.
GAMBIT, the preprocessor for geometry modeling and mesh generation.
TGrid, the additional preprocessor that can generate volume meshes from existing
boundary meshes.
Filters (translators) for import of surface and volume meshes from CAD/CAE
packages such as ANSYS, I-deas, NASTRAN, PATRAN, and others.
Figure 1.2.1 shows how TGrid relates to these products.

GAMBIT

Geometry / Mesh

Other CAD/CAE Packages

Geometry set up
2D / 3D Mesh Generation
Boundary Mesh
TGrid
2D triangular mesh

Faceted geometry
Boundary and / or
Volume Mesh

3D triangular surface mesh


2D / 3D triangular / tetrahedral
hybrid mesh
Hexcore mesh
2D / 3D Mesh

Mesh

FLUENT (V5 or later)


Mesh import and adaption
Physical models
Material properties
Boundary conditions
Calculation
Postprocessing

Figure 1.2.1: Program Structure

c ANSYS, Inc. April 15, 2008


1.3 Program Capabilities

You can use TGrid to generate a triangular, tetrahedral, hexcore, or hybrid volume mesh
from an existing boundary mesh.
To create a mesh in TGrid, first use a preprocessor (GAMBIT or a third-party CAD package) to create a boundary mesh in which the boundaries are defined by line segments
(2D) or triangular or quadrilateral facets (3D). To create tetrahedral, prismatic, or pyramidal cells, read the boundary mesh (and any hexahedral cells) into TGrid and continue
the mesh generation process there.
The first step in producing an unstructured grid is to define the shape of the domain
boundaries.
Surface grids created in CAD/CAE packages can be read into TGrid using the appropriate
menu item in the File/Import pull-down submenu (or the associated text commands), or
converted using the appropriate stand-alone grid filter.
When the grid generation is completed, you can read the 3D grid created by TGrid into
the solver. After a grid is read into the solver, the remaining operations are performed
there. These include setting boundary conditions, defining fluid properties, executing the
solution, and viewing and postprocessing the results.

1.3

Program Capabilities
TGrid is a robust and a highly automated unstructured volume mesh generator with the
following meshing capabilities:
Generates triangles (tris) and quadrilaterals (quads) in 2D.
Generates tets, hexcore, prisms, pyramids in 2D.
Generates volume mesh that is accepted by FLUENT.
Uses Delaunay triangulation method for tris/tets.
Uses advancing layer method for prisms.
Generates hexcore mesh.
Has a robust boundary wrapper tool.
Can export polyhedral cells.
Has tools for checking, repairing, and improving boundary mesh to ensure a good
starting point for the mesh.
Is capable of manipulating face/cell zones.
Is flexibleit allows the most appropriate cell type to be used to generate the
volume mesh:

c ANSYS, Inc. April 15, 2008


Introduction to TGrid

Tri/tet meshes are suitable for complex geometries.


Hexcore meshes can combine the flexibility of tet, hex, and prism meshes with
smaller cell count.
Hybrid meshes:
Prism layers near walls allow proper boundary layer resolution.
Allows flow alignments with grid lines.
Generates smaller volume mesh with highly stretched prismatic elements.
Non-conformal meshes:
Suitable for parametric studies.
Meshes generated separately can be glued together.

1.4

Accessing TGrid Manuals


The on-line help gives you access to the TGrid Users Guide through HTML files. These
files can be viewed with any web browser.
To see the Users Guide, select Users Guide Contents... in the Help pull-down menu in
the TGrid GUI. This will open the Users Guide contents page.
You can access the required information by using the Table of Contents that displays a
list of chapters, including all section and subsection titles. Each of these, is a link to the
corresponding chapter or section or subsection of the manual. You can also use the Index
to take you to the relevant section of the Users Guide. For details on using GUI help
system, see Section 3.6: Using the GUI Help System.

c ANSYS, Inc. April 15, 2008

You might also like