Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Standard view
Full view
of .
0 of .
Results for:
P. 1
CFX Tutorial Ductflow Laminar

# CFX Tutorial Ductflow Laminar

Ratings: (0)|Views: 90 |Likes:
CFX totorial for laminar ductflow
CFX totorial for laminar ductflow

### Availability:

See more
See less

11/25/2012

pdf

text

original

ANSYS CFX Tutorial Laminar Flow in a Rectangular Duct 14 October 2010 V3.30Department of Mechanical and Manufacturing Engineering Page 1 of 22University of Manitoba
ANSYS CFX TutorialLaminar Flow in a Rectangular Duct
Scott J. OrmistonJeffrey R. BergV3.3014 October 2010

ANSYS CFX Tutorial Laminar Flow in a Rectangular Duct 14 October 2010 V3.30Department of Mechanical and Manufacturing Engineering Page 2 of 22University of Manitoba
Introduction

This tutorial has been adapted from a tutorial created by Jeff Berg (M.Sc. student) in 2004. That tutorial was based on running the CFX-TASCflow (V2.11)
rct.lam
tutorial in CFX-5 (v5.7). The original comparisons between TASCflow and CFX-5 have been removed in this version.
Geometry Nomenclature
The duct has a length,
x
L
, a depth
y
L
, and a height,
z
L
.The duct length is aligned with the
x
axis, the depthwith the
y
axis, and the height with the
z
axis. The flow is assumed to be symmetric about a plane that bisects theduct in the y-direction and therefore only half the duct is modelled. One corner of the duct is assumed to lie atthe origin. Figure 1 below shows the duct geometry. When the geometry was defined in the creation of thecomputational mesh, all faces of the domain were assigned names. The names of the inlet and outlet planes (at
0
=
x
and
x
L x
=
) are
RCT W
and
RCT E
, respectively. The names of the planes at
0
=
y
and
y
L y
=
are
RCT S
and
RCT N
, respectively. The names of the planes at 0
=
z
and
z
L z
=
are
RCT B
and
RCT T
, respectively.
Figure 1: Rectangular Duct Geometry
Problem Definition
The problem is a laminar, incompressible, constant property flow of water in a rectangular duct. The code will be run with the heat transfer model turned off (even though an alternative approach would be to run the codewith the heat transfer model as “isothermal” and specify the desired temperature for an isothermal flow). Theflow is modelled with a rectilinear uniform grid for half the domain using symmetry in the
y
direction.The problem parameters are:

Mass flow = 3.962 x 10
-2
[kg / s] for the full duct. The mass flow rate at the inlet of the half duct istherefore 1.981 x 10
-2
[kg / s].

Density = 997.0 [kg / m
3
].

Viscosity = 8.899 x 10
-4
[kg / m s].

Duct length = 2.00 m (
x
L
).

Duct depth = 0.40 m (
y
L
). Actual grid height is 0.20 m due to symmetry.

Duct height = 0.30 m (
z
L
).

Hydraulic diameter of the duct
h D
, is 0.34286 m.

Reynolds number based on the hydraulic diameter is 127.2.

ANSYS CFX Tutorial Laminar Flow in a Rectangular Duct 14 October 2010 V3.30Department of Mechanical and Manufacturing Engineering Page 3 of 22University of Manitoba
Features
This tutorial demonstrates how to:

Import a grid (from CFX-TASCgrid)

Specify Boundary Conditions

Solve the Problem

Do some post-processing of the results
Setup
First, create a new directory in your file space called
cfxtutorial
. Make sure that the path to this directorydoes not contain any space characters. Spaces in a directory name or path will cause an error message in CFX (inaddition, a hyphen cannot be used in the simulation name). Make this new directory your current directory (i.e.,
cd
” to that directory).The grid for this tutorial has been pre-generated. It was created in software called CFX-TASCgrid, which was part of the CFX-TASCflow set of programs. For the purposes of this tutorial, the completed grid will beimported to CFX. The completed grid is in a file called
rct.grd

that can be copied to your current directoryusing:
cp -p ~engsjo/pub/mech-4822/cfxtutorial/rct.grd ./
or it can be copied (it is inside a zip file called
cfxtutorial_rct_grd.zip
) from a link in the following part of the course web page:
http://home.cc.umanitoba.ca/~engsjo/teaching/Tutorials/index.htm#cfxtutorial
This grid has uniform mesh spacing and 30, 10, and 15 nodes in each of the
x, y
, and
z
directions, respectively.
These instructions assume that:1.

The user has modified (customised) his/her Unix account as indicated by the course instructor.2.

The user is connected to a Linux-based server or workstation using
vncviewer
. Examples of suitableLinux machines (with suffix .
cc.umanitoba.ca)
are
gaia, moon,

grid06
,
grid07
,
grid08
,
grid09
,
and

grid10
.3.

The version of the software is ANSYS CFX v12.1.The CFX launcher can be started by typing:
Cfx5 &
and then using the buttons for CFX-Pre, CFX-Solver, and CFD-Post.In the past, two synonyms were used for running the pre-processor (
cfx5pre
) and the post-processor (
cfx5post
) in a
vncviewer
environment:

vnc-cfxpre
(which is equivalent to
cfx5pre -gr mesa&

)

vnc-cfxpost
(which is equivalent to
cfx5post -gr mesa&
)to obtain correct graphical images when using
vncviewer
. These can still be used as an alternative to thelauncher.