phoenics user meeting 2006 phoenics today phoenics 2006 december computer simulation of fluid flow,...
TRANSCRIPT
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
PHOENICS
2006 December
Computer Simulation of Fluid Flow, Heat Flow, Chemical Reactions and Stress in Solids.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Contents
• This presentation shows some of the new features in PHOENICS 2006
• The talk is in four parts:– Pre-processor (VR-Editor)– Post-processor (VR-Viewer)– Solver (Earth)– General improvements (common to all
modules)– Special Purpose versions
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • An auto meshing feature has
been added. For most cases the Editor will generate a reasonable grid with little or no user input.
• The grid distribution is based on a maximum cell size (as a fraction of the domain size), and a maximum change in cell size across region boundaries.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The default grid can then be
easily refined
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The treatment of Polar geometries
has been significantly updated.
• As a reminder, in polar co-ordinates– X is θ, the angle (in radians!)
– Y is r, the radius
– Z is z, the axial distance.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • For objects using the default
'polcu' geometries, the size is set in (dθ,dr,dz) and position in (θ,r,z) as before.
• For non-'polcu' geometries, including STL imports, the size is in Cartesian (dx,dy,dz), but position is still in (θ,r,z).
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • As the Cartesian size is used, the
shape and size of the object are preserved with no distortion.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • This allows us to use more
suitable grids…
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The treatment of INLET objects in
Polar co-ordinates has been improved. The inflow can now be specified as:– Cartesian velocity components
– Polar (grid-directed) velocity components
– Volumetric flow rate
– Mass flow rate
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
VR Editor Improvements
• The 'Slide velocity' can be set for blockages as well as for plates.
• By setting the surface velocity, a range of cases involving steady movement can be treated as steady-state.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
VR Editor Improvements
• In Cartesian co-ordinates, the 'Spin' option sets the surface velocity as if the object were rotating about its axis.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
VR Editor Improvements
• In Polar co-ordinates , the slide velocity can be in m/s or radians/s.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
• Heat-transfer between the blockage and the surrounding fluid is controlled by the blockage external heat-transfer coefficient.
VR Editor Improvements
• By default, this is obtained from the wall-functions.
• Alternatively, a user-set constant value can be supplied.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • A new object type TRANSFER has
been introduced.
• It allows the outflow from one solution to be used as the inflow to another.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
• INLET and OUTLET objects can also be ‘tagged’ to act as Import or Export TRANSFER objects
• Only the shape of the Import/Export object needs to be the same between runs – the grid does not need to be identical
• The data to be transferred is held in an ASCII text file
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The new object types ANGLED-IN and
ANGLED-OUT have been introduced.
• These allow inlets and outlets of any arbitrary shape to be placed on the outer surface of any arbitrarily-shaped blockage.
• The area of action is the area of intersection between the object and any blockage.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • A new object type ASSEMBLY
has been introduced.• The assembly object
acts as a ‘container’ for any number of other objects, which go together to make a component.
• Objects are added to an assembly object through the Hierarchy dialog.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Components can be
added or removed from an assembly
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • All size and position changes
made to the assembly object are also applied to all the components.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • All the objects in
the assembly can then be exported to a single file.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The saved assembly objects can then
be imported into another model.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Objects can be partially pushed out
of the domain, to allow:
– Solution over one half of a body, or
– Solution over any part of a large STL
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The Editor can output the entire
geometry in TECPLOT format.
VR Editor Improvements
• Each object is shown in TECPLOT as a 'zone'.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The Editor can also output the
entire geometry as a FieldView unstructured file.
VR Editor Improvements
• Each object is shown in FieldView as a Boundary.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • This is what the Editor makes of it.
VR Editor Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
• When PARSOL is active in Polar co-ordinates, the contours and vectors in the cut cells are displayed correctly.
VR ViewerImprovements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
VR ViewerImprovements
Valve simulation
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
VR ViewerImprovements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • When cyclic boundary conditions
are active, an extra tab appears on the Viewer Options dialog.
VR ViewerImprovements
• From here it is possible to repeat the image in the X direction as many times as wanted .
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The original geometry
VR ViewerImprovements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Repeated 9 times
VR ViewerImprovements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The contours repeated
VR ViewerImprovements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The colour palette can be reversed
VR ViewerImprovements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Streamlines can also be repeated
VR ViewerImprovements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
• The sources and sinks for an object can be displayed:
VR ViewerImprovements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • For selected objects, the surface
contour values can be output to a file which can be read into Excel or Autoplot.
VR ViewerImprovements
3D Nav.Sto.Flow Around A Moving Van Pressure surface values for object BODY2 ----------------------------------------- X Y Z Pressure 1.0000E+00 3.0000E+00 6.0000E+00 -1.1501E+01 8.7500E-01 3.0000E+00 6.0000E+00 -8.1237E+00 8.7500E-01 3.0000E+00 6.5000E+00 -2.0226E+01 1.0000E+00 3.0000E+00 6.5000E+00 -2.1001E+01 1.0000E+00 3.0000E+00 6.5000E+00 -2.1001E+01 8.7500E-01 3.0000E+00 6.5000E+00 -2.0226E+01 8.7500E-01 3.0000E+00 7.0000E+00 -3.2328E+01 1.0000E+00 3.0000E+00 7.0000E+00 -3.0502E+01
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • For selected objects, a surface profile on
the current plotting plane can be output to a file which can be read into Excel or Autoplot.
VR ViewerImprovements
X Y Z Pressure 1.000000E+00 1.583333E+00 8.250000E+00 -1.893729E+01 1.000000E+00 1.750000E+00 8.250000E+00 -1.884477E+01 1.000000E+00 1.916667E+00 8.250000E+00 -1.866686E+01 1.000000E+00 2.083333E+00 8.250000E+00 -1.838086E+01 1.000000E+00 2.250000E+00 8.250000E+00 -1.799543E+01 1.000000E+00 2.416667E+00 8.250000E+00 -1.749649E+01 1.000000E+00 2.583333E+00 8.250000E+00 -1.690780E+01 1.000000E+00 2.750000E+00 8.250000E+00 -1.624763E+01 1.000000E+00 2.916667E+00 8.250000E+00 -1.554297E+01
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Pressure profile on an aerofoil
VR ViewerImprovements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • For buoyancy-driven flows, the effect of
buoyancy on turbulence can be significant.
• In stably-stratified flows, such as smoke layers, turbulence can be damped. Conversely, in the vicinity of plumes, the turbulence can be enhanced.
• These effects are implemented in the K-ε models via an additional source term.
Earth Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The choice between stable or
unstable stratification was previously made by setting a constant to 0.0 or 1.0, and so could never be universally correct.
• An 'auto' function has been introduced which switches between the stable and unstable forms depending on the local flow direction.
• This should produce better results for cases with zones of both stable and unstable stratification.
Earth Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Geometry of standard room fire
test– 62.9MW steady fire
Earth Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Buoyancy constant = 0 -> layered
flow
Earth Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Buoyancy constant = 1 -> Plume
Earth Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Calculated buoyancy constant
Earth Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • Auto solution is somewhere
between plume and layer!
Earth Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
• The solution can be output in TECPLOT format.
• An output file, TECDATA.DAT, containing two TECPLOT zones for each PHOENICS domain is written.
• The first zone contains data at the cell centres (adjusted for PARSOL cut cells), and the second contains data at the cell corners.
• The first is better for plotting vectors, the second for plotting contours and iso-surfaces.
Earth Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Earth Improvements
• The geometry and solution from Library case V146 displayed in TECPLOT 10.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
• The solution can be output to FieldView in PLOT3D format.
• Two output files, FVDATA.G and FVDATA.F, containing two grids for each PHOENICS domain are written.
• The first zone contains data at the cell centres (adjusted for PARSOL cut cells), and the second contains data at the cell corners.
• The first is better for plotting vectors, the second for plotting contours and iso-surfaces.
Earth Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Earth Improvements
• The geometry and solution from Library case V146 displayed in FieldView 11.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • In addition to the normal multi-
coloured vectors, we can have
VR ViewerImprovements
• Vectors all in one colour• Or any thickness
• Or with the size of long vectors limited
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • A ‘quick-zoom’ function has been
added
• Press the control key then move the mouse sideways to drag a zoom-box.
General Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 The axes can be ‘unlocked’ from
the domain origin, and placed anywhere
General Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 The hand-set icons appear on the
tool bar, so the hand-sets can be turned off
General Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 The image can be annotated with
text strings
General Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 We are now testing a 64-bit
Windows version of PHOENICS It does not suffer from the
memory limitations of the 32-bit versions
Preliminary tests seem to show that performance is very similar, however many bits there are!
General Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
The location of the PHOENICS installation is now held in an environment variable.
This makes it possible to install PHOENICS into any convenient location, not just the root of a drive.
It also makes network installations neater, as only the environment variable and a working directory need be present on client machines.
General Improvements
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
SPP Improvements
• The following Special-purpose versions have been brought into the VR environment:−CVD, for Chemical Vapour Deposition−ESTER, for Electrolytic Smelting of Aluminium
• Both have dedicated Main menus and object types
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
FLAIR
• Now a few words about the FLAIR Special-Purpose version of PHOENICS.
• Some people have asked ‘What is FLAIR?’
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
What is FLAIR?
• FLAIR is a Special-Purpose version of the general CFD code PHOENICS.
• It is aimed at the HVAC community.
• It has been created by removing many unneeded generic features, and adding several specific features.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
FLAIR Features
• FLAIR uses the PHOENICS VR-Editor to set the problem up, with the following additional items:– ISO 7730 Comfort index calculations: PMV, PPD.– ISO 7730 Draught rating.– CIBSE dry resultant temperature.– Humidity calculations, with output of humidity
ratio and relative humidity.– Smoke movement calculation, with output of PPM,
smoke density and visibility.– Mean age of air calculation.– Fan operating point calculation for single and
multiple fans.– System-curve calculations.
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
• In addition, the following object types have been added:– Diffuser
Round
FLAIR Features
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Vortex
FLAIR Features
• In addition, the following object types have been added:– Diffuser
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Rectangular
FLAIR Features
• In addition, the following object types have been added:– Diffuser
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Directional
FLAIR Features
• In addition, the following object types have been added:– Diffuser
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Grille
FLAIR Features
• In addition, the following object types have been added:– Diffuser
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Displacement
FLAIR Features
• In addition, the following object types have been added:– Diffuser
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
FLAIR Features
• In addition, the following object types have been added:– Diffuser– Fire
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
FLAIR Features
• In addition, the following object types have been added:– Diffuser– Fire
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
FLAIR Features
• In addition, the following object types have been added:– Diffuser– Fire– Person (standingor sitting facing anyDirection)
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
FLAIR Features
• In addition, the following object types have been added:– Diffuser– Fire– Person – Crowd To represent a large number of people as distributed
source of heat
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
FLAIR Features
• In addition, the following object types have been added:– Diffuser– Fire– Person – Crowd– SunlightCreated inShapemaker
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
FLAIR Features
• In addition, the following object types have been added:– Diffuser– Fire– Person– Crowd– Sunlight– Spray head
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
• Spray-head represents sprinklers user for fire-suppression.
• It uses GENTRA to model the droplet paths.
• Evaporation is considered, and is linked to the FLAIR humidity model.• The GENTRA inlet table is written
automatically.
FLAIR Features
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
• Spray-head represents sprinklers user for fire-suppression.
• It uses GENTRA to model the droplet paths.
• Evaporation is considered, and is linked to the FLAIR humidity model.• The GENTRA inlet table is written
automatically.
FLAIR Features
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Geometry Creation
• We are often asked to create geometry from unusual sources.
• Recently we received a PDF file which contained this image-
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Geometry Creation
• The numbers represent the height of the building
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006
Geometry Creation
• The solution was to save the image as a GIF file, then use it as a backdrop in AC3D
• We could trace round each part, then extrude
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006 • The resulting geometry was then
exported to PHOENICS
Geometry Creation
PHOENICS Today
PH
OE
NIC
S U
ser
Mee
tin
g 2
006