Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

UNDER

...

CONSTRUCTION

{
Panel
}

Author:

Daniel

Kantor

and

Andrew

Einstein,

Cornell

University {color:#ff0000}{*}Problem Specification{*}{color} [1. Create Geometry in GAMBIT|FLUENT - Turbulent Flow Past a Sphere - Step 1] [2. Mesh Geometry in GAMBIT|FLUENT - Turbulent Flow Past a Sphere - Step 2] [3. Specify Boundary Types in GAMBIT|FLUENT - Turbulent Flow Past a Sphere - Step 3] [4. Set Up Problem in FLUENT|FLUENT - Turbulent Flow Past a Sphere - Step 4] [5. Solve\!|FLUENT - Turbulent Flow Past a Sphere - Step 5] [6. Analyze Results|FLUENT - Turbulent Flow Past a Sphere - Step 6] [7. Refine Mesh|FLUENT - Turbulent Flow Past a Sphere - Step 7] [Problem 1|FLUENT - Turbulent Flow Past a Sphere - Problem 1] {panel}<!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Cambria; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:0; mso-generic-font-family:roman; mso-font-pitch:variable; mso-font-signature:-1610611985 1073741899 0 0 159 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; mso-font-charset:0; mso-generic-font-family:swiss; mso-font-pitch:variable; mso-font-signature:-1610611985 1073750139 0 0 159 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0in; margin-right:0in; margin-bottom:10.0pt; margin-left:0in; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} h2 {mso-style-priority:9; mso-style-unhide:no; mso-style-qformat:yes; mso-style-link:"Heading 2 Char"; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; mso-outline-level:2; font-size:18.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:"Times New Roman"; font-weight:bold;} h4 {mso-style-priority:9; mso-style-qformat:yes; mso-style-link:"Heading 4 Char"; mso-style-next:Normal; margin-top:10.0pt; margin-right:0in; margin-bottom:0in; margin-left:0in; margin-bottom:.0001pt; line-height:115%; mso-pagination:widow-orphan lines-together; page-break-after:avoid; mso-outline-level:4; font-size:11.0pt; font-family:"Cambria","serif"; mso-ascii-font-family:Cambria; mso-ascii-theme-font:major-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:major-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:major-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:major-bidi; color:#4F81BD; mso-themecolor:accent1; font-weight:bold; font-style:italic;} p {mso-style-priority:99; mso-margin-top-alt:auto; margin-right:0in; mso-margin-bottom-alt:auto; margin-left:0in; mso-pagination:widow-orphan; font-size:12.0pt; font-family:"Times New Roman","serif"; mso-fareast-font-family:"Times New Roman";} p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing {mso-style-priority:1; mso-style-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin:0in; margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} span.Heading2Char {mso-style-name:"Heading 2 Char"; mso-style-priority:9; mso-style-unhide:no; mso-style-locked:yes; mso-style-link:"Heading 2"; mso-ansi-font-size:18.0pt; mso-bidi-font-size:18.0pt; font-family:"Times New Roman","serif"; mso-ascii-font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman"; mso-hansi-font-family:"Times New Roman"; mso-bidi-font-family:"Times New Roman"; font-weight:bold;} span.Heading4Char {mso-style-name:"Heading 4 Char"; mso-style-priority:9; mso-style-unhide:no; mso-style-locked:yes; mso-style-link:"Heading 4"; font-family:"Cambria","serif"; mso-ascii-font-family:Cambria; mso-ascii-theme-font:major-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:major-fareast; mso-hansi-font-family:Cambria; mso-hansi-theme-font:major-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:major-bidi; color:#4F81BD; mso-themecolor:accent1; font-weight:bold; font-style:italic;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:"Times New Roman"; mso-bidi-theme-font:minor-bidi;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:8.5in 11.0in; margin:1.0in 1.0in 1.0in 1.0in; mso-header-margin:.5in; mso-footer-margin:.5in; mso-paper-source:0;} div.Section1 {page:Section1;} --> h2. Step 1: Create Geometry in GAMBIT h4. Strategy for Creating Geometry To model this flow, we will need volume geometry approximating a sphere inside a wind tunnel.&nbsp; The sphere will be placed closer to the wind tunnel inlet so that we may view its wake structure.&nbsp; In order to use a hexahedral mesh, the interior of the wind tunnel will need to be subdivided into smaller components.&nbsp; This tutorial will guide you through building a coarse mesh for a rectangular volume. h4. Create a Working Directory Create a folder called _sphere_ on the desktop. &nbsp;We'll use this as the working folder in which files created during the session will be stored. h4. Start GAMBIT Go to the Start menu and open _GAMBIT._ &nbsp;When the Startup window appears, type "C:\Documents and Settings\ (your username)\Desktop\sphere" for working directory.&nbsp; Under options, add "-id sphere wake". Under *{_}Main Menu{_}*, select *Solver > FLUENT 5/6* since the mesh to be created is to be used in FLUENT 6.0. h4. Create Wind Tunnel and Sphere We begin by creating a rectangular volume that will serve to represent the wind tunnel.&nbsp; *Operation Toolpad > Geometry Command Button* !1.jpg! *> Volume Command Button* !2.jpg! *> Create Volume Real Brick&nbsp;* !3.jpg! Set the dimensions as width 60, depth 20, and height 30, check that 'centered' is the default setting for direction, and label this volume _flow_domain_.   !4.jpg!   Click 'Apply' and the rectangle will be created with its center at the coordinate origin.&nbsp; Create a second brick with uniform dimensions 8x8x8, forming a cube, and label this volume _sphere_box_.&nbsp; Now right click on the *Create Volume* button and select *Create Real Sphere*.&nbsp; Create a spherical volume with radius 3 and label it _sphere_.&nbsp; \\ !5.jpg! *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button* !2.jpg!*> Move/Copy Volumes&nbsp;* !8.jpg! We wish to physically move all three volumes so click the 'move' option and choose 'translational' &nbsp;for Operation.&nbsp;Select _flow_domain_ and move it to global coordinates x = 30, y = z = 0.   !9.jpg! &nbsp;   The length of your rectangle should now be entirely on the positive x-axis.&nbsp; Select _sphere_box{_}and move it to global coordinates x = 12, y = z = 0.&nbsp; Select _sphere{_}and move it to global coordinates x = 12, y = z = 0 too.&nbsp; This will place your sphere at the center of _sphere_box_.\\ !10.jpg! Now we want to isolate the volume contained by _sphere_box{_}from the rest of the flow domain's volume.&nbsp;We can achieve this by performing a volume split. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button* !2.jpg! *> Split Volumes&nbsp;* !12.jpg! A split operation takes one volume and uses another shape, which intersects the first in some way, to divide it into two distinct volumes.&nbsp; The volume we want to do the split on is _flow_domain_.&nbsp; The setting 'Volumes (Real)' means that Gambit will use a second volume as the tool to define the portion of _flow_domain_ to be separated from the greater whole.&nbsp; Select _sphere_box_ as the splitting tool.&nbsp; Check the options "Bidirectional" and "Connected."&nbsp; As the name suggests, "Connected" keeps the two resulting volumes linked.&nbsp; Each volume can be selected separately but they will use the same faces (i.e. the faces that compose the sides of _sphere_box_) to define their borders, meaning that mesh cell intervals must be consistent for two volumes that share a face.&nbsp; "Bidirectional" preserves the entire volume used as the splitting tool, regardless of how much of the splitting tool volume intersects the target volume.\\ !13.jpg! &nbsp; \\ Now the entire region within _sphere_box_ can be meshed but we want a mesh around the surface of the spherical volume, not a mesh that goes through the spherical volume.&nbsp; In fact, we don't want to do anything with the interior volume of the sphere so we must exclude it from the volume of _sphere_box_. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button* !2.jpg!*> Boolean Operations&nbsp;* !16.jpg! Right click and select 'Subtract Real Volumes.'&nbsp; Similar to the split command, subtract uses one volume to remove a portion of another volume.&nbsp; The difference is that subtract doesn't create two volumes in place of one.&nbsp;Instead the removed portion is deleted.&nbsp;Select _sphere_box_ as the volume we want to subtract from.&nbsp; Choose _sphere_ as the volume we want to subtract with.\\ !17.jpg! &nbsp; \\ The geometry picture won't change but there will now only be two identified volumes: _flow_domain_ and _sphere_box_.   h4. Subdivide Sphere Surface Although we have sufficient geometry to represent a sphere in a wind tunnel, additional geometry operations are required to compensate for the sphere's 3-dimensional curves and enable the use of a hexahedral volume mesh.&nbsp; The reasons for this will be explained further in Step 2.&nbsp; We'll first deal with the sphere. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button* !2.jpg!*> Create Volume Real Cylinder* !19.jpg! Right click on the "Create Volume" button and select "Cylinder."&nbsp; Create a cylindrical volume with height 8 and radius 2, orient it along the centered y-axis, and label it _cylinder_.&nbsp; The cylinder height must be the same as the length of _sphere_box_ and the cylinder radius must be smaller than the sphere radius.&nbsp;Note: you cannot choose a cylinder radius of 1 because the resulting volume will be too small for our intended meshing.&nbsp; move it to x = 12, y = z = 0.   !20.jpg!   *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button&nbsp;* !2.jpg!*> Move/Copy Volumes* !8.jpg! Go to the Move command window and move _cylinder_ to global coordinates x = 12, y = z = 0 so that it is centered at the same point as the sphere.\\ !23.jpg! &nbsp; \\ The cylinder will serve as the tool for another volume split, allowing us to separately isolate the upper and lower y-axis 'poles' of the sphere. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button* !2.jpg!*> Split Volumes&nbsp;* !12.jpg! Go to the Split command window and select _sphere_box_ as the volume to be split and select _cylinder_ as the splitting tool.&nbsp; This time only select the "Connected" option.&nbsp;Remember that "Bidirectional" preserves the original splitting tool and that, by this point, only the region outside of the sphere counts as _sphere_box_'s internal volume.&nbsp; Most of the cylinder is within the region defined as our sphere, our solid sphere, where we have no need or use for it.   !25.jpg!   These settings will yield three volumes: one small cylinder for each y-axis pole and the remains of _sphere_box_.&nbsp; The unnecessary portion of the original _cylinder_ that was inside the sphere is deleted. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button* !2.jpg!*> Modify Volume Color/Label&nbsp;* !26.jpg! Right click and select "Modify Label."&nbsp; There now four defined volumes.&nbsp; Notice that the _cylinder_ label is still used by one of the two cylindrical caps we just created.&nbsp;Select the other small cylinder, which bears a default Gambit-provided number tag, and label it _cap_.&nbsp; This will prove helpful later during meshing, when we will need to be able to easily select these cylindrical pieces from a large list of volumes.\\ !27.jpg! &nbsp; \\ Our ultimate goal is to ensure that none of the volumes composing the sphere contain a radius = 3, circular element of the sphere.&nbsp; Next we need to construct a new face to further divide _sphere_box_. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Edge Command Button* !28.jpg!*> Create Edge&nbsp;* !29.jpg! The simplest option is to create a diagonal face that is aligned parallel to the cylindrical caps.&nbsp; First create a pair of edges using _sphere_box_ vertices.&nbsp; Hold down 'Shift' and left-click on two, diagonally-opposite vertices on the positive y-axis side of _sphere_box_.&nbsp; Label the new edge _Line1_.   !30.jpg!   Repeat the process for the negative y-axis side of _sphere_box{_}and label this edge _Line2_. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Face Command Button* !31.jpg!*> Form Face* !32.jpg! Change to the Face Command options and open the Form Face window.&nbsp;This enables you to create a face a from a wireframe pattern of edges.&nbsp; Again old down 'Shift' and left-click on _Line1_ and _Line2_ and the two vertical edges that link _Line1_ and _Line2_.&nbsp; Label the new face _slice_.   !33.jpg! !34.jpg!   Now we have a new tool for another volume split. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button* !2.jpg!*> Split Volumes&nbsp;* !12.jpg! This time we will use a face to split a volume, effectively cutting the volume in half.&nbsp; Select _sphere_box{_}as the volume to be split.&nbsp; For "Split With", choose "Faces (Real)" and select _slice1_ as the splitting tool.&nbsp; As before, when performing the split with the cylinder, click only the "Connected" option since we only need _slice1_ for one operation.   !38.jpg!   You now have two diagonal halves instead of the single box.&nbsp; The _sphere_box_ label is still used by one of the halves; go to the Modify Volume Label window. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button{*}*&nbsp;* !2.jpg!*> Modify Volume Color/Label&nbsp;* !41.jpg! Select the only generic volume name in the list and label it _diag_box_ so it can be easily recognized later.&nbsp; Your sphere should now be composed of four distinct volumes.   !42.jpg!   h4. Subdivide Flow Domain The exterior edges of the whole sphere box also present a problem for our goal of applying a hexahedral mesh.&nbsp; To compensate, the flow domain must be divided into rectangular segments that line up evenly with the sides of the sphere box.&nbsp; *Operation Toolpad > Geometry Command Button* !1.jpg!*> Face Command Button* !31.jpg!*> Move/Copy Faces&nbsp;* !45.jpg! We will create some new faces by making copies of existing faces.&nbsp; Go to the Move/Copy Faces command window.&nbsp; The six faces that compose the exterior of volume _flow_domain_ have the right dimensions to aid us.&nbsp; Each of those six faces needs to be copied and moved inward so that all six copy faces border the sphere box.\\ !46.jpg!   To avoid the risk of potential confusion with Gambit's default identity tags, each of the six faces will be described by the coordinate plane they occupy and their position on the perpendicular coordinate axis.&nbsp; The yz-plane face that intersects the coordinate origin (located closest to the sphere) should be copied and moved to Global Coordinates x = 8, y = z = 0.&nbsp; The yz-plane face at the local maximum of the positive x-axis (furthest from the sphere) should be copied and moved to Global Coordinates x = \-44, y = z = 0.&nbsp; The yx-plane face on the positive z-axis should be copied and moved to Global Coordinates x = y =0, z = \-11.&nbsp; The yx-plane face on the negative z-axis should be copied and moved to Global Coordinates x = y = 0, z = 11.&nbsp; The xz-plane face on the positive y-axis should be copied and moved to Global Coordinates x = z = 0, y = \-6.&nbsp; The xz-plane face on the negative y-axis should be copied and moved to Global Coordinates x = z = 0, y = 6. *Operation Toolpad > Geometry Command Button* !1.jpg!*> Volume Command Button* !2.jpg!*> Split Volumes&nbsp;* !12.jpg! With the copied faces in position, it's time for one final volume split.&nbsp;Go to the Volume Split command window.&nbsp;Select _flow_domain_ as the volume to be split and choose to split with real faces.&nbsp; Now left click on the text field where you select what faces you want to use to split (the text field will highlight yellow).&nbsp; Hold down 'Shift' and use the mouse to click on the six copied faces bordering the sphere box (the copied faces will have light-blue borders).&nbsp; You can only split one volume at a time, but Gambit does allow you to split that one volume with multiple elements.&nbsp;Therefore the entire flow domain can be segmented in one split command.&nbsp; Because of this, only the "Connected" option needs to be checked.\\ !50.jpg! &nbsp; This should divide the flow domain into twenty-six, empty rectangular segments plus the box containing the sphere.\\

University

Problem Specification
1. Create Geometry in GAMBIT
2. Mesh Geometry in GAMBIT
3. Specify Boundary Types in GAMBIT
4. Set Up Problem in FLUENT
5. Solve!
6. Analyze Results
7. Refine Mesh
Problem 1


Step 1: Create Geometry in GAMBIT

Strategy for Creating Geometry

To model this flow, we will need volume geometry approximating a sphere inside a wind tunnel.  The sphere will be placed closer to the wind tunnel inlet so that we may view its wake structure.  In order to use a hexahedral mesh, the interior of the wind tunnel will need to be subdivided into smaller components.  This tutorial will guide you through building a coarse mesh for a rectangular volume.

Create a Working Directory

Create a folder called sphere on the desktop.  We'll use this as the working folder in which files created during the session will be stored.

Start GAMBIT

Go to the Start menu and open GAMBIT.  When the Startup window appears, type "C:\Documents and Settings\ (your username)\Desktop\sphere" for working directory.  Under options, add "-id sphere wake".

Under Main Menu, select Solver > FLUENT 5/6 since the mesh to be created is to be used in FLUENT 6.0.

Create Wind Tunnel and Sphere

We begin by creating a rectangular volume that will serve to represent the wind tunnel. 

Operation Toolpad > Geometry Command Button Image Added > Volume Command Button Image Added > Create Volume Real Brick  Image Added

Set the dimensions as width 60, depth 20, and height 30, check that 'centered' is the default setting for direction, and label this volume flow_domain.

Image Added

Click 'Apply' and the rectangle will be created with its center at the coordinate origin.  Create a second brick with uniform dimensions 8x8x8, forming a cube, and label this volume sphere_box.  Now right click on the Create Volume button and select Create Real Sphere.  Create a spherical volume with radius 3 and label it sphere

Image Added

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button* Image Added*> Move/Copy Volumes * Image Added

We wish to physically move all three volumes so click the 'move' option and choose 'translational'  for Operation. Select flow_domain and move it to global coordinates x = 30, y = z = 0.

Image Added 

The length of your rectangle should now be entirely on the positive x-axis.  Select sphere_boxand move it to global coordinates x = 12, y = z = 0.  Select sphereand move it to global coordinates x = 12, y = z = 0 too.  This will place your sphere at the center of sphere_box.

Image Added

Now we want to isolate the volume contained by sphere_boxfrom the rest of the flow domain's volume. We can achieve this by performing a volume split.

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button* Image Added > Split Volumes  Image Added

A split operation takes one volume and uses another shape, which intersects the first in some way, to divide it into two distinct volumes.  The volume we want to do the split on is flow_domain.  The setting 'Volumes (Real)' means that Gambit will use a second volume as the tool to define the portion of flow_domain to be separated from the greater whole.  Select sphere_box as the splitting tool.  Check the options "Bidirectional" and "Connected."  As the name suggests, "Connected" keeps the two resulting volumes linked.  Each volume can be selected separately but they will use the same faces (i.e. the faces that compose the sides of sphere_box) to define their borders, meaning that mesh cell intervals must be consistent for two volumes that share a face.  "Bidirectional" preserves the entire volume used as the splitting tool, regardless of how much of the splitting tool volume intersects the target volume.
Image Added 

Now the entire region within sphere_box can be meshed but we want a mesh around the surface of the spherical volume, not a mesh that goes through the spherical volume.  In fact, we don't want to do anything with the interior volume of the sphere so we must exclude it from the volume of sphere_box.

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button* Image Added*> Boolean Operations * Image Added

Right click and select 'Subtract Real Volumes.'  Similar to the split command, subtract uses one volume to remove a portion of another volume.  The difference is that subtract doesn't create two volumes in place of one. Instead the removed portion is deleted. Select sphere_box as the volume we want to subtract from.  Choose sphere as the volume we want to subtract with.
Image Added 

The geometry picture won't change but there will now only be two identified volumes: flow_domain and sphere_box.

Subdivide Sphere Surface

Although we have sufficient geometry to represent a sphere in a wind tunnel, additional geometry operations are required to compensate for the sphere's 3-dimensional curves and enable the use of a hexahedral volume mesh.  The reasons for this will be explained further in Step 2.  We'll first deal with the sphere.

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button* Image Added*> Create Volume Real Cylinder* Image Added

Right click on the "Create Volume" button and select "Cylinder."  Create a cylindrical volume with height 8 and radius 2, orient it along the centered y-axis, and label it cylinder.  The cylinder height must be the same as the length of sphere_box and the cylinder radius must be smaller than the sphere radius. Note: you cannot choose a cylinder radius of 1 because the resulting volume will be too small for our intended meshing.  move it to x = 12, y = z = 0.

Image Added

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button * Image Added*> Move/Copy Volumes* Image Added

Go to the Move command window and move cylinder to global coordinates x = 12, y = z = 0 so that it is centered at the same point as the sphere.
Image Added

The cylinder will serve as the tool for another volume split, allowing us to separately isolate the upper and lower y-axis 'poles' of the sphere.

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button* Image Added*> Split Volumes * Image Added

Go to the Split command window and select sphere_box as the volume to be split and select cylinder as the splitting tool.  This time only select the "Connected" option. Remember that "Bidirectional" preserves the original splitting tool and that, by this point, only the region outside of the sphere counts as sphere_box's internal volume.  Most of the cylinder is within the region defined as our sphere, our solid sphere, where we have no need or use for it.

Image Added

These settings will yield three volumes: one small cylinder for each y-axis pole and the remains of sphere_box.  The unnecessary portion of the original cylinder that was inside the sphere is deleted.

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button* Image Added*> Modify Volume Color/Label * Image Added

Right click and select "Modify Label."  There now four defined volumes.  Notice that the cylinder label is still used by one of the two cylindrical caps we just created. Select the other small cylinder, which bears a default Gambit-provided number tag, and label it cap.  This will prove helpful later during meshing, when we will need to be able to easily select these cylindrical pieces from a large list of volumes.
Image Added 

Our ultimate goal is to ensure that none of the volumes composing the sphere contain a radius = 3, circular element of the sphere.  Next we need to construct a new face to further divide sphere_box.

Operation Toolpad > Geometry Command Button Image Added*> Edge Command Button* Image Added*> Create Edge * Image Added

The simplest option is to create a diagonal face that is aligned parallel to the cylindrical caps.  First create a pair of edges using sphere_box vertices.  Hold down 'Shift' and left-click on two, diagonally-opposite vertices on the positive y-axis side of sphere_box.  Label the new edge Line1.

Image Added

Repeat the process for the negative y-axis side of sphere_boxand label this edge Line2.

Operation Toolpad > Geometry Command Button Image Added*> Face Command Button* Image Added*> Form Face* Image Added

Change to the Face Command options and open the Form Face window. This enables you to create a face a from a wireframe pattern of edges.  Again old down 'Shift' and left-click on Line1 and Line2 and the two vertical edges that link Line1 and Line2.  Label the new face slice.

Image Added

Image Added

Now we have a new tool for another volume split.

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button* Image Added*> Split Volumes * Image Added

This time we will use a face to split a volume, effectively cutting the volume in half.  Select sphere_boxas the volume to be split.  For "Split With", choose "Faces (Real)" and select slice1 as the splitting tool.  As before, when performing the split with the cylinder, click only the "Connected" option since we only need slice1 for one operation.

Image Added

You now have two diagonal halves instead of the single box.  The sphere_box label is still used by one of the halves; go to the Modify Volume Label window.

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button{} * Image Added*> Modify Volume Color/Label * Image Added

Select the only generic volume name in the list and label it diag_box so it can be easily recognized later.  Your sphere should now be composed of four distinct volumes.

Image Added

Subdivide Flow Domain

The exterior edges of the whole sphere box also present a problem for our goal of applying a hexahedral mesh.  To compensate, the flow domain must be divided into rectangular segments that line up evenly with the sides of the sphere box. 

Operation Toolpad > Geometry Command Button Image Added*> Face Command Button* Image Added*> Move/Copy Faces * Image Added

We will create some new faces by making copies of existing faces.  Go to the Move/Copy Faces command window.  The six faces that compose the exterior of volume flow_domain have the right dimensions to aid us.  Each of those six faces needs to be copied and moved inward so that all six copy faces border the sphere box.

Image Added

To avoid the risk of potential confusion with Gambit's default identity tags, each of the six faces will be described by the coordinate plane they occupy and their position on the perpendicular coordinate axis.  The yz-plane face that intersects the coordinate origin (located closest to the sphere) should be copied and moved to Global Coordinates x = 8, y = z = 0.  The yz-plane face at the local maximum of the positive x-axis (furthest from the sphere) should be copied and moved to Global Coordinates x = -44, y = z = 0.  The yx-plane face on the positive z-axis should be copied and moved to Global Coordinates x = y =0, z = -11.  The yx-plane face on the negative z-axis should be copied and moved to Global Coordinates x = y = 0, z = 11.  The xz-plane face on the positive y-axis should be copied and moved to Global Coordinates x = z = 0, y = -6.  The xz-plane face on the negative y-axis should be copied and moved to Global Coordinates x = z = 0, y = 6.

Operation Toolpad > Geometry Command Button Image Added*> Volume Command Button* Image Added*> Split Volumes * Image Added

With the copied faces in position, it's time for one final volume split. Go to the Volume Split command window. Select flow_domain as the volume to be split and choose to split with real faces.  Now left click on the text field where you select what faces you want to use to split (the text field will highlight yellow).  Hold down 'Shift' and use the mouse to click on the six copied faces bordering the sphere box (the copied faces will have light-blue borders).  You can only split one volume at a time, but Gambit does allow you to split that one volume with multiple elements. Therefore the entire flow domain can be segmented in one split command.  Because of this, only the "Connected" option needs to be checked.
Image Added
 

This should divide the flow domain into twenty-six, empty rectangular segments plus the box containing the sphere.

Wiki Markup
Go to \[2. Mesh Geometry in Gambit@https://confluence.cornell.edu/display/SIMULATION/FLUENT+-+Turbulent+Flow+Past+a+Sphere+-+Step+2\]

...

Wiki Markup
\[Go to all FLUENT Learning Modules@https://confluence.cornell.edu/display/SIMULATION/FLUENT+Learning+Modules\]