Professional Documents
Culture Documents
Infinite Stationary
Cylinder
Objectives
This tutorial covers the following subjects in detail:
• Loading a DTF file into CFD-ACE-GUI.
• Setting properties of a fluid.
• Setting Boundary and Initial conditions.
• Setting Solution Controls such as iteration count; requesting graphics output etc.
• Submitting the model for solution.
• Post-processing for drag force.
Assumptions (requirements) for working this tutorial:
1. You are working in the directory where the tutorial problem resides.
Problem Description
U = 1.0 m/s
D = 0.2 m
The problem to be simulated consists of laminar flow at a Reynolds number of 1.0 around an
infinite stationary cylinder. The “infiniteness” of the cylinder is captured by performing a 2D
simulation (i.e. thus assuming it to be infinite in the 3rd dimension.) The goal of the simulation is to
determine the drag force on the cylinder.
The Reynolds number can be calculated as:
UD
Re = --------- ,
n
where U is the average inlet velocity, D is the cylinder diameter, and n is the kinematic viscosity.
For this simulation the cylinder diameter is 0.2 m. We will use an inlet velocity of 1.0 m/s and a
kinematic viscosity of 0.2 m2/s2 to produce the desired Reynolds number of 1.0.
Procedure
1. Load the DTF File.
From the File menu, select Open or click A File Open dialog box appears showing the
on the open button located on the tool bar. files in the current directory.
Select the file named “cylinder.DTF” and press The DTF file is read into CFD-ACE-GUI and a
the “Accept” button to read the file. wireframe outline of the model appears in the
viewing window.
Note that since we expect a symmetric solution,
we have only gridded one-half of the geometry.
This is done to save computational time.
The control panel on the right is in the Problem
Type (PT) setting mode.
Select the option “Simulation Properties...” from A “Simulation Properties” window will appear.
the right-click menu.
In the General tab, change the Description type- The title will be echoed to the model output file
in field to “Reynolds Number = 1” when the solution is run.
Activation of the Flow Module implies solution of the U, V, and Pressure Correction equations for
this 2D simulation
Under the Shared tab ensure the following: These are generally the defaults.
• Time Dependence set to Steady.
• Gravity and Rotation body forces are off.
• Polar option set to Non Axisymmetric.
Under the Flow tab ensure the following;
• Simplified Flow Model is off
• Slip Walls is off
• Reference pressure is 100000
There is only one fluid volume condition. Pick The volume condition is highlighted in the
the fluid VC from either the Viewer Window or Viewer Window. The Control Panel changes to
the VC explorer. show the volume condition properties.
Assign the following property values in the VC
panel:
• Setting Mode: Properties
• Density: Constant, 1.0 kg/m3
• Viscosity: Constant (Kinematic), Nu = 0.2 m2/s
• Click Apply.
Ensure that the Setting Mode is set to General. The Boundary Condition Page has several
setting modes. The General mode allows us to
assign the values of each boundary condition.
In the BC Explorer, locate and select the BC The position of the inlet (assigned when the grid
type “Inlet”. was generated in CFD-GEOM) is highlighted in
bold in the Viewer Window.
In the panels that open up on the right side, assign the
following values:
• Fixed Vel. (Cartesian)
• X-Direction Velocity: Constant, U=1.0 m/s
• Y-Direction Velocity: Constant, V=0 m/s
• Pressure: Constant, P = 0 N/m2
• Temperature: Constant, T = 300 K
• Click Apply to accept the assigned values.
In the explorer window, locate and select the The position of the Outlet is highlighted in bold
boundary type ‘Outlet’. in the Viewer Window.
Ensure that “Fixed Pressure” is selected (default) in
the drop-down menu of the Flow tab and assign the
following values:
Under the Iterations tab, set the number of This instructs the solver to run through the main
solver iterations to 200. iteration loop 200 times. The full set of
equations will be solved at each iteration and we
will look for a 3-5 order of magnitude drop in
the residuals for each equation solved.
Under the Graphics tab, select any desired These variables will be written to the DTF file at
variables to be output to the DTF file for post- the frequency specified under the Output tab.
processing in CFD-VIEW. For this simulation, The variables will be interpolated to the grid
the following variables are of interest: nodes from the cell-centered values computed
by the solver.
• Velocity Vector
• Static Pressure
• Total Pressure
• Stream Function
Press the “Submit to Solver” button to start the A dialog panel is presented.
solution process.
Because we have modified the simulation data The data is saved to cylinder.DTF and the solver
during the solution setup process, the data must is started.
first be saved to a DTF file before the solver can
start. Press the “Submit Job Under Current
Name” button to save the information and to
launch the flow solver using that same file.
You can press the “View Residuals” and “View
Output” buttons to see real-time displays of the
residual history and output file contents.
V-m/s
• Group Inlets together, Top1-4 and Bottom1-4 together, Outlets together, and Walls together
• Select Inlet -> Flow -> Fixed Vel. (Cartesian) -> X-Direction Velocity: Constant 1 m/s
• Select Top1 -> Flow -> Farfield -> X-Direction Velocity: Constant 1 m/s
• Select Outlet -> Default Settings