Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Wiki Markup
UNDER CONSTRUCTION

...


{panel
}
Author: Daniel Kantor and Andrew Einstein, Cornell
UniversityProblem 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
 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";} 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-style:italic;} 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 2: Mesh Geometry in GAMBIT


h4. Requirements for Hexahedral Volume Meshing

The hexahedral cell type is well suited for dealing with fluid flow that is moving perpendicular to the cell's alignment.&nbsp; However, the hexahedral cell is not as flexible as the more generalized tetrahedral cell in regards to the kinds of volumes it can be used with.&nbsp; &nbsp;The square profile of the hexahedral cell makes it very easy to use with empty, rectangular volumes like the segments you created in the flow domain.&nbsp; Irregular volumes or volumes containing some kind of blunt body or other object require additional effort.&nbsp; One of Gambit's options for dealing with such situations is called the Cooper Meshing Scheme.&nbsp; Basically, the Cooper Scheme functions by meshing one or more sources (faces with a profile that remains consistent as you move through the volume on a perpendicular line) and then 'sweeping' the source faces through the volume.&nbsp;The Cooper Scheme can mesh hexahedral cells around objects in a volume, provided the object is uniform and extends through the entire volume.&nbsp; The Cooper Scheme cannot handle the 3-dimensional curves of an entire sphere, but it can handle portions of it.&nbsp; Likewise, the Cooper Scheme cannot handle the small sphere box. &nbsp;&nbsp;For more information, look up volume mesh > Cooper scheme in the index of the Gambit User Guide.

h4. Meshing Around the Sphere

We're interested in fluid flow behavior near the sphere and the volumes comprising the sphere are the most unusual ones in our model, therefore we will start by first meshing the four volumes comprising the sphere to ensure best possible mesh alignment.&nbsp; Open the Mesh Command Window and go to Mesh Volumes.

*Operation Toolpad > Mesh Command Button* !51.jpg!*> Volume Command Button* !2.jpg! *> Mesh Volumes&nbsp;* !53.jpg!

The two cylindrical pieces are the smallest so start with them.&nbsp; Select _cylinder_ and _cap_ either from the list of available volumes or by shift-clicking with your mouse.&nbsp; Notice that, when you select a volume, Gambit automatically changes the settings a recommended mesh elements and type based on its evaluation of the volume.&nbsp; Thanks to the volume segmenting, Gambit's recommendation is exactly what we want: Hex/Wedge elements and Cooper type.&nbsp; For spacing, which is how we'll be controlling mesh density, make spacing controlled by interval size and set the interval size to 0.8.

!54.jpg!

 

The same spacing controls and interval size will be used for the entire model, producing a uniform mesh.

 

After meshing _cylinder_ and _cap_, select _sphere_box{_}and _diag_box_.&nbsp; Gambit will again recommend Hex/Wedge with Cooper.&nbsp; Set the interval size to 0.8 and mesh these two volumes.

 

!56.jpg!

 

h4. Meshing the Surrounding Flow Domain

Because the volumes composing the sphere were meshed first, the surrounding volumes will be meshed relative to the sphere's volumes.&nbsp; Surrounding the sphere box with large, empty rectangles will allow for use of hexahedral cells but this alone does not guarantee a properly aligned mesh.&nbsp; The number of cells on any shared face need to be the same for any two adjacent volumes and Gambit will automatically adjust the mesh alignment of one volume to match another volume.&nbsp; If a rectangle as long as the flow domain was placed above the sphere box and meshed, the resulting mesh would be seriously skewed.&nbsp; In other words, the segmenting of the flow domain volume is necessary for an aligned and uniform mesh.

 

In the Mesh Volumes command window, open the list of available volumes and select all listed volumes except{_}cylinder_, _cap_, _sphere_box_, and _diag_box_.&nbsp; This time you may have to set the mesh options yourself.&nbsp; For "Elements" select "Hex/Wedge" and the only option for "Type" will be "Cooper."&nbsp;Check "Apply" to enable spacing controls and use interval size 0.8 to mesh these volumes.

 

!57.jpg!

 

You should have a mesh structure that resembles the four points of view displayed above.\\

Go to [Step 3. Mesh Geometry in Gambit|https://confluence.cornell.edu/display/SIMULATION/FLUENT+-+Turbulent+Flow+Past+a+Sphere+-+Step+3]&nbsp;\\

[Go to all FLUENT Learning Modules|https://confluence.cornell.edu/display/SIMULATION/FLUENT+Learning+Modules]&nbsp;