Escolar Documentos
Profissional Documentos
Cultura Documentos
CHAM
PHOENICS
Application of Environment Spatial Information
System
Minkasheva Alena
Thermal Fluid Engineering Lab.
Department of Mechanical Engineering
Kangwon National University
2007.05.04
Part 1
Contents
Chapter 1. PHOENICS Overview
1. What PHOENICS is
2.The components of PHOENICS
2.1
2.2
2.3
2.4
2.5
2.6
2.7
Contents
4.2
4.3
4.4
4.5
4.6
4.7
Storage
Grids
The Balance Equation
Auxiliary Equations
Solution of Equations
Boundary Conditions
Contents
2. VR Viewer
Chapter 1
PHOENICS Overview
1. What PHOENICS is
1. What PHOENICS is
observations
engineers for the design of aircraft and other vehicles,
and of
equipment which produces power or which processes
materials
architects for the design of buildings
environmental specialists for the prediction, and if
possible
control, of environmental impact and hazards
teachers and students for the study of fluid dynamics,
heat transfer, combustion and related disciplines
geometry
shapes, definition
sizes and positions
of objects
andstatements
intervening abo
Problem
involves
making
spaces;
materials
thermodynamic, transport and other properties of the
fluids and
solids involved
processes
for example: whether the materials are inert or reactive;
whether turbulence is to be simulated and if so by what
model;
whether temperatures are to be computed in both fluids
and solids;
whether stresses in solids are to be computed
grid
the manner and fineness of the sub-division of space and
time,
what is called the "discretization"
other numerical (non-physical) parameters
4. Mathematical features
4.1 Variables
Dependent:
Scalars:
Vectors:
- Pressure
- Velocity resolutes
- Temperature
- Radiation fluxes
- Enthalpy
- Displacements
- Mass fractions
- Volume fractions
- Turbulence quantities
- Various potentials
4.1 Variables
Auxiliary:
Scalars:
- Density
- Viscosity
Vectors:
- Various nonisotropic
properties
- Conductivity
- Gravity forces
- Diffusivity
- Specific heat
- Thermal expansion coefficient
- Inter-fluid transport
- Absorptivity
- Compressibility
4.1 Variables
Geometric:
Scalars:
- Cell volumes
- Volume porosity factors
- Inter-fluid surface area
per unit volume
Vectors:
- Cell center coordinates
- Cell corner coordinates
- Center to center
distances
- Cell surface areas
- Cell area porosities
4.2 Storage
Nomenclature
A compass-point notation:
P = Cell center
N,S,E,W,H,L = Neighbour-cell
centers
SN
= Positive IY
W E = Positive IX
LH
= Positive IZ
4.3 Grids
Storage locations
Vector quantities are computed by reference to cells which
are
staggered with respect to the scalar cells
4.3 Grids
Types of Grid
Basic form
mass
momentum
energy
material (ie chemical species)
other conserved entities (e.g. electrical charge)
over discrete elements of space and time, i.e. 'finite
volumes' known as 'cells'
Terms
( )
U
S
t
x
x
where:
U - vector velocity
- the diffusive exchange coefficient
for
S - the source term
Particular Forms
u, v , w
Momentum
( T L )
p
S
gravity friction ...
x h
Enthalpy
T
L
PrT PrL
Dp
S
heat sources ...
Dt
Continuity
0
S 0 boundary sources
where
,
are the turbulent and laminar viscosities,
T L
,
are the turbulent and laminar Prandtl/Schmidt
PrT PrL
Numbers
Numerical solution
The balance equations cannot be solved numerically in
differential form. Hence, PHOENICS solves a finitevolume formulation of the balance equation.
The FVE's are obtained by integrating the differential
equation over the cell volume.
Interpolation assumptions are required to obtain scalar
values at cell faces and vector quantities at cell
centers.
No Taylor series expansion or variational principle is
used
a p p a N N a S S a E E aW W a H H a LL aT T source terms
where:
a p a N a S a E aW a H a L aT
The neighbour links, the a's, have the form
volume density
dt
Correction
The equationForm
is cast into correction form before solution.
In correction form, the sources are replaced by the errors
in the real equation, and the coefficients may be only
approximate. The corrections tend to zero as convergence
is approached, reducing the possibility of round-off errors
affecting the solution.
The neighbor links:
- Increase with inflow velocity, cell area, fluid density
and
transport coefficient
- Decrease with internodal distance
- Are always positive
the
computing
the imbalances
of eachconsisting
of the entities
each
solution
procedure
is iterative,
offor
the
cell
steps of:
General form
Boundary Conditions are represented in PHOENICS as
linearized sources for cells adjacent to boundaries:
S a BC BC p
p for
is added to the RHS of the equation
a
h h
a BCBC
a p a BC
Particular forms
aBC
For a fixed value boundary,
effect is:
P
h h
a BCBC
a p a BC
P BC
aBC
source
ahh tiny tiny
P
a p tiny
a BCBC
h h
source
ap
BC
aBC
Linear and non-linear
conditions
can be set by appropriate
5. Simulation of
multi-phase flow in PHOENICS
suspensions
of oil droplets in water, or of water droplets
in oil;
the air-snow mixture in an avalanche;
the sand-air mixture in a sandstorm;
the "mushy zone" of mixed solid and liquid metal in a
casting mould;
the water-air mixture in a shower bath;
the gas-oil-water mixture, in the pores within rock, in a
petroleum-recovery process;
droplets of fuel oil mixed with hot gases in a combustion
5. Simulation of
multi-phase flow in PHOENICS
LVEL - EV is computed from the velocity, the laminar viscosity and the
distance from nearby walls
7. Radiative-heat-transfer models
in PHOENICS
computationally inexpensive;
capable of handling the whole range of conditions from
optically-thin (ie transparent) to optically-thick (ie
opaque) media;
mathematically exact when the geometry is simple; and
never grossly inaccurate
8. Chemical-reaction processes
in PHOENICS
9. Simultaneous solid-stress
analysis
It is frequently required to simulate fluid-flow and heattransfer processes in and around solids which are, partly as a
consequence of the flow, subject to thermal and mechanical
stresses
Chapter 2
The Virtual-Reality
Interface
1. VR-Editor
The Virtual-Reality user interface assists users to set up
flow-simulation calculations, without having to learn the
PIL.
This data-input mode is called the VR-Editor
This is the top panel of the main menu, it can be reached from
any other panel by clicking on Top menu. It is the panel displayed
whenever the Main menu is activated from the hand-set, and it is
the only panel from which it is possible to return to the main VREditor environment
The buttons along the top of the panel allow the setting and
modification of the case. In general, it is best to start at the top
left, and work from left to right, as this minimises the chances of
missing out settings
Inner radius (only for cylindrical-polar): Sets the inner radius for
a cylindrical-polar grid
Equation Formulation
Equation Formulation
- The main choice is between elliptic, parabolic and fullydeveloped formulation. Elliptic is the most usual form, as it
allows for recirculation.
- There is a further choice of staggered or collocated velocity
formulation. In the staggered formulation, velocities are stored at
cell face centers, in the collocated form they are stored at cell
centers, just like pressure and temperature.
- The staggered form is usually best for Cartesian and polar grids,
the GCV collocated for BFC.
- Parabolic performs a marching integration suitable for flows with
no recirculation, e.g. developing pipe flows or jet spreading.
- Fully-developed calculations will give the flow rate for a given
pressure-drop, or the pressure-drop for a given flow, without any
information on how the flow developed
Single / Multi-Phase
Single / Multi-Phase
This option switches between single and multi-phase operation. If
the domain is occupied by a single fluid, which does not change
phase, or by several fluids which ARE ALWAYS SEPARATED by
solid, the flow can be treated as single phase. If the fluid changes
phase, or there are several MIXED fluids, then the flow must be
treated as multi-phase.
The available options are:
One phase only one phase present (or several completely
separated fluids).
IPSA Full.This solves the full momentum equations for two
phases, allowing for inter-phase heat and mass transfer.
IPSA Equal vel. This assumes that the velocities of the two
phases are always equal, but allows inter-phase heat and mass
transfer.
Algebraic Slip. This solves reduced equations for several
dispersed phases in a carrier. Inter-phase heat and mass transfer
are not included
Turbulence Models
The
available turbulence
models
are
divided
following
LAMINAR
- The flow is
laminar
and
thereinto
is nothe
turbulence
groups:
model.
CONSTANT-EFFECTIVE - The turbulent viscosity is constant.
The default setting is 200 times the laminar viscosity.
LVEL - Generalised length-scale zero-equation model, useful
when there are many objects and the grid is coarse.
KEMODL - Classical two-equation high Reynolds number. k-
model
KOMODL - Kolmogorov-Wilcox two- equation k-f model.
Useful for transitional flows and flows with adverse pressure
gradients.
USER - User-defined model for advanced users.
Combustion Models
The following combustion models are available:
3 GASES - Simple Chemically-Reacting System (SCRS), mixing
controlled or kinetically controlled
7 GASES -Extended SCRS
Wood - Wood combustion model
Coal - Coal combustion model
Oil - Oil combustion model
Chemkin - Interface to Sandia Labs CHEMKIN program
Domain Material
The individual properties loaded from the library for the domain
fluid can then be edited - changed
PIL variable
SI units
Nature
RHO1
kg/m**3
first-phase density
DRH1DP
m**2/Newton
RHO2
kg/m**3
second-phase density
DRH1DP
m**2/Newton
ENUT
m**2/s
ENUL
m**2/s
PRNDTL
(indvar) > 0
dimensionless
PRNDTL
(indvar) < 0
dimensionless or
watts/(m*degC)
PRNDTL
(indvar) < 0
m**2/s
PHINT
(indvar)
according to indvar
PHINT
(indvar)
according to indvar
TMP1
degCelsius
TMP2
degCelsius
Property
PIL variable
SI units
EL1
EL2
storage
Nature
Allows
the field values
of turbulence
the properties
to be placed in the EARTH
m
first-phase
length
output
file PHI, sosecond-phase
that they turbulence
can be plotted
in the viewer
m
length
CP1
joule/(kg*degC)
CP2
joule/(kg*degC)
DVO1DT
1/degC
DVO2DT
1/degC
EMISS
1/m
SCATT
1/m
CFIPS
Newton*s/m**4
CMDOT
kg*s/m**4
mass-transfer rate per unit volume and per unit of velocity difference
CINT
(indvar)
dimensionless
CINT
(indvar)
dimensionless
CVM
dimensionless
This
panel aprovides
options to:
Activate
restart run
Set all initial values to default. This is 1.0E-10 for all variables
except:
- R1,R2, RS : 0.5
- EPOR, NPOR, HPOR, VPOR : 1.0
- PRPS : -1.0
Gravitation forces
Potential flow
"Potential flow", also called "ideal-fluid flow" or "irrotational
flow", is a mathematical concept to which real flows
approximate only in special circumstances, namely those in
which:
the flow is steady;
viscous effects are absent; and
compressibility effects are small
Relaxation Settings
Relaxation
Settings
Relaxation
is a technique
for
slowing down possibly
excessive rates of change. It
does not affect the final
solution.
The default relaxation
settings turn the Automatic
Convergence Control ON.
MAXINC sets the maximum
increment from iteration to
iteration for each variable.
The DTFALS settings for
velocities are ignored - the
solver will set linear
relaxation of 0.5 for all
velocities
Reset solution defaults
resets all the solver control
variables to their default
values, so that the Automatic
Relaxation Settings
If the Automatic
Convergence Control is
turned OFF, the relaxation
settings can be set
individually
Typical values for DTFALS
may be estimated from the
governing time-scale of the
process under consideration.
Very often, values based on
residence time work well
For the velocity variables, it
can be advantageous to use
the Self-Adjusting Relaxation
AlgoritHm (SARAH). This is
activated by setting SARAH to
a value > 0. Values in the
range 0.001 - 0.01, typically
0.005, have been found to
work well
Iteration Control
Iteration Control
Limits on Variables
Limits on Variables
This panel allows minimum
and maximum values for all
SOLVEd and STOREd
variables to be set
Differencing Schemes
Differencing Schemes
Differencing Schemes
Set schemes individually
allows the selection of
different schemes for
different variables
MIGAL
The MIGAL multi-grid convergence accelerator can be used for the
hydrodynamics, the k-e based turbulence models, the energy
equation and individual scalars
MIGAL
MIGAL dialog (MIGAL OFF)
MIGAL
Settings button leads to a dialog from which all the MIGAL controls
can be set
The
Field
Printout
settings
for OUTPUT
are:
1. Field print-out
2. Correction-equation
monitor print-out
4. Whole-field residual printout
5. Spot-value table and/or
plot
6. Residual table or plot
Dump Settings
Dump Settings
Derived Variables
Derived Variables
Placing the Skin friction coefficient, Stanton Number, Shear
stress (actually friction velocity squared, equivalent to shear
stress divided by density), Yplus (non-dimensional distance to
the wall) and heat transfer coefficient (in W/m2/K) into 3-D
storage allows them to be plotted in the Viewer or PHOTON, as
well as appearing in the RESULT file.
Note that the heat-transfer coefficients are only calculated for
turbulent flow. To make them appear for laminar cases, the
turbulent viscosity should be set to a very small value - say
1.0E-10. The Stanton Number must be stored for the heattransfer coefficients to be calculated.
The friction force components SHRX, SHRY and SHRZ are used
in the force-integration routines to add the friction force to the
pressure force acting on each object. If they are not stored, the
integrated force will only contain the pressure component.
The Total or Stagnation Pressure (PTOT) is only calculated if the
Mach Number is stored. If the Reference Pressure is set to zero,
the total pressure may go below zero, leading to an error-stop
Forces on Objects
When this is 'On', the Earth solver will integrate the pressure
forces over all objects and print the force information to the
RESULT file. If the friction force components (SHRX, SHRY and
SHRZ) have been placed in 3D store, the force integration will
include them
The moments about the X, Y and Z axes are calculated, and the
point of action of the force is deduced
New Object
Creates a new object at the origin and opens the Object Dialog for
it
Import Object
Creates a sequence of objects from the contents of a POB file. The
first object is always an ASSEMBLY object, which acts as a
'container' for the component objects
Copy Object(s)
This makes a copy of the selected object(s), including all attributes.
Objects and active groups can also be duplicated by clicking on the
Duplicate Object or Group button of the hand-set
Array Object(s)
Arraying is a variation on duplication. It allows the creation of an
entire array of objects or groups, all copied from the original
Select All
Selects all objects (except the domain) in the object management
panel.
Refresh
It is possible for the object management to become out of sync
with the current status of the model, in these cases use refresh to
update its contents
Brief Description
Blockage
Inlet
Angled-in
Wind_Profile
Outlet
Angled-out
Plate
Thin Plate
Fan
Point_history
User Defined
Celltype
Null
PCB
Pressure Relief
Drag_lift
Assembly
Transfer
Movement Controls
2. VR Viewer
Vectors
To
view: - click on the 'Vector toggle'
.
Vectors are colored by the current plotting variable, but
their length is always related to the absolute velocity.
2. VR Viewer
Chapter 3
Geometry of flow
The flow is two-dimensional
Pre-Processor VR-Editor
Pre-Processor VR-Editor
Post-Processor VR-Viewer
THE END