AFT Xstream Quickstart
AFT Xstream Quickstart
AFT xStream
Quick Start Guide
English Units
Information in this document is subject to change without notice. No part of this Quick
Start Guide may be reproduced or transmitted in any form or by any means, electronic or
mechanical, for any purpose, without the express written permission of Applied Flow
Technology.
"AFT xStream", "AFT Arrow", "Applied Flow Technology", "Dynamic solutions for a
fluid world", "Pulsation Frequency Analysis", and the AFT logo are trademarks of
Applied Flow Technology Corporation.
Excel and Windows are trademarks of Microsoft Corporation. Chempak is a trademark
of Madison Technical Software, Inc. CAESAR II, Smartplant, CADWorx, and PDS are
trademarks of Intergraph Corporation. ROHR2 is a trademark of SIGMA
Ingenieurgesellschaft mbH. AutoCAD Plant 3D is a trademark of Autodesk, Inc.
Contents Contents
Index 137
CHAPTER 1
Modeling capabilities
AFT xStream provides a broad array of features to model pipe system
transients. These include:
l Transients in open and closed (recirculating) systems
l Network systems that branch or loop
l Systems with valve transients
l Systems with compressor transients
2 AFT xStream™ 2 Quick Start Guide
l Systems that experience sonic choking, including multiple sonic
choking points and transient sonic choking
l Multiple design cases in a single model file
Input windows
The two windows that primarily function as input windows are the
Workspace window and the Model Data window. These two windows,
one graphical and the other text based, work together to process model
input data with immense flexibility. The tools provided in these two
windows allow you to model a large variety of pipe networks.
The Visual Report window can function in support of both input and
output data. As an input window, it allows you to see the input data
superimposed on the pipe system schematic created on the Workspace.
Output windows
The two windows that function exclusively as output windows are the
Output window (text based) and the Graph Results window. These two
windows offer a powerful and diverse range of features for reviewing
analysis results for modeling errors, gaining a deeper understanding of
the pipe system's flow behavior, and preparing the results for
documentation.
As an output window, Visual Report allows you to see the output results
superimposed on the pipe system schematic created on the Workspace.
Chapter 1 Introducing AFT xStream 5
Note: AFT xStream supports multiple monitors. You can click and drag
any of the five Primary Window tabs off of the main AFT xStream
window. Once you drag one of the Primary Windows off of the AFT
xStream window, you can move it anywhere you like on your screen,
including onto a second monitor in a dual monitor configuration. To add
the Primary Window back to the main AFT xStream Primary Window
tab bar, simply click the X button in the upper right of the Primary
Window.
6 AFT xStream™ 2 Quick Start Guide
CHAPTER 2
This chapter will give you the big picture of AFT xStream's layout and
structure. To accomplish this purpose, a model with two pipes and three
junctions will be built to capture the system effects when a valve is
opened.
A number of other example model discussions are included on the AFT
help site. It can be opened from the Help Menu by choosing "Show
Examples" and selecting "English Units....".
Topics covered
l Model building basics
l Entering pipe and junction data
l Entering transient data
l Graphing output results
Required knowledge
Model file
The file listed below contains a completed version of this example and
can be located in the Examples folder as part of the AFT xStream
installation. This file can also be downloaded from the AFT xStream
help site from the Tank Blowdown Example page:
l US - Tank Blowdown.xtr
This example is also provided in metric units under the Metric Units file
name, Metric - Tank Blowdown.xtr.
This example will require you to build the model from scratch to help
familiarize yourself with the steps required to build a complete model in
AFT xStream. Therefore, use this example model file as a reference
only.
Problem statement
This problem evaluates the initial design for a tank that undergoes a
blowdown. Nitrogen flows out of a supply tank into a 2 inch line as a
part of the blowdown. The flow is controlled by opening and closing a
valve in the 2 inch line.
This model will simulate opening a valve in 0.1 seconds. The valve will
remain open for the remainder of the simulation.
Graph the pressure and temperature of the tank to observe how both
parameters change with time. Also, graph the Mach number,
temperature, and velocity at the discharge of the second pipe to
understand how the flow properties change as the blowdown progresses.
Some of the actions available from the AFT xStream Startup window
are:
l Open a previous model, browse to a model, or browse to an
Example
l Activate an Add-on Module
l Select "AFT Standard "Air" " or a recently used fluid to be the
Working Fluid
l Review or modify Modeling Preferences
l Select a Unit System
l Filter units to include Common Only or Common Plus Selected
Industries
10 AFT xStream™ 2 Quick Start Guide
l Choose a Grid Style
l Select a Default Pipe Material
l Access Resources, such as Quick Start Guides, Help Files, and
Video Tutorials
If this is the first time that you have started AFT xStream, Modeling
Preferences will be expanded in the middle section of the Startup
Window, as shown by Figure 2.1. If this is not the first time that you
have started AFT xStream, the Startup Window will appear with
Modeling Preferences Collapsed, as shown in Figure 2.2.
When collapsed, you can view your current Modeling Preferences at the
bottom of Start a New Model. To further review or adjust your
preferences, click the "Modify >>" button (Figure 2.2).
You will build your pipe flow model on the Workspace using the
Toolbox tools. The Pipe Drawing tool, on the upper left, is used to draw
new pipes on the Workspace. The Annotation tool allows you to create
annotations and auxiliary graphics.
Below the two drawing tools are icons that represent the different types
of junctions available in AFT xStream. Junctions are components that
connect pipes and also influence the pressure or flow behavior of the
Chapter 2 Tank Blowdown Example 13
pipe system. The junction icons can be dragged from the Toolbox and
dropped onto the Workspace.
When you pass your mouse pointer over any of the Toolbox tools, a
tooltip identifies the junction's function.
Ø Before continuing, save the work you have done so far with "Save
As" from the File menu. Choose "Save As" from the File menu and
enter a file name (Tank Blowdown, perhaps) and AFT xStream will
append the ".xtr" extension to the file name.
Ø To place the pipe between J1 and J2, use the mouse to grab the pipe
in the center and drag it so that the left endpoint falls within the J1 Tank
icon, then drop it there (see Figure 2.5d). Next, grab the right endpoint
of the pipe and stretch the pipe, dragging it until the endpoint terminates
within the J2 Valve icon (see Figure 2.5e).
Chapter 2 Tank Blowdown Example 17
Object status
Each pipe and junction has an object status. The object status tells you
whether the object is defined according to AFT xStream's requirements.
To see the status of the objects in your model, click the light bulb icon
on the Workspace Toolbar (alternatively, you could choose "Show
Object Status" from the View menu). Each time you click the light bulb,
"Show Object Status" is toggled on or off.
When "Show Object Status" is on, the ID numbers for all undefined
pipes and junctions are displayed in red on the Workspace. Objects that
are completely defined have their ID numbers displayed in black. (These
colors are configurable through User Options from the Tools menu.)
Because you have not yet defined the pipes and junctions in this model,
all the objects' ID numbers will change to red when you turn on "Show
Object Status."
Figure 2.6 The List Undefined Objects window lets you see the
undefined properties for each undefined object
The "Copy Data From Jct..." list will show all the junctions of the same
type in the model. This will copy desired parameters from an existing
junction in the model to the current junction.
Figure 2.13 The Model Data window displays all input in text form
Figure 2.14 The Analysis Setup window tracks the defined and
undefined model input
Figure 2.15 The Fluid panel is where you specify the fluid
34 AFT xStream™ 2 Quick Start Guide
where Δt is the time step, Δx is the section length, and c is the sonic
velocity.
Ø Enter "1" for the Minimum Number of Sections Per Pipe
The Minimum Number of Sections Per Pipe determines the section
length by taking the quotient of the shortest pipe's length and the
Minimum Number of Sections. Increasing the number of sections in a
Chapter 2 Tank Blowdown Example 35
model will always have a positive correlation to the model accuracy as
the error inherent to the Method of Characteristics decreases when the
step size is made smaller. However, the run time of the model increases
quadratically as well, since each added section to the shortest pipe
increases the number of calculations for each time step. This increase in
run time is exacerbated when there is a large disparity between the
minimum pipe length and the length of the longest pipe, such as exists
in this model. The Minimum Number of Sections Per Pipe for this
example will be set to 1 for expediency, but note that it would be wise
to use more computational sections if you are running an AFT xStream
model for real projects.
Ø Define the Estimated Maximum Pipe Temperature During
Transient as 1700 deg. F.
The Estimated Maximum Pipe Temperature During Transient is used to
calculate the maximum sonic velocity. Since all pipes in the network
must be solved together, the time step must be the same for each pipe.
However, the sonic velocity will not be equivalent for all of the pipes.
Therefore, the sonic velocity at the specified maximum temperature is
used to find a uniform time step for the system. Without a uniform time
step, the MOC could fail. Choosing a maximum temperature that is
much higher or much lower than the maximum temperature calculated
during the run can result in additional uncertainty in the MOC solution.
It is generally recommended to choose a conservatively high
temperature for the model initially. The results of the initial run can then
be used to refine the Estimated Maximum Temperature During
Transient for subsequent runs.
The Sectioning Summary underneath the inputs will be partially filled
in. Certain properties, such as total steps and total pipe computations,
need the Simulation Mode/Duration panel completed to be defined.
36 AFT xStream™ 2 Quick Start Guide
When the solution is obtained, click the Output button to display the
text-based Output window. The information in the Output window can
be reviewed visually on the screen, saved to a file, exported to a
spreadsheet-ready format, copied to the clipboard, or printed.
You can also review the solutions for each time step (i.e., a time history)
for which data was written to file on the Transient Output tab in the Pipe
section (Figure 2.22). Moving the slider along the bottom will change
the time step shown in the table.
42 AFT xStream™ 2 Quick Start Guide
Figure 2.22 The Output window displays transient data for each
time step in the Transient Output tab
The Output Control window can be accessed from either the Tools menu
or from the Output window Toolbar (Figure 2.24). The Output Control
window allows you to select the specific output parameters you want to
display in the Output window. You also can choose the units. If you do
not change any of the Output Control settings, the default Output
Control parameters are assigned.
Chapter 2 Tank Blowdown Example 43
Figure 2.24 The Output Control window lets you customize the
output
Units for each column in the Output window can also be changed by
double-clicking the column header. This will open a window in which
you can select the units you prefer (Figure 2.25). These changes are
extended to the Output Control parameter data that is set.
44 AFT xStream™ 2 Quick Start Guide
Figure 2.25 The Change Units window is opened from the Output
window tabs by double-clicking the column header
Figure 2.27 The Graph Results window and Quick Access Panel
Graph Control tab is where various system
parameters (both steady-state and transient) can be
graphed
AFT xStream gives you the ability to create "stacked graphs". These are
graphs that are vertically aligned with each other that use the same x-
axis but with different parameters on the y-axis of each graph. This
feature is helpful when you want to look at how different parameters
46 AFT xStream™ 2 Quick Start Guide
vary with time at a given position without having to create separate
graphs.
In this example, you will create stacked graphs of the Temperature
Static, Velocity, and Mach number at the exit of pipe P2 to see how
these parameters change as the blowdown proceeds.
Ø Access the graphing parameters by opening the Graph Control tab
on the Quick Access Panel (this tab is automatically selected when
the Graph Results window is opened). Because we are interested in
seeing how the pressures and flows in specific pipe sections respond
over time, ensure that the Transient Pipe tab is selected in the
Parameters/Formatting area on the Quick Access Panel. Alternatively,
you can open the Select Graph Parameters window by clicking on the
corresponding icon on the Graph Results Toolbar (Figure 2.27).
Ø Under "Select Pipe Stations" on the Transient Pipe tab, expand the
P2 pipe stations and double-click on Outlet, which is the pipe
computing station at the discharge of the blowdown pipe. Alternatively,
you can click on the right arrow button after selecting the pipe station
you want to graph to add it to the "Graph These Pipes/Stations" list.
Ø Verify "seconds" is selected for the Time Units and "All Times" is
selected for the Time Frame.
Ø In the Parameters definition area, select "Temperature Static" and
under "Units" select "deg. F" in the dropdown box to graph the
static temperature in deg. F at the pipe discharge over time.
Ø In order to add the stacked graphs under the static temperature
graph showing the velocity and Mach number at the outlet of pipe
P2, click the "Add" button twice, which is the green "+" icon next to
"Select Parameter". Two new rows will appear under the Parameter
definition area (Figure 2.28).
Ø Choose "Velocity" in the first new parameter row and select units of
"feet/s". Choose "Mach Number" for the second row.
Figure 2.28 shows the input in the Parameters/Formatting area on the
Quick Access Panel.
Chapter 2 Tank Blowdown Example 47
Figure 2.28 The Graph Control tab on the Quick Access Panel
allows you to specify the graph parameters you want
to graph in the Parameters/Formatting area
Ø Click Generate at the bottom of the Quick Access Panel to create the
static temperature, velocity, and Mach number graphs at the pipe
discharge over the duration of the simulation.
Ø To format the legend font size, right-click on each legend and use
the scroll bar to decrease the font size to 14 for all three graphs. Drag
the legend to the bottom right corner of the graph
Ø To format each axis font size, right-click on each axis title and use
the scroll bar to decrease the size until the font size on each axis
appears as you want it.
Figure 2.29 shows the stacked graphs detailing the static temperature,
velocity, and the Mach number at Pipe P2 outlet over the course of 240
seconds. Here you can see that the maximum temperature at the
discharge is about 1400 deg. F. Also note that the maximum temperature
in Figure 2.29 does not approach the value indicated in the Transient
Max/Min tab. This is because the Transient Pipe graph shows only the
outlet station (station 75), while the maximum temperature in pipe 2 is
reached at station 65.
48 AFT xStream™ 2 Quick Start Guide
Note: The axis titles in the stacked graphs in Figure 2.29 have been
modified for clarity.
Further review
Further review of the graph results in Figure 2.29 shows that sonic
choking occurs after several seconds and continues for the next 115
seconds. Also note that the temperature, velocity and Mach number all
rise sharply shortly after the valve opens, with the Mach number rapidly
reaching one. After the initial rise, the temperature and velocity both
Chapter 2 Tank Blowdown Example 49
decay while the Mach number remains at one. The velocity drops
because sonic velocity has a positive correlation with temperature, so as
the temperature decays, the velocity required for choked flow also
decreases. This relationship is important to understand when looking at
systems that encounter choking.
For the purpose of this analysis, it is also helpful to look at the
temperature and pressure of the tank over time.
Ø Create a new graph tab by clicking the "New Tab" button which is the
green plus icon located on the bottom right, immediately below the
graph area (Figure 2.27).
Ø Open the "Transient Jct" tab on the Graph Control tab of the Quick
Access Panel (Figure 2.30). Add the J1 (Supply Tank) Junction.
Ø Verify "seconds" is selected in the Time Units section and "All
Times" is selected in the Time Frame section to graph the Tank
Temperature and Pressure Stagnation over the entire simulation
duration.
Ø Click the "Add" button to add a new row under the Parameter
definition area.
Ø Select "Tank Temperature Stagnation" and specify the units as deg.
F. For the second row, select "Tank Pressure Stagnation" and specify the
units as psia.
Ø Click Generate at the bottom of the Quick Access Panel to display the
graph. These graphs show the tank pressure and temperature initially
decrease quickly, then decrease more slowly as time progresses. This
change in slope is due to a decreasing pressure gradient between the
tank and the atmosphere as the tank is emptied, which slows the mass
flow rate out of the tank (Figure 2.31).
Note: AFT xStream assumes all pipes are adiabatic (perfectly insulated).
Over a 240 second run time this assumption may not be accurate.
Consider this when evaluating simulation results over longer times.
50 AFT xStream™ 2 Quick Start Guide
Figure 2.32 The Visual Report Control window selects content for
the Visual Report window
It is common for the text in the Visual Report window to overlap when
first generated. You can change this by dragging the text to a new area
to increase clarity. You can also use the Visual Report Control window
to display units in a legend to increase the clarity of the display. These
adjustments have been made in Figure 2.33. This window can be printed
Chapter 2 Tank Blowdown Example 53
or copied to the clipboard for import into other Windows graphics
programs, saved to a file, or printed to an Adobe PDF file.
Figure 2.33 The Visual Report integrates results with model layout
Conclusion
You have now used AFT xStream's five Primary Windows to build and
analyze a simple gas transient model.
CHAPTER 3
Topics covered
Required knowledge
This example assumes that the user has some familiarity with AFT
xStream such as placing junctions, connecting pipes, entering pipe and
junction properties, and entering transient data. Refer to the Tank
Blowdown Example in Chapter 2 for more information on these topics.
58 AFT xStream™ 2 Quick Start Guide
Model file
The file listed below contains a completed version of this example and
can be located in the Examples folder as part of the AFT xStream
installation. This file can also be downloaded from the AFT xStream
help site from the Gas Turbine Fuel Example page:
l US - Gas Turbine Fuel System.xtr
Problem statement
After selecting the pipes, click the "Select Pipe Data" button. This will
open a template Pipe Properties window for entering the data to be
applied to all of the selected pipes. Fill out the data for the selected
pipes. When you have entered all of the data for the pipes, close the
Pipe Properties window by selecting OK. The Global Pipe Edit window
will now display a list of all of the parameters that may be applied to the
selected pipes. The parameters are categorized as they are displayed on
the tabs in the Pipe Properties window. For this example, you want all
of the parameters for all of the selected pipes to be updated to the
specified values. This can be accomplished by selecting the "All" button
above the list of parameters. The Global Pipe Edit window should now
appear as shown in Figure 3.3.
62 AFT xStream™ 2 Quick Start Guide
Figure 3.3 Global Pipe Edit window with all pipe parameters
selected for updating
J2 - Heat Exchanger
In the Loss Model tab enter the following:
1. Name = Natural Gas Heater
2. Elevation = 0 feet
3. K = 6.6
In the Thermal Data tab enter the following:
Steady Heat Rate = 3535200 Btu/hr
J3 - Valve
1. Elevation = 0 feet
2. Cv = 10000
3. Xt = 0.3
J4 and J7 - Tee
Elevation = 0 feet
J5 - Valve
1. Name = Diffusion Gas FCV
2. Elevation = 0 feet
3. Cv = 95
4. Xt = 0.7
After clicking the OK button in the Copy Data From Junction window,
all of the junction J9 parameters are updated to the selected J6 parameter
values. Set the name of junction J9 to "Combustion Basket #2" and click
OK. Repeat this process for J12, giving junction J12 the name
"Combustion Basket #3".
J8 - Valve
1. Name = Premix Gas FCV #1
2. Elevation = 0 feet
66 AFT xStream™ 2 Quick Start Guide
3. Cv = 195
4. Xt = 0.7
J10 - Branch
Elevation = 0 feet
J11 - Valve
1. Name = Premix Gas FCV #2
2. Elevation = 0 feet
3. Cv = 195
4. Xt = 0.7
5. On the Transient tab, enter the following data:
Time (seconds) Cv Xt
0 195 0.7
0.01 0 0.7
2 0 0.7
Note: Methane is used to model natural gas in order to minimize the run
time. If you need to model a real natural gas mixture, then instead of
using the AFT Standard fluid library, it would be better to use the NIST
REFPROP library or the optional Chempak add-on.
B. Set up scenarios
Child scenarios "inherit" data from their ancestor scenarios. As long as
the data has not been modified in a child scenario, data parameters in the
child scenario will have the same value as their parent. Since the Base
Scenario already has been setup with 8 Minimum Sections Per Pipe, the
"8 Sections Minimum Per Pipe" child does not need to be modified.
Note: It is essential that this change is made in the Base Scenario so all
scenarios are updated.
Note: Figure 3.10 has had the axes titles and scales modified to increase
clarity.
Step 11. Run the other scenarios and graph the results
Using the Scenario Manager, load the other two scenarios and run them.
Create the same graphs you created for Steps 11 and 12 for each of the
scenarios by double-clicking on the graph names in the Graph List
Manager. This will reveal that the general behavior of the graph is the
same for all 3 scenarios, but that the maximum temperature rises as the
section count is increased.
Conclusion
The overall maximum temperature can be found in the General section
of the Output window of each scenario. The difference between the
three sectioning counts is summarized in Table 3.1. For these cases the
maximum temperatures differ by 4.7 degrees.
Table 3.1 Summary of the maximum Static Temperature for the three
sectioning counts
Scenario Max Transient Temperature (deg. F)
8 Sections 173.2
4 Sections 170.2
2 Sections 168.5
While this example was focused on temperature, it also showed that
values such as pressure and velocity can be tracked by AFT xStream.
Additionally, this example identifies the Estimated Maximum
Temperature During Transient as a critical variable in the tabulation of
the transient results. This value sets the boundary for the characteristic
grid the Method of Characteristics uses. If sonic choking occurs at a
temperature higher than the estimated maximum, the model may not
converge. As such, this value should be conservatively high on early
runs of a model and then refined once the temperature that the transient
approaches is known.
78 AFT xStream™ 2 Quick Start Guide
CHAPTER 4
Topics covered
l Using the isometric grid to create a model
l Creating systems with multiple transients
l Evaluating the selection of a fluid property model
Required knowledge
This example assumes that the user has some familiarity with
AFT xStream such as placing junctions, connecting pipes, entering pipe
and junction properties, and entering transient data. Refer to the Tank
Blowdown Example in Chapter 2 for more information on these topics.
Model file
The file listed below contains a completed version of this example and
can be located in the Examples folder as part of the AFT xStream
80 AFT xStream™ 2 Quick Start Guide
installation. This file can also be downloaded from the AFT xStream
help site from the High Pressure Steam - Fluid Property Models
Example page:
l US - High Pressure Steam - Fluid Property Models.xtr
Problem statement
In this problem, the inlet valves to two steam turbines in a high pressure
steam system are closed simultaneously while the bypass line is valved
open. Evaluate the maximum pressure at the turbine inlet. Additionally,
quantify the mass flow rate through the bypass valve throughout the
transient. Lastly, perform an analysis on whether two-phase flow occurs
in the bypass line by conducting a sensitivity analysis on the fluid
property model utilized.
Figure 4.2 The isometric layout with the grid turned off
J2 - Area Change
1. Elevation = 0 feet
2. Type = "Conical Transition"
3. Angle (µ) = 45 Degrees
J8 - Dead End
Elevation = 0 feet
Chapter 4 High Pressure Steam - Fluid Property Models Example 85
J9 - Bend
Elevation = 0 feet
Type = Standard Elbow (knee, threaded)
J11 - Valve
1. Elevation = 5 feet
2. Cv = 3000
3. Xt = 0.7
4. On the Optional tab, under Special Condition, select the radio
button for Closed.
5. On the Transient tab, enter the following data
Time (seconds) Cv Xt
0 0 0.7
2 3000 0.7
5 3000 0.7
We also will animate the profile of the bypass line temperature and
pressure in order to determine whether condensation occurs.
1. Click the "New Tab" button to create a new graph.
2. From the Graph Control tab on the Quick Access Panel, select the
Profile tab
3. Select pipes 6, 8, 9, and 10
4. Verify the Length unit is set to feet
5. Next to Animate Using, verify "Output" is selected, and verify
"seconds" are the selected Animation Time Units
90 AFT xStream™ 2 Quick Start Guide
6. Add a second parameter in the parameters definition area, then
specify one parameter to be "Pressure Static" and the other to be
"Temperature Static"
7. Change the Pressure Static units to "psig" and the Temperature
Static units to "deg. F"
8. Click the Generate button
9. Click the Play button to review the graph
Note: If you wish to adjust the speed of the transient in the profile, you
can use the Speed Slider in the upper right-hand corner of the Graph
Results window to speed up or slow down the animation.
Lastly, we shall create a graph to show the mass flow rate and the
pressure drop through the bypass valve to gain insight into how the flow
develops in the bypass line.
1. Click the "New Tab"button to add a new graph tab
2. From the Graph Control tab on the Quick Access Panel, select the
Transient Jct tab
3. In the Select Junctions section, select J11 and click the ">" arrow
4. Add a second parameter in the Select Parameters section. Specify
the parameters as "Mass Flow Rate Inlet" and "Pressure Drop
Stagnation Total".
92 AFT xStream™ 2 Quick Start Guide
5. Set the units for Mass Flow Rate Inlet to "lbm/hr" and Pressure
Drop Stagnation Total to "psid"
6. Click Generate
As shown in Figure 4.8, the flow rate increases and the pressure drop
decreases as the valve opens over time. While the observed trends for
mass flow rate and pressure drop are typical for a valve that is opening,
it is still worthwhile to make Transient Jct graphs when multiple
transient events occur in order to fully understand the interactions
between them.
Note: Figure 4.8 has modified axes titles and its legend removed for
clarity.
Figure 4.8 Bypass valve mass flow rate and pressure drop
transient
Chapter 4 High Pressure Steam - Fluid Property Models Example 93
Table 4.2 Compatibility chart for fluid property model selection for
final runs
Model Requirements
Fluid
Complex User Specified
Library Mixtures
Systems Fluids
AFT Standard P P
NIST
P P
REFPROP
Chempak P P
ASME Steam
Conclusions
The mass flow rate through the bypass line was modeled and the
cumulative effect of multiple transient events was observed.
CHAPTER 5
Topics covered
l Calculating the forces associated with a transient event
l Using the Scenario Comparison Tool to compare scenarios
l Exporting force sets to CAESAR II®
Required knowledge
This example assumes that the user has some familiarity with AFT
xStream such as placing junctions, connecting pipes, entering pipe and
junction properties, and entering transient data. Refer to the Tank
Blowdown Example in Chapter 2 for more information on these topics.
98 AFT xStream™ 2 Quick Start Guide
Model file
This example uses the following file, which is installed in the Examples
folder as part of the AFT xStream installation. This file can also be
downloaded from the High Pressure Steam - Forces Example topic on
the Product Help Site:
l US - High Pressure Steam - Forces Quick Start.xtr
Problem statement
The inlet valves to two steam turbines are shut simultaneously in a high
pressure steam system. As the design engineer, you are tasked with
completing a piping stress analysis and need to capture the magnitude of
the forces caused by the aforementioned steam transient. Additionally,
determine how the valve closure time impacts the forces. Lastly, export
®
the force data to CAESAR II to check for compliance with standards.
Figure 5.2 Adding force set from Workspace using the right-click
menu
102 AFT xStream™ 2 Quick Start Guide
The remaining force sets will be defined inside the Force Definitions
panel.
Ø Define a force set by clicking "New", selecting the Force Type (in this
example, we will be using "Difference"), entering a name, and defining
the starting and ending locations of the force set. Set up the force sets as
shown in Figure 5.4. Click OK to exit the Analysis Setup window.
Chapter 5 High Pressure Steam - Forces Example 103
Figure 5.8 Forces tab in the Output window for the "0.1 Second
Valve Closure" scenario
Figure 5.10 Graph for forces of the "0.1 Second Valve Closure"
scenario
Note that at t = 0 seconds, there are no force imbalances for any of the
force sets. This is expected since the sum of forces across a piping run
between two elbows equals zero in a steady state system. If a Point or
Exit type force set were used instead of a Difference type force set, then
a non-zero force may be encountered during the steady state.
Additionally, some traditional methods of analyzing force sets will not
yield the same results as AFT xStream since they may not include
friction or momentum effects in their force balances. Traditional
methods can yield significantly different results and indicate incorrect,
non-zero forces during steady state conditions.
There are two important points to be observed here:
1. AFT xStream calculates transient fluid forces. This does not
include piping, component, or fluid weight, or any other forces
external to the piping. A comprehensive analysis of pipe loading
must separately include these items.
110 AFT xStream™ 2 Quick Start Guide
2. Ignoring friction and momentum force balance components will
result in force imbalances that do not exist.
Figure 5.11 Forces tab in the Output window for "0.25 Second
Valve Closure" scenario
Chapter 5 High Pressure Steam - Forces Example 111
Figure 5.12 Graph for forces of the "0.25 Second Valve Closure"
scenario
Figure 5.13 Forces tab in the Output window for the "0.5 Second
Valve Closure" scenario
112 AFT xStream™ 2 Quick Start Guide
Figure 5.14 Graph for forces of the "0.5 Second Valve Closure"
scenario
These figures show that the maximum force magnitude increases as the
valve closes faster. Typically, the more rapidly a change occurs, the
more severe the resulting forces are. Therefore, a utility of AFT xStream
would be to evaluate the correlation between transient event duration
(e.g., valve closing time) and the resultant force magnitudes.
The force sets to include in the force file may be individually selected,
along with how frequently data points are saved. The number of data
points that will be in the file is also displayed for the given setting. This
number should not exceed the maximum number of data points allowed
for the relevant piping stress software, which in the case of CAESAR
II® is 2500.
If unit vector information has been entered in the Force Definitions
panel, the Export Unit Vector option can be used to include this
information in the exported file. Similar methods to those described
above can be used to export force files to ROHR2®, TRIFLEX®, and
AutoPIPE®.
Conclusion
We created a force model to calculate the forces experienced as a result
of two simultaneous closures in a steam header. We also identified how
the length of the transient can have a significant impact on the forces a
system experiences. Finally, we discussed how to export these forces
into a force file to be used in pipe stress analysis software.
CHAPTER 6
Topics covered
l Using the PFA module to identify natural acoustic frequencies
l Defining valid sectioning and simulation duration settings for
pulsation analysis
l Checking API-618 compliance
Required knowledge
This example assumes that the user has some familiarity with
AFT xStream such as placing junctions, connecting pipes, entering pipe
and junction properties, and entering transient data. Refer to the Tank
Blowdown Example in Chapter 2 for more information on these topics.
Model file
The file listed below contains a completed version of this example and
can be located in the Examples folder as part of the AFT xStream
118 AFT xStream™ 2 Quick Start Guide
installation. This file can also be downloaded from the AFT xStream
help site from the Frequency Analysis - PFA Example page:
l US - Frequency Analysis PFA.xtr
Problem statement
J1 - Assigned Flow
1. Name = PD Compressor
2. Elevation = 12 feet
120 AFT xStream™ 2 Quick Start Guide
3. Mass Flow Rate = 100 lbm/s
4. Temperature = 100 deg. F
J2 - Valve
1. Elevation = 12 feet
2. Cv = 446
3. Xt = 0.8
J3 - Branch
Elevation = 12 feet
J4 - Valve
1. Elevation = 0 feet
2. Cv = 1570
3. Xt = 0.6
J5 - Assigned Pressure
1. Elevation = 0 feet
2. Stagnation Pressure = 0 psig
3. Temperature = 100 deg. F
J6 - Dead End
1. Name = Closed Valve
2. Elevation = 12 feet
Figure 6.2 Pulse Setup panel in the Analysis Setup window with
all pulsation settings defined
Now that all of the pulsation inputs are defined, look at the Pulsation
Summary at the bottom of the window. The defined Cutoff Frequency
and the Minimum Number of Frequency Samples will affect the number
of sections and the simulation duration that are required to run the
analysis. If the number of sections is insufficient, then the time step will
be too large to capture the specified Cutoff Frequency. Similarly, if the
simulation duration is too small, then the number of time steps will not
accommodate the Minimum Number of Frequency Samples.
Checking the Pulsation Summary for this example, the Minimum
Sections Required for Cutoff are 2, and the Minimum Simulation
Duration Required for Min. Samples is 0.80 seconds. Both of these
requirements are satisfied by the current model settings. The "Update
Chapter 6 AFT xStream Add-on Module - PFA Example 123
For Me" button can be used to automatically change the minimum
number of sections and/or the minimum simulation duration if they are
insufficient. Click OK to exit the Analysis Setup window.
Figure 6.3 Pressure Static in each of the pipes for the frequency
analysis
Conclusion
The PFA add-on module for AFT xStream can be used to apply a
pressure pulse to the system in order to identify acoustic frequencies
which may result in damage. These frequencies can be used in further
pulsation analysis to determine if pulsation mitigation is required, and
what mitigation would be effective.
132 AFT xStream™ 2 Quick Start Guide
CHAPTER 7
Besides the default adiabatic heat transfer model, pipes can be modeled
using convective heat transfer, convective heat transfer with heat flux, or
convective heat transfer with heat tracing. When any of the convective
heat transfer models are selected conductive heat transfer in the fluid
and pipe walls will be accounted for both radially and axially, well as
accounting for convective heat transfer at the pipe wall surfaces.
The ASME Steam Tables library offers users access to fluid properties
obtained from the IAPWS Industrial Formulation 1997 for the
Thermodynamic Properties of Water and Steam (ISPWS-IF97). This
library is selected by choosing the option at the top of the Fluid panel in
the Analysis Setup window, at which point it is automatically displayed
in the Fluids in Current Model area.
Sonic choking
AFT xStream can model flow and pressure control valves. AFT xStream
accounts for control valves which lose and regain control during the
transient.
Relief valves
The Relief Valve junction allows for a non-reclosing style relief device
to be modeled. The loss through the relief valve can be represented
using orifice sizes from API 526.
Elevation changes
Fitting library
AFT xStream offers a library of about 400 fitting losses which can be
added to pipes.
Design alerts
Design Alerts can be entered for pipes, then cross-plotted vs. system
behavior. A common use is maximum allowed operating pressure.
136 AFT xStream™ 2 Quick Start Guide
Network libraries
The Visual Report window also provides the ability to animate the
transient results as a qualitative tool to visualize the behavior in a
network. One parameter can be animated using absolute values, values
relative to the steady state, or a static map of all maximum/minimum
transient values can be generated. The animation can also be recorded to
a file.
AutoCAD Plant 3D 133
Index B
Branch junction See Junctions, Branch
A
C
AFT Arrow Steady Solver 2, 38, 94
CADWorx 133
AFT Standard library See Fluid
libraries, AFT Standard library CAESAR II 133
Q Modeling Preferences 10
T
Tank junction See Junctions, Tank
Tee junction See Junctions, Tee
Toolbars 31
Toolbox 12-13
Annotation tool 12
Pipe Drawing Tool 12, 15, 17
Transient Control group 36
Transient event
specification See Properties
windows, Transient tab, Specification
Transient Jct tab See Graph Control
tab, Transient Jct tab
Transient output file 39
Transient Pipe tab See Graph Control
tab, Transient Pipe tab
Transient Solver 2, 38, 94
U
Undefined objects list See Defining
objects, List Undefined Objects
window
User Options 19
V
Valve junction See Junctions, Valve
Visual Report Control 51
Visual Report window 4, 51
W
Workspace window 4, 12-13, 58