Documente Academic
Documente Profesional
Documente Cultură
14. 5 Release
Introduction
In this workshop you will be analyzing the effect of computers and workers on the temperature distribution in an office. In the first stage airflow through the supply air ducts will be simulated and the outlet conditions for the duct will be used to set the inlet conditions for the room. Although both components could be analyzed together, separating the two components allows different room configurations to be analyzed without solving the duct flow again.
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
2
Postprocessing
Summary
Release 14.5
Operating Conditions
The operating conditions for the flow are given below:
The working fluid is Air Ideal Gas Fluid Temperature = 21 [C] Inlet: 0 [atm] Total Pressure Outlet: 0.225 [kg/s] (per vent)
vent2 Inlet
vent1
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
3
Postprocessing
Summary
Release 14.5
Change the name of the system to duct Save the project as RoomStudy.wbpj in your working directory Double-click Setup
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
4
Postprocessing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
5
Postprocessing
Summary
Release 14.5
Domain
You can now create the computational domain
Switch to the Fluid Models tab Set the Heat Transfer Option to
Isothermal
Heat Transfer is not modeled but since the working fluid is an ideal gas we need to provide a temperature so its properties can be calculated
Set the Fluid Temperature to 21 [C] Click OK to commit the changes to the
domain
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
6
Postprocessing
Summary
Release 14.5
Boundary Conditions
Now create the following boundary
conditions
Pressure (stable) Relative Pressure: 0 [Pa] Name: VENT2 Boundary Type: Outlet Location: VENT2 Mass and Momentum Option: Mass Flow Rate Mass Flow Rate: 0.225 [kg/s]
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
7
Postprocessing
Summary
Release 14.5
Solver Control
Double-click on Solver Control from the Outline tree Enable the Conservation Target toggle
The default Conservation Target is 1%. This means that the global imbalance for each equation must be less than 1% (i.e. (flux in flux out)/flux in < 1%). The solver will not stop until both the Residual Target and the Conservation Target have been met or Max. Iterations is reached.
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
8
Postprocessing
Summary
Release 14.5
Monitor Point
Monitor points are used to monitor quantities of interest during the solution. They should be used to help judge convergence. In this case you will monitor the velocity of the air that exits through one of the vents. One measure of a converged solution is when this air has reached a steady-state velocity.
Keep the default name Monitor Point 1 Set the Option to Expression In the Expression Value field type:
areaAve(Velocity w)@VENT1
Setup
December 17, 2012
Solving
9
Postprocessing
Summary
Release 14.5
Solution
You can now save the project and proceed to write a definition file for the solver
Save the project Right-click Solution and select Edit Click Start Run when the CFX-Solver
Manager appears
Setup
December 17, 2012
Solving
10
Postprocessing
Summary
Release 14.5
Export
Now we will export a Boundary Condition profile from the outlet regions for use in the next simulation.
Select File > Export Change the file name to vent1.csv Use the browse icon to set an appropriate
directory
Set Type as BC Profile and Locations as VENT1 Leave Profile Type as Inlet Velocity and click Save Similarly export a BC profile of VENT2 to the file
named vent2.csv
Setup
December 17, 2012
Solving
11
Postprocessing
Summary
Release 14.5
Summary
The first part of the workshop simulated some upstream ductwork and the exit velocity profiles from the ductwork exit were exported. Now those profiles will be used as the inlet conditions to a larger simulation involving a room with heat sources
vent2
outlet
vent1
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
12
Postprocessing
Summary
Release 14.5
Change the name of the system to room Double-click Setup in the room system
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
13
Postprocessing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
14
Postprocessing
Summary
Release 14.5
Domain
You can now create the computational domain
Edit Default Domain from the Outline tree On the Basic Settings tab set the Fluid 1 Material setting to Air Ideal Gas Set the Buoyancy Option to Buoyant. Set the buoyancy settings as
shown:
Gravity X Dirn. = 0 [ m s^-2 ] Gravity Y Dirn. = 0 [ m s^-2 ] Gravity Z Dirn. = -g (first click the Enter Expression icon Buoy. Ref. Density = 1.185 [ kg m^-3 ]
Buoyancy must be included in order to model natural convection due to density variations. The buoyancy force is represented by a momentum source, which is a function of density differences relative to the buoyancy reference density. The buoyancy reference density should be chosen so that the source is not large. For a single-phase simulation the reference density should be an average value for the domain.
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
15
Postprocessing
Summary
Release 14.5
Domain
Switch to the Fluid Models tab Change the Heat Transfer Option to Thermal Energy Change the Turbulence Model Option to Shear Stress Transport Switch to the Initialization tab Check the Domain Initialization box Set the Temperature Option to Automatic with Value and Temperature to 21 [C]
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
16
Postprocessing
Summary
Release 14.5
Click OK
CFX-Pre reads the file and creates functions that
point to the variables available in the file (see the User Functions section in the Outline tree). These functions can be used in the definition of boundary conditions.
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
17
Postprocessing
Summary
Release 14.5
Boundary Conditions
Now create the following boundary conditions vent1 boundary condition:
Name: vent1 Boundary Type: Inlet Location: VENT1 Select Use Profile Data and choose VENT1 as the Profile Name Click Generate Values Switch to the Boundary Details tab Change the Option for Mass And Momentum to Cart. Vel. Components. Expressions based on the function VENT1 automatically appear Set the Heat Transfer Option to Static Temperature with a value of 21 [C]
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
18
Postprocessing
Summary
Release 14.5
Boundary Conditions
vent2 boundary condition:
Name: vent2 Boundary Type: Inlet Location: VENT2 Select Use Profile Data and choose VENT2 as the Profile Name Click Generate Values Mass And Momentum Option: Cart. Vel. Components Heat Transfer Option: Static Temperature Static Temperature: 21 [C] Name: workers Boundary Type: Wall Location: WORKERS Heat Transfer Option: Temperature Fixed Temperature: 37 [C]
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
19
Postprocessing
Summary
Release 14.5
Boundary Conditions
outlet boundary condition:
Name: outlet Boundary Type: Opening Location: OUTLET Mass and Momentum Option: Opening Pres. And Dirn Relative Pressure: 0 [Pa] Heat Transfer Option: Opening Temperature Opening Temperature: 21 [C] Name: workers Boundary Type: Wall Location: MONITORS Heat Transfer Option: Temperature Fixed Temperature: 37 [C]
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
20
Postprocessing
Summary
Release 14.5
Boundary Conditions
computerVent boundary condition:
Name: computerVent Boundary Type: Inlet Location: COMPUTER1VENT, COMPUTER2VENT, COMPUTER3VENT,
COMPUTER4VENT (to select multiple locations click on Ctrl button while making selection) Mass and Momentum Option: Mass Flow Rate Mass Flow Rate: 0.132 [kg/s] Heat Transfer Option: Static Temperature Static Temperature: 40 [C] and then hold down the
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
21
Postprocessing
Summary
Release 14.5
Boundary Conditions
computerIntake boundary condition:
Name: computerIntake Boundary Type: Outlet Location: COMPUTER1INTAKE, COMPUTER2INTAKE, COMPUTER3INTAKE,
COMPUTER4INTAKE Mass and Momentum Option: Mass Flow Rate Mass Flow Rate: 0.132 [kg/s] Mass Flow Update Option: Constant Flux
This enforces a uniform mass flow across the entire boundary region rather than letting a natural velocity profile develop. It is used here to make sure the flow rate through each intake is the same.
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
22
Postprocessing
Summary
Release 14.5
Solver Control
Edit Solver Control from the Outline tree
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
23
Postprocessing
Summary
Release 14.5
Monitor Point
You will monitor the temperature of the air that exits through the outlet. One measure of a converged solution is when this air has reached a steady temperature.
Edit Output Control from the Outline tree Switch to the Monitor tab and enable the
Monitor Objects toggle
Enter the Name as temp Set the Option to Expression In the Expression Value field type in:
massFlowAve(Temperature)@outlet
Setup
December 17, 2012
Solving
24
Postprocessing
Summary
Release 14.5
Solution
Save the project and write a definition file:
Close CFX-Pre to return to the Project Schematic window and save the project
The solution will take several hours to solve on one processor. To save time a results file is provided with this workshop. The Project Schematic shows that the room Solution has not been completed, so you cannot view the results in CFD-Post yet. To view the results for the file provided youll need to add the results to the project
Set the file filter to CFX-Solver Results File Select the results file provided with this
workshop, room_001.res
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
25
Postprocessing
Summary
Release 14.5
Setup
December 17, 2012
Solving
26
Postprocessing
Summary
Release 14.5
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
27
Postprocessing
Summary
Release 14.5
Setup
December 17, 2012
Solving
28
Postprocessing
Summary
Release 14.5
Temperature Plot
Start by creating a ZX Plane at Y = 1.2 [m] Select Location > Plane from the toolbar
Setup
December 17, 2012
Solving
29
Postprocessing
Summary
Release 14.5
Temperature Plots
Using the same procedure, create several other planes displaying the temperature profile:
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
30
Postprocessing
Summary
Release 14.5
Vector Plots
Plot vectors plots on the planes that you created:
Click Apply
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
31
Postprocessing
Summary
Release 14.5
Further Steps
Time permitting, you may want to try the following:
Observe the density variation at various planes Create a streamline from each of the vents
You may want to adjust the values on the Limits tab (Max. Segments)
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
32
Postprocessing
Summary
Release 14.5
Summary
This workshop has shown the steps needed to set up a simulation that
includes:
Profile Boundary Condition export and import Buoyant flow Heat Transfer
Introduction
2012 ANSYS, Inc.
Setup
December 17, 2012
Solving
33
Postprocessing
Summary
Release 14.5