CAETraining (Fluid)
CAETraining (Fluid)
CAETraining (Fluid)
Keerati Sulaksna
Phattharaphan Thamatkeng
School of Mechanical Engineering
Suranaree University of Technology
PART II
Table of Contents
What is Computational fluid dynamics
1
2
3
Student Project
Flow around A380 Airplane
Flyak
Toolbox Window
10
Pre-Processing
Working on a New Project
Creating the Geometry in ANSYS DesignModeler
11
13
19
24
25
Post-processing
Graphics and Animations
30
33
34
Creating Geometry
35
Meshing
37
39
Solution
40
Run Calculation
45
Post-processing
46
Channel Flow
Problem Specification
Creating Geometry
54
35
Meshing
57
59
Solution
59
Run Calculation
61
Post-processing
62
65
66
Meshing
67
69
Solution
70
Run Calculation
72
Post-processing
72
77
79
Meshing
80
82
Solution
83
Run Calculation
85
Post-processing
85
91
91
Meshing
98
101
Solution
101
Run Calculation
104
Post-processing
104
107
107
Meshing
108
108
Solution
108
Run Calculation
112
Post-processing
112
116
Pre-processing
Grid Modeling
- Numerical formula
- Set boundary regions
- Governing equations
- 3D/2D modeling
- Generation of grid
Solving
Post-processing
PDE
(Governing Equations)
Discretization
Algebraic Equations
(+ - )
Applications of CFD
Biomechanics
Electronics
Environmental Engineering
Civil Engineering
Agricultural Engineering
Student Project
km/hr. the tunnel size of 6.4m and eight train bogies are investigated in simulation. the
project operational were analyzed by means of CFD method. The initial, create the head
coach of bullet train by using SolidWorks 2013 program. Then simulation and analysis of fluid
dynamics using Ansys Fluent 14.0 program. the results showed that a original coach have
pressure darg more than a kingfisher coach. and shear forces acting on the front coach of the
kingfisher can reduce the shear forces acting on the front coach down. and a maximum
pressure occurs at the front of the kingfisher coach can reduce which a kingfisher coach
through quiet sound to tunnel. and so causes a kingfish coach better original coach.
Flyak
The boating Speed is important. Such as Kayaking, one of the variables that affect
the speed of kayaking is drag force .Drag force arises partly from the surface of the kayak and
water. Reduction between surface of the kayak and water is one of choice to reduce drag
force with Lift force from Hydrofoil .Hydrofoil will install under kayak for generate lift force to
rise kayak floating up water surface. This project is a study of simulation and analysis of the
kayak was equipped with hydrofoil. The objectives want to design about size and location of
the hydrofoil for install on kayak. And to see about the behavior of water flow through the
kayak. Comparison between the drag coefficient of kayak without hydrofoil and kayak is
equipped with hydrofoil. The simulation and analysis of fluid dynamics using Ansys Fluent
12.0 program by velocity of flow is 5.5 meters per second ,type of hydrofoil using the
NACA0012 and choose the angle of attack is 8 degree because at this angle give lift force
enough to floating up kayak from water surface. From result of simulation, drag force of
kayak is equipped with hydrofoil has drag force less than kayak without hydrofoil. And from
this result showed drag force can reduce from the surface of the kayak and water by this
method. In addition of drag force from the surface of the kayak and water ,A drag force are
not considered in the simulation and analysis of fluid dynamics with Ansys Fluent 12.0. That
is one of drag force from wave drag. If other project will study about simulation of kayak or
boat, drag force from wave will should be taken into consideration.
Introduction to ANSYS Workbench
Welcome to the world of Computer Aided Engineering (CAE) with ANSYS Workbench.
If you are a new user, you will be joining hands with thousands of users of this Finite
Element Analysis software package. If you are familiar with the previous releases of this
software, you will be able to upgrade your designing skills with tremendous improvement in
this latest release.
System Requirements
The following are minimum system requirements to ensure smooth functioning of ANSYS
Workbench on your system:
- Operating System: Windows 64-bit (Windows XP 64 SP2, Windows Vista 64 SP1,
Windows7, Windows HPC Server 2008 R2), Windows 32-bit (Windows XP SP2,
Windows Vista SP1, Windows 7)
- Platform: Intel Pentium class, Intel 64 or AMD 64.
- Memory: 1 GB of RAM for all applications, 2GB for running CFX and FLUENT.
- Graphics adapter: Should be capable of supporting 1024x768 High Color (16-bit).
ANSYS Workbench
10
Titlebar
MenuBar
Standard toolbar
Project Schematic window
Toolboxes
Status bar
11
Toolbox Window
The Toolbox window is located on the left in the Workbench window. The
Toolbox window lists the standard and customized templates or the individual analysis
components that are used to create projects. To create a project, drag a particular analysis
or component system from the Toolbox window and drop it into the Project Schematic
window. Alternatively, double-click on a particular analysis or component system in the
Toolbox window to add it to the Project Schematic window and to create the project.
Pre-Processing
Working on a New Project.
To start working on a new project, you need to add an appropriate analysis or
component system to the Project Schematic window.
12
2. Create a new FLUENT fluid flow analysis system by double-clicking the Fluid
Flow (FLUENT) option under Analysis Systems in the Toolbox.
Tip
can also drag-and-drop the analysis system into the Project Schematic. A green
dotted outline indicating a potential You location for the new system initially appears in the
Project Schematic. When you drag the system to one of the outlines, it turns into a red box
to indicate the chosen location of the new system.
13
14
Menu bar
Title bar
Tree Outline
Sketching tab
Modeling tab
Triad
ISO ball
Ruler
Status bar
15
and then click the blue z-axis at the bottom-right corner of the Graphics window to get front
view of the X-Y plane
Click the Sketching tab below the Tree Outline box, and select Settings in the Sketching
Toolboxes. select Grid, and enable the Show in 2D and the Snap options.
16
2D-Geometry
To creating the geometry with ANSYS DesignModeler, the steps are following:
1. Creating line.
Now the canvas is ready for us to sketch our geometry. Click the Draw menu in the Sketching
Toolboxes, and then select Rectangle.
17
2. Creating Surface.
Now we create a surface body Click Concept Surfaces From Sketches.
18
2D Geometry
Step 2 : Meshing the Geometry in the ANSYS Meshing Application
Open the ANSYS Meshing application :To start the meshing process, right click the
Mesh menu in the Project Schematic window and select Edit to open ANSYS Meshing.
19
ANSYS Meshing
Tip
You can double-clicking the Mesh menu in the Project Schematic window to open
ANSYS Meshing.
that the geometry we just created is automatically loaded.
20
Mesh Edge
STEPS :
1. Set some basic meshing parameters for the ANSYS Meshing application : Then
using edge selector and right clicking InsertSizing
2. Mesh Edges
21
Mesh Face
STEPS :
Now you can create Mesh by right clicking Mesh in Outline Box select Generate
Mesh or click Generate Mesh on Menu bar
.
Mesh
22
Uniform Meshing
STEPS:
1. Back to the step of Mesh Edge process.
2. At Mesh EdgesBias TypeBias Factor : 5
3. Repeat the process for the rest Edge with the same value of the Bias Factor.
23
5A. Now you can create Mesh by right clicking Mesh in Outline Box select Generate
Mesh or click Generate Mesh on Menu bar
.
Unstructured Meshing
4B. Right click on Mesh inOutline box Select InsertMethod
Details of "Automatic Method"-Method dialog box
Select Geometry and click Apply.
Method : Triangles
5B. Now you can create Mesh by right clicking Mesh in Outline Box select Generate
Mesh or click Generate Mesh on Menu bar
.
24
Dinosaur mesh
25
Setup
When ANSYS FLUENT is first started, the FLUENT Launcher is displayed, enabling you
to view and/or set certain ANSYS FLUENT start-up options.
26
That the Dimension setting is already filled in and cannot be changed, since ANSYS
FLUENT automatically sets it based on the mesh or geometry for the current system.
- Make sure that Serial from the Processing Options list is enabled.
- Make sure that the Display Mesh After Reading, Embed Graphics Windows, and
Workbench Color Scheme options are enabled.
- Make sure that the Double Precision option is disabled.
Click OK to launch ANSYS FLUENT.
The mesh is automatically loaded and displayed in the graphics window by default
27
That the ANSYS Meshing application automatically converts and exports meshes for
ANSYS FLUENT using meters (m) as the unit of length regardless of what units were used to
create them. This is so you do not have to scale the mesh in ANSYS FLUENT under ANSYS
Workbench.
Check the mesh.
General Check
ANSYS FLUENT will report the results of the mesh check in the console.
Domain Extents:
x-coordinate: min (m) = 0.000000e+00, max (m) = 1.000000e+00
y-coordinate: min (m) = 0.000000e+00, max (m) = 1.000000e+00
Volume statistics:
minimum volume (m3): 6.249988e-04
maximum volume (m3): 6.250018e-04
total volume (m3): 1.000000e+00
Face area statistics:
minimum face area (m2): 2.499998e-02
maximum face area (m2): 2.500004e-02
Checking mesh.........................
Done.
The minimum and maximum values may vary slightly when running on different
platforms. The mesh check will list the minimum and maximum x and y values from the
mesh in the default SI unit of meters. It will also report a number of other mesh features
that are checked. Any errors in the mesh will be reported at this time. Ensure that the
minimum volume is not negative as ANSYS FLUENT cannot begin a calculation when this is
the case.
3.2. Models for the CFD simulation.
Models
28
29
MonitorsResiduals
Monitors
Solution InitializationInitialize
30
Post-processing
Graphics and Animations
31
32
Channel Flow
33
Moving wall : U
H=1
L=1
Cavity Flow
34
1.2 Setting geometry properties by right-clicking on geometry and then change Analysis Type
from 3D to 2D(if you want to use 2D Analysis)
35
2. Creating Geometry
Start ANSYS DesignModeler. In the ANSYS Workbench Project Schematic, doubleclick the Geometry,
Now the canvas is ready for us to sketch our geometry. Click the Draw menu in the
Sketching Toolboxes, and then select Rectangle.
36
37
2D Geometry
3. Meshing the Geometry in the ANSYS Meshing Application
Open the ANSYS Meshing application :To start the meshing process, right click the
Mesh menu in the Project Schematic window and select Edit to open ANSYS Meshing.
38
ANSYS Meshing
Tip
You can double-clicking the Mesh menu in the Project Schematic window to open
ANSYS Meshing.
that the geometry we just created is automatically loaded.
39
Now you can create Mesh by right clicking Mesh in Outline Box select Generate
Mesh or click Generate Mesh on Menu bar
.
Mesh
40
Create named selections for the geometry boundaries : Right-click the top edge and
select the Create Named Selection option. In the Selection Name dialog box, enter Moving
wall for the name and click OK.
Perform the same operations for: lift, Right and bottom edge enter wall for the
name and click OK.
41
Setup
When ANSYS FLUENT is first started, the FLUENT Launcher is displayed, enabling you
to view and/or set certain ANSYS FLUENT start-up options.
42
The mesh is automatically loaded and displayed in the graphics window by default
General
That the ANSYS Meshing application automatically converts and exports meshes for
ANSYS FLUENT using meters (m) as the unit of length regardless of what units were used to
create them. This is so you do not have to scale the mesh in ANSYS FLUENT under ANSYS
Workbench.
43
The minimum and maximum values may vary slightly when running on different
platforms. The mesh check will list the minimum and maximum x and y values from the
mesh in the default SI unit of meters. It will also report a number of other mesh features
that are checked. Any errors in the mesh will be reported at this time. Ensure that the
minimum volume is not negative as ANSYS FLUENT cannot begin a calculation when this is
the case.
4.2. Set up your models for the CFD simulation.
ModelsViscousLaminarOK
44
45
MonitorsResiduals
46
Solution InitializationInitialize
5. Run Calculation
- Number of Iterations : 2000
- Reporting Interval : 10
- Profile Update Interval : 10
- Click Calculate
47
As the calculation progresses, the surface monitor history will be plotted in the
graphics window
graphics window
The solution will be stopped by ANSYS FLUENT when the residuals reach their
specified values or after 2000 iterations. The exact number of iterations will vary depending
on the platform being used. An Information dialog box will open to alert you that the
calculation is complete. Click OK in the Information dialog box to proceed.
5. Displaying Results in ANSYS FLUENT and CFD-Post
Start CFD-Post : In the ANSYS Workbench Project Schematic, double-click the
Results cell in the 2D fluid flow analysis system. This displays the CFD-Post application. You
can also right-click the Results cell to display the context menu where you can select the
Edit... option.
48
Displaying Vectors.
- Insert a vector object using the Insert menu item at the top of the CFD-Post window.
Insertvector
- Keep the default name of the vector (Vector 1) and click OK to close the dialog
box. This displays the Details of Vector 1 view below the Outline view.
- In Geometry Tab Select All Domains in the Domains list.
- Select symmetry 1 in the Locations list.
- Select Velocity in the Variable list.
- Select Normalize Symbol in Symbol Tab.
- Click Apply.
49
Displaying Contour.
- Insert a contour object using the Insert menu item at the top of the CFD-Post window.
InsertContour
This displays the Insert Contour dialog box.
- Keep the default name of the contour (Contour 1) and click OK to close the dialog box.
This displays the Details of Contour 1 view below the Outline view in CFD-Post. This
view contains all of the settings for a contour object.
- In the Geometry tab, select All Domains in the Domains list.
- Select symmetry 1 in the Locations list.
- Select Velocity in the Variable list.
- # of Contours : 20
- Click Apply.
50
Displaying Streamlines.
- Insert a streamline object using the Insert menu item at the top of the CFD-Post window.
InsertStreamline
- Keep the default name of the streamline (streamline 1) and click OK to close the dialog
box. This displays the Details of streamline 1 view below the Outline view in CFD-Post.
This view contains all of the settings for a streamline object.
- In the Geometry tab, select Surface Streamline in the Domains list.
- Select symmetry 1 in the Surfaces list.
- Select Velocity in the Variable list.
- # of points : 80
- Click Apply.
Streamlines
51
52
53
54
55
H=0.2
p=1 atm
L=8m
Boundary layer
u(y
Entrance region
Determine the centerline velocity, wall skin friction coefficient, and velocity profile
at the outlet (fully develop profile) compare with exact solution
Exact solution :
u(y) =
56
Boundary conditions
Velocity inlet
y
Pressure outlet
Fixed wall
Full Domain
H
L=8
Velocity inlet
x
y
Symmetry
Pressure outlet
Haft Domain
h = H/2
Fixed wall
1. Creating Geometry
Click the Draw menu in the Sketching Toolboxes, and then select Rectangle.draw
the Rectangle by first clicking on the coordinate origin, and then move the cursor obliqueto
create Rectangle(0.2x8 m). You can setting dimension by selectYou can setting dimension by
select Dimensions on Sketching Toolbox.
57
58
Set some basic meshing parameters for the ANSYS Meshing application :Then using
edge selector
Create Mesh Edge
1. Press Ctrl on keyboard Left click select left and right edge and right clicking
InsertSizing.
Details of "Edge Sizing"-Sizing dialog box
Type : Number of Divisions
Number of Divisions : 25
Bias Type :
Bias Factor :4
59
left edge
right edge
60
5. Now you can create Mesh by right clicking Mesh in Outline Box select Generate Mesh or
click Generate Mesh on Menu bar
.
61
General
Solver : Pressure Based
Time : Steady
Velocity Formulation : Absolute
2D Space : Planar
3.2. Set up your models for the CFD simulation.
ModelsViscousLaminarOK
3.3. Set up your materials for the CFD simulation.
Materials air
Density (kg/m3) :100
Viscosity (kg/m-s) :0.2 This setting is for the flow condition of Re=100
Click Change/CreateClose
3.4. Set up the boundary conditions for the CFD analysis.
Boundary Conditions
Zones: left click on name Velocity inlet.
Velocity Magnitude (m/s): 1
Click OK
Zones: left click on name Pressure outlet.
Gauge Pressure (Pascal): 0
Click OK
3.5. Set up solution parameters for the CFD simulation.
Solution
Solution Methods : Pressure-Velocity Coupling : SIMPLE
Spatial Discretization: Pressure : Standard
Momentum :Second Order Upwind
Solution Controls:
62
MonitorsResiduals
- Make sure that Plot is enabled in the Options group box.
- Keep the default values for the Absolute Criteria of the Residuals,
as shown in the Residual Monitors dialog box.
- Click OK to close the Residual Monitors dialog box
.
Solution InitializationInitialize
- Initialization Method :Standard Initialization
- All are initialized with 0
- Click Initialize
4. Run Calculation
- Number of Iterations: 2000
- Reporting Interval: 10
- Profile Update Interval : 10
- Click Calculate
graphics window
63
Displaying Contour.
InsertContour
Keep the default name of the contour (Contour 1) and click OK to close the dialog
box. This displays the Details of Contour 1 view below the Outline view in CFD-Post. This
view contains all of the settings for a contour object.
- In the Geometry tab, select All Domains in the Domains list.
- Select symmetry 1in the Locations list.
- Select Velocity in the Variable list.
- # of Contours :30
- Click Apply.
64
Note
We can see that the maximum velocity at the midline is approached to 1.5 at
the exit plane.
65
Practice A1
Channel Flow with Haft Domain
According the channel flow as previous consideration. Try again with the with the
haft domain size
Results
Displaying Vectors.
Displaying Contour.
66
Uin
h=H/2
H=0.1 m
L=1 m
Reattachment point
Velocity inlet
Symmetry
Outlet
Wall
Determine a reattachment point of the flow with Reynolds numbers of 200 and 600
67
1. Creating Geometry
Click the Draw menu in the Sketching Toolboxes, and then select Line. Draw the
Rectangle. You can setting dimension by select setting dimension by select Dimensions on
Sketching Toolbox.
68
Set some basic meshing parameters for the ANSYS Meshing application :Then using
edge selector
69
70
Create named selections for the geometry boundaries : Right-click edge and select
the Create Named Selection option.
Selection Name dialog box.
Top Edge :Symmetry
Bottom Edge and Left(bottom) Edge : Wall
Left(top) Edge : Velocity Inlet
Right Edge (Outlet) :Outflow
71
General
Solver : Pressure Based
Time : Steady
Velocity Formulation : Absolute
2D Space : Planar
72
Solution Controls:
MonitorsResiduals
- Make sure that Plot is enabled in the Options group box.
- Keep the default values for the Absolute Criteria of the Residuals,
as shown in the Residual Monitors dialog box.
- Click OK to close the Residual Monitors dialog box.
73
Solution InitializationInitialize
- Initialization Method :Standard Initialization
- All are initialized with 0
- Click Initialize
4. Run Calculation
- Number of Iterations: 2000
- Reporting Interval: 10
- Profile Update Interval : 10
- Click Calculate
5. Displaying Results in ANSYS FLUENT and CFD-Post
Displaying Contour.
InsertContour
Keep the default name of the contour (Contour 1) and click OK to close the dialog
box. This displays the Details of Contour 1 view below the Outline view in CFD-Post. This
view contains all of the settings for a contour object.
- In the Geometry tab, select All Domains in the Domains list.
- Select symmetry 1in the Locations list.
- Select Velocity in the Variable list.
- # of Contours : 30
- Click Apply.
74
Displaying Streamlines.
- Insert a streamline object using the Insert menu item at the top of the CFD-Post window.
InsertStreamline
- Keep the default name of the streamline (streamline 1) and click OK to close the dialog
box. This displays the Details of streamline 1 view below the Outline view in CFD-Post.
This view contains all of the settings for a streamline object.
- In the Geometry tab, select Surface Streamline in the Domains list.
- Select symmetry 1in the Surfaces list.
- Select Velocity in the Variable list.
- # of points :100
- Click Apply.
75
76
Practice A2
Flow over a Car Model
Specification:
- Car model with dimensioning size as shown in the figure is running with a
constant speed of 56 km/h.
- The fluid density =1.2 kg/m3 and viscosity =1x10-5 kg/(ms)
- Determine the domain size for simulating the flow problem here.
- Simulate the flow behavior over the model car with above flow conditions.
Free Stream
Inlet
H=?
Outlet
Wall
L1 = ?
L0
L2 = ?
Car Dimension
Boundary Condition
Wall
outlet vent
(gauge pressure=0)
Velocity inlet
Symmetry
77
Results
Displaying Streamline
Streamline of Velocity
Contours of Velocity
Contours of Pressure
Scheme: 2nd Order Upwind
Drag: 276 N
78
Problem Specification
Re < 5
5 < Re < 40
79
Consider the steady state case of a fluid flowing past a cylinder, as illustrated above.
Obtain the velocity and pressure distributions when the Reynolds number is chosen to be 30
In order to simplify the computation
- The cylinder diameter of D=0.1 m
- The uniform inlet velocity Uin=1 m/s The fluid density =30 kg/m3
and viscosity =0.1 kg/(ms)
- The Reynolds number based on channel height can be calculated from
Re= UinH/ =30
Note
- Determine the flow field behavior at Reynolds number of 30
- Observe the distribution of pressure field around the cylinder
Inlet
Wall
L1
H
Free stream
L2
Outlet
Free stream
80
1. Creating Geometry
Create a circle, centered around the origin in the xy plane. Set the diameter of the
circle to 0.1 m. And Create a rectangular follow the picture.
81
82
83
Create named selections for the geometry boundaries : Right-click edge and select
the Create Named Selection option.
84
85
86
Solution Controls:
MonitorsResiduals
- Make sure that Plot is enabled in the Options group box.
- Keep the default values for the Absolute Criteria of the Residuals,
as shown in the Residual Monitors dialog box.
- Click OK to close the Residual Monitors dialog box.
Solution InitializationInitialize
- Initialization Method : Standard Initialization
- All are initialized with 0
- Click Initialize
4. Run Calculation
- Number of Iterations: 2000
- Reporting Interval: 10
- Profile Update Interval : 10
- Click Calculate
5. Displaying Results
Displaying Streamlines.
Graphics and AnimationsPath lines
- Style : line
- Color by : Velocity Magnitude
- Step Size (m) : 0.01
- Steps : 20
- Path Skip : 3
- Release from Surfaces : Select All
- Click Display
87
Circulation zone
Stagnation points
Separation points
88
A
B
D
C
Stagnation points
B (Stagnation)
D
A
89
Practice A3
Flow over a Circular Tube Prattle
Symmetry
H
Specification :
- The cylinder diameter of D=0.1 m and space H=D
- The uniform inlet velocity Uin=1 m/s
- The fluid is air with a density =30 kg/m3 and viscosity =0.1 kg/(ms)
- Reynolds number of the flow can be calculated by Re= UinH/=30
Result
Stream lines
Pressure Contour
90
Practice A4
Flow around a Rotating Cylinder
Specification :
- The cylinder with diameter of D=0.1m is rotated clockwise with a constant angular
velocity is -10 rad/s (CW)
- The uniform inlet velocity Uin=1 m/s
- The fluid is air with a density =20 kg/m3 and viscosity =0.1 kg/(ms)
- Reynolds number of the flow can be calculated by Re= UinH/=20
Note
- Determine the flow field behavior at Reynolds numbers of 20
- Observe the distribution of pressure around upper and lower surface of
the cylinder and then compare the result with case A5
91
Result
Stagnation points
Streamlines
Pressure Contour
92
1. Creating Geometry
93
Creating Airfoil
First, we will create the geometry of the airfoil. In the menu bar, go to Concept >
3D Curve. In the Details View window, click Coordinates File and select the
ellipsis to browse to a file. Browse to and select the geometry file you downloaded
earlier. Once you have selected the desired geometry file, click
to create the
curve. Click
to get a better look at the curve.
94
Click
Outline Window, select the new coordinate system you created (defaulted to Plane 4),
then click
to create a new sketch. This will create a sketching plane on the XY plane
with the tail of the airfoil as the origin. At the bottom of the Tree Outline Window, click
the Sketching tab to bring up the sketching window.
95
The first action we will take is create the arc of the C-Mesh domain.
Click
. The first click selects the center of the arc, and the next two clicks
determine the end points of the arc. We want the center of the arc to be at the tail of the
airfoil. Click on the origin of the sketch, making sure the P symbol is showing
For the end points of the arc, first select a point on the vertical axis above the origin
(a C symbol will show), then select a point on the vertical axis below the origin. You should
end up with the following
96
97
Create Quadrants
In the final step of creating the geometry, we will break up the new surface into 4
quadrants; this will be useful for when we want to mesh the geometry. To begin,
select Plane 4 in the Tree Outline Window, and click . Open the sketching menu, and
select
. Draw a line on the vertical axis that intersects the entire C mesh. Trim
away the lines that are beyond the C-Mesh, and you should be left with this
98
Next, go to Concepts > Lines from Sketches. Select the line you just drew and
click Base Objects > Apply, followed by
. Now that you have created a vertical
line, create a new sketch and repeat the process for a horizontal line that is collinear to
horizontal axis and bisects the geometry.
Now, we need to project the lines we just created onto the surface. Go to Tools >
Projection. Select Edges press Ctrl and select on the vertical line we drew (you'll have to
select both parts of it), then press Apply. Next, select Target and select the C-Mesh
surface, then click Apply.
Once you click
, you'll notice that the geometry is now composed of two
surfaces split by the line we selected. Repeat this process to create 2 more projections: one
projection the line left of the origin onto the left surface, and one projecting the right line on
the right surface. When you're finished, the geometry should be split into 4 parts.
99
The geometry is finished. Save the project and close the design modeler, as we are
now we are ready to create the mesh for the simulation.
2. Meshing the Geometry in the ANSYS Meshing Application
Open the ANSYS Meshing application :To start the meshing process, right click the
Mesh menu in the Project Schematic window and select Edit to open ANSYS Meshing.
That the geometry we just created is automatically loaded.
100
101
Mesh Control > Mapped Face Meshing. select all four faces by holding down
the right mouse button and dragging the mouse of all of the quadrants of the geometry.
When all of the faces are highlighted green, in the Details view Window select Geometry
> Apply.
Mesh Control > Method select all four faces. In the Details view Window
select Geometry > Apply.
- Method : Uniform Quad
- Element Size : 1 m
5. Now you can create Mesh by right clicking Mesh in Outline Box select Generate Mesh or
click Generate Mesh on Menu bar
.
102
Create named selections for the geometry boundaries : Right-click edge and select
the Create Named Selection option.
103
Fluent Launcher Window should open. Check the box marked Double
Precision. To make the solver run a little quicker, under Processing Options we will
select Parallel and change the Number of Processes to 2. This will allow users with a
double core processor to utilize both.
104
General
Solver : Densuty Based
Time : Steady
Velocity Formulation : Absolute
2D Space : Planar
3.2. Set up your models for the CFD simulation.
ModelsViscousInviscidOK
3.3. Set up your materials for the CFD simulation.
Materials air
Density (kg/m3) : 1
Click Change/CreateClose
3.4. Set up the boundary conditions for the CFD analysis.
Boundary Conditions
Zones : left click on name Velocity inlet.
Velocity Specification Method : Components.
X-Velocity (m/s) : 0.9945
Y-Velocity (m/s) : 0.1045
Click OK
Zones : left click on name Outlet. : Pressure Outlet
Gauge Pressure : 1
Click OK
3.5. Set up Reference Values for the CFD simulation.
Compute form : inlet
3.5. Set up solution parameters for the CFD simulation.
Solution
Solution Methods : Pressure-Velocity Coupling : SIMPLE
Spatial Discretization : Pressure : Standard
Momentum : Second Order Upwind
105
Solution Controls:
MonitorsResiduals
- Make sure that Print, Plot is enabled in the Options group box.
- Absolute Criteria : 1x10-6
- Click OK to close the Residual Monitors dialog box.
Solution InitializationInitialize
- Initialization Method : Standard Initialization
- Compute form : inlet
- Click Initialize
4. Run Calculation
- Number of Iterations: 2000
- Reporting Interval: 10
- Profile Update Interval : 10
- Click Calculate
106
5. Displaying Results
Displaying Streamlines.
Graphics and AnimationsPathlines
- Style : line
- Color by : Velocity Magnitude
- Step Size (m) : 50
- Steps : 20
- Path Skip : 3
- Release from Surfaces : Select All
- Click Display
107
Pressure Coefficient
PlotXY Plot
- Options : Node Values (Enabled), Position on X Axis (Enabled)
- Plot Direction: X0, Y1, Z0
- Y Axis Function: PressurePressure Coefficient
- X Axis Function: Direction Vector
- Surfaces : Airfoil
- Click Plot.
108
- Lift Coefficients
X = -0.1045
Y = 0.9945
- Click Print
109
Consider the unsteady state case of a fluid flowing past a cylinder, as illustrated
above Obtain the velocity and pressure distributions when the Reynolds number is chosen
to be 30 In order to simplify the computation
- The cylinder diameter of D=0.1 m
- The uniform inlet velocity Uin=1 m/s The fluid density =200 kg/m3
and viscosity =0.1 kg/(ms)
- The Reynolds number based onchannel height can be calculated from
Re= UinH/ =200
1. Creating Geometry
We can skip the geometry step, because it is the same as the "Steady Flow Past a
Cylinder" geometry and we have already duplicated that project.
110
Open Setup window. The mesh is automatically loaded and displayed in the
graphics window by default
111
General
Solver : Pressure Based
Time : Transient
Velocity Formulation : Absolute
2D Space : Planar
112
Solution Controls:
MonitorsResiduals
- Make sure that Plot is enabled in the Options group box.
- Keep the default values for the Absolute Criteria of the Residuals,
as shown in the Residual Monitors dialog box.
- Click OK to close the Residual Monitors dialog box.
Solution InitializationInitialize
- Initialization Method : Standard Initialization
- Compute from : Inlet
- Click Initialize
SolutionCalculation ActivitiesSolution Animations
Click Create/Edit
113
114
4. Run Calculation
- Time Step Size : 1 s
- Number of Time Steps : 120
- Max Iterations/Time Step : 500
- Reporting Interval : 10
- Profile Update Interval : 10
- Click Calculate
115
5. Displaying Results
ResultsGraphics and AnimationsAnimationsSolution Animations
PlaybackSet Up
Click Play
Results of Pathlines
116
In this tutorial, we will show you how to simulate flow past Dolphin, and how to
import geometry from solid work. when the Reynolds number is chosen to be 10000 In order
to simplify the computation
- The Dolphin length of L=1.86 m
- The uniform inlet velocity Uin=53.7634 m/s The fluid density =10 kg/m3
and viscosity =0.1 kg/(ms)
- The Reynolds number based on channel height can be calculated from
Re= UinL/ =10000
117
Outlet
Free stream
Inlet
Wall
Free stream
1. Geometry
Import cad file from solid work, Create a new FLUENT fluid flow analysis system by
double-clicking the Fluid Flow (FLUENT) option under Analysis Systems in the Toolbox.
118
ANSYS Meshing
Tip
You can double-clicking the Mesh menu in the Project Schematic window to open
ANSYS Meshing.
that the geometry we just created is automatically loaded.
119
In this case we use automatic Mesh : Click Generate Mesh on Menu bar
Mesh
120
Create named selections for the geometry boundaries : Right-click the Front face
and select the Create Named Selection option. In the Selection Name dialog box, enter
Velocity inlet for the name and click OK.
121
General
Solver : Pressure Based
Time : Steady
Velocity Formulation : Absolute
3.2. Set up your models for the CFD simulation.
ModelsViscousLaminarOK
3.3. Set up your materials for the CFD simulation.
Materials air
Density (kg/m3) :10
Viscosity (kg/m-s) : 0.1 This setting is for the flow condition of Re=10000
Click Change/CreateClose
3.4. Set up the boundary conditions for the CFD analysis.
Boundary Conditions
Zones : left click on name Velocity inlet.Edit
Velocity Magnitude (m/s) : 53.7634
Click OK
122
Solution Controls:
MonitorsResiduals
- Make sure that Plot is enabled in the Options group box.
- Click OK to close the Residual Monitors dialog box.
Solution InitializationInitialize
- Initialization Method :Standard Initialization
- All are initialized with 0
- Click Initialize
4. Run Calculation
- Number of Iterations: 2000
- Reporting Interval: 10
123
Displaying Streamlines.
- Insert a streamline object using the Insert menu item at the top of the CFD-Post window.
InsertStreamline
- Keep the default name of the streamline (streamline 1) and click OK to close the dialog
box. This displays the Details of streamline 1 view below the Outline view in CFD-Post.
This view contains all of the settings for a streamline object.
- In the Geometry tab, in the Domains list. Select All Domains.
124
Stream line