LogoLogo
  • 1. GASFLOW Code
    • 1.1. Overview
    • 1.2. Code Approach
    • 1.3. Code Features
    • 1.4. Graphical User Interface
    • 1.5. Code V&V
    • 1.6. Application Highlights
    • 1.7. Publications
    • 1.8. Current Activities
  • 2. Tutorials
    • 2.1. Overview
    • 2.2. Sod's Shock Tube Problem
    • 2.3. Mesh Generation from CAD Models
    • 2.4. 2D Lid-driven Cavity Flow
    • 2.5. Hydrogen Diffusion into Air in a 1D Duct
    • 2.6. Supersonic Flow over a Forward-facing Step
    • 2.7. Vented Explosion of Premixed Hydrogen-Air Mixtures
    • 2.8. Transient Laminar Jet Flow at Low Mach Number Regime
  • 3. Brief User Guide
    • 3.1. Overview
    • 3.2. General User Guidance
    • 3.3. Unit System and Files
    • 3.4. Mesh Generation
    • 3.5. Geometry Definition
    • 3.6. Numerical Control
    • 3.7. Gas Species and Properties
    • 3.8. Initial and Boundary Conditions
    • 3.9. Solid Heat Structures
    • 3.10. Physical Models
    • 3.11. Restart and Output
    • 3.12. GASFLOW Parallelization
  • 4. Pre- and Post-Processing Tools
    • 4.1. GASVIEW
    • 4.2. Pyscan
    • 4.3. Create3D
  • 5. Verification and Validation
    • 5.1.Overview
    • 5.2. Fluid Dynamics
      • [AS-FD 1] Steady-State and Laminar Flow Startup
      • [AS-FD 2] Transient Compressible Flow
      • [AS-FD 3] Diffusion of Hydrogen into Air
      • [AS-FD 4] Flow past a Rectangular Block
      • [AS-FD 5] 1D Flow with an Orifice
      • [ED-FD 1] Incompressible Laminar Flow in a Lid-driven Cavity
      • [ED-FD 2] Stationary Turbulent Channel Flow
      • [ED-FD 3] Turbulent Flow between Two Parallel Plates
      • [ED-FD 4] Flow over Backward-Facing Step
      • [ED-FD 5] Transient Supersonic Flow at Mach 3 over a Forward-facing Step
      • [ED-FD 6] Large Eddy Simulations of the Turbulent Jet Flow
      • [ED-FD-7] Hydrogen Turbulent Dispersion in Nuclear Containment Compartment
      • [ED-FD 8] Buoyant Jet from Unintended Hydrogen Release
      • [ED-FD 9] Radiolytic Gas Accumulation in a Pipe
      • [ED-FD 10] Supersonic Flow at Mach 2 over a Backward Facing Step
    • 5.3. Combustion
      • [ED-CM 1] BOM Spherical Combustion Chamber
      • [ED-CM 2] SNL Flame Acceleration Measurement Facility Experiment
      • [ED-CM 3] Hydrogen Deflagration in a Multi-compartment System
      • [ED-CM 4] Hydrogen Jet Fire in a Compartment with Venting Hole
      • [ED-CM 5] Hydrogen-Air Fast Deflagration in ENACCEF Facility
      • [ED-CM 6] Detonation of Premixed H2-Air Mixture in a Hemispherical Balloon
      • [ED-CM 7] H2 Deflagration at a Refueling Station
      • [ED-CM 8] Methane-Air Explosion in LLEM
      • [ED-CM 9] Hydrogen-Methane Combution in a 20 L Spherical Vessel
    • 5.4. Heat and Mass Transfer
      • [AS-HT 1] Steady-State Heat Transfer through a Wall
      • [AS-HT 2] Pressure-Volume Work Term 1: Equilibrium Case
      • [AS-HT 3] Thermodynamic Benchmarks
      • [AS-HT 4] Uniform Energy Addition to Stagnant Fluid
      • [ED-HT 1] Natural Convection in an Air-filled Square Cavity
      • [ED-HT 2] Validation of the condensation model with COPAIN facility
      • [ED-HT 3] Heat and mass transfer of a thin film model in a channel
      • [ED-HT 4] Validation of the Film Model in the Integral Test Facility for Passive Containment Cooling
      • [ED-HT 5] Stratification Erosion Benchmark
      • [ED-HT 6] Battelle Containment HYJET Test JX7
      • [ED-HT 7] Battelle GX Tests
      • [ED-HT 8] Tests in ThAI Facility
      • [ED-HT 9] HDR Tests
      • [ED-HT 10] Phebus Thermal Hydraulic Tests
      • [ED-HT 11] Test Tosqan ISP47
      • [ED-HT 12] Test MISTRA ISP47
      • [ED-HT 13] Panda SETH Test Program
    • 5.5. Multiphase Flow
      • [AS-MP 1] Particle Terminal Velocity
      • [AS-MP 2] Water droplet evaporation
      • [ED-MP 1] Spray Single Droplet Test
      • [ED-MP 2] Spray Droplets Test 113 at IRSN TOSQAN
      • [ED-MP 3] Spray Droplets Test 101 at IRSN TOSQAN
  • 6. APPLICATION HIGHLIGHTS
    • 6.1. H2 Fuel Cell Vehicle Accident in Tunnel
    • 6.2. Hydrogen Explosion in a Refueling Station
    • 6.3. Hydrogen Explosion at Fukushima Accident
    • 6.4. Methane Explosion in the Roadway of a Coal Mine
    • 6.5. Aerosols and Droplets
      • 6.5.1. Coronavirus Aerosol Transmission
      • 6.5.2. Water Droplets
  • 7. Ongoing Development and Enhancements
    • 7.1. Combustion Modeling
      • 7.1.1. Multi-step Global Methane Combustion Models
        • 7.1.1.1. One-step Reaction Mechanism
        • 7.1.1.2. Two-step Reaction Mechanism
        • 7.1.1.3. Three-step Reaction Mechanism
        • 7.1.1.4. Four-step Reaction Mechanism
        • 7.1.1.5. Five-step Reaction Mechanism
        • 7.1.1.6. FAQ
      • 7.1.2. Laminar Flame Speed Correlations for Methane-air Mixtures
        • 7.1.2.1. Stone's Correlation
        • 7.1.2.2. Elia's Correlation
        • 7.1.2.3. Takizawa's Correlation
        • 7.1.2.4. Liao's Correlation
      • 7.1.3. Turbulent Flame Speed Correlations for Methane-air Mixtures
      • 7.1.4. Correction of Effective Turbulent Burning Velocity for Lean Hydrogen-air Mixtures
      • 7.1.5. Induction Time Model
      • 7.1.6. Detailed Chemical Kinetic Modeling
      • 7.1.7. Jet Flame Modeling
    • 7.2. Discrete Particle Modeling
      • 7.2.1. Particle mass in user-defined volumes - volpardef
      • 7.2.2. Particle injection from ring shaped volumes
    • 7.3. Heat Transfer Modeling
      • 7.3.1. Time-dependent tables for heat flux and heat transfer coefficient in sinkdef
      • 7.3.2. Thermal Radiation Model for Water Vapor and Carbon Dioxide
  • 8. INPUT FILE EXAMPLES
    • 8.1. Overview
    • 8.1. Fluid Dynamics
  • 8.2. Combustion
  • 8.3. Heat Transfer
  • 8.4. Multiphase Flow
  • 8.5. Applications
  • 9. Frequently Asked Questions
    • 9.1. How to set up models for the flashing of pressurized water?
Powered by GitBook
On this page
  • 8.1.1. Theory
  • 8.1.2. Input files
  • 8.1.3 Calculation Results

Was this helpful?

  1. 9. Frequently Asked Questions

9.1. How to set up models for the flashing of pressurized water?

Previous8.5. Applications

Last updated 1 year ago

Was this helpful?

8.1.1. Theory

The flashing of the coolant water from a break is treated by means of pre-expansion using the sortam file in GASFLOW-MPI. The underlying theory of pre-expansion and the methodology for configuring a pre-expansion scenario are detailed in the user manual.

It is often desirable to pre-calculate the expansion process and then use this pre-expanded source as the source. Figure 8.1.1 illustrates various two-phase pre-expansion scenarios in a classical temperature-entropy diagram under the initial conditions stated in the sortam file, which are then expanded to a containment pressure:

  • Path A-B represents an isentropic expansion, where entropy remains constant.

  • Path A-C denotes an isenthalpic process, characterized by constant enthalpy.

  • Path A-D describes an isenergetic expansion, where the internal energy is conserved.

In general, we're interested in the production of the vapor component during the expansion or flashing process. Displaying the vapor production is shown in Figure 8.1.2 where we plot vapor mass fraction as a function of Temperature. The least amount of vapor is produced by the isentropic expansion, while the maximum amount is produced by the isenergetic process.

Steam table data has been introduced into the GASFLOW-MPI code to accurately predict the above-mentioned expansions from saturation conditions of up to 200 bars (639 K) down to 0.01 bars (280 K). The equation governing the expansion is

Eq. 8.1‑1

Eq. 8.1‑2

where the subscript i refers to the property associated with expansion A-B, A-C, or A-D. Solving for the quality yields

Eq. 8.1‑3

Eq. 8.1‑3 is used to generate the results shown in Figure 8.1-2.

8.1.2. Input files

The ingf and sortam files are available for download below.

The user can specify which expansion they want by using the tenth (10th) entry in the gasdef statement

gasdef(1:24,2) = 32, 35, 39, 42, 7, 8, 1, -1, -2, 1, 0., 1.e+99,

'n2', .0, 'o2', .0, 'h2', -306, 'h2o', -304, 'h2ol', -305, 'xenon', -307,

The meaning of 10th entry is defined by

gasdef(10,*)

Option flag for specification of gas composition: 1 for mass fraction, 2 for volume fraction, > 9 implies a time dependent function for the pressure and temperature will be specified. In addition, < 0 values imply pre-expansions:

-101 is an isentropic expansion with sortam data specified in terms of mass fractions;

-201 is an isenthalpic expansion with sortam data specified in terms of mass fractions;

-301 is an Isenergetic expansion with sortam data specified in terms of mass fractions;

-102 is an isentropic expansion with sortam data specified in terms of volume fractions;

-202 is an isenthalpic expansion with sortam data specified in terms of volume fractions;

-302 is an Isenergetic expansion with sortam data specified in terms of volume fractions;

When using the pre-expansion option, it is assumed that the expansion will occur from the pressure specified in the sortam file, column #2 in the above example, to a value characteristic of the containment pressure. As written in the new user manual, |gasdef(8,*)| > 1,000,000, then it is a packed i, j, k, iblk location for a reference pressure located in cell i, j, k, iblk.

In the following gasdef statement, we specify an isenergetic expansion from the data in the sortam file to the reference pressure located in cell i=36, j=43, k=08, and iblk=1.

gasdef(1:24,2) = 32, 35, 39, 42, 7, 8, 1, -36430801, -2, -301, 0., 1.e+99,

'n2', .0, 'o2', .0, 'h2', -306, 'h2o', -304, 'h2ol', -305, 'xenon', -307,

Since GASFLOW-MPI solves the internal energy equation as one of the primitive variable equations, it isn't too surprising to see that the results obtained with no pre-expansion (a natural expansion) and the isenergetic pre-expansion are nearly identical in the pressurization of the containment.

At the beginning of the accident, the source is almost liquid water with high-pressure and -temperature. The gasdef (1:24,2) in ingf file defines the pre-expention of such liquid water into the containment atmosphere with low pressure and temperature. The user can run the calculation using the ingf file together with the sortam file.

8.1.3 Calculation Results

The calculation results can be plotted by opening the following files with pyscan.

where is the desired expansion property at condition A, is the saturated liquid value of the same property, is the difference between the saturated vapor and liquid values for the same property, and is quality or vapor mass fraction. Expanding now to the second state at the containment pressure, actually the saturation temperature for the containment pressure, gives

11KB
ingf
1KB
sortam
325KB
plothist.nc
3MB
profiles.nc
Figure 8.1-1. Path in a temperature-entropy diagram for a two-phase expansion from saturated liquid water at 157 bars to 1 bar for Isentropic (A-B), Isenthalpic (A-C), and Isenergetic (A-D) processes.
Figure 8.1-2 Path in a temperature-mass fraction diagram for a two-phase expansion from saturated liquid water at 157 bars to 1 bar for Isentropic (A-B), Isenthalpic (A-C), and Isenergetic (A-D) processes.
The average containment pressure
The average containment temperature
The total steam mass in the containment
Steam volume fraction in the containment at 0.1 s
Steam volume fraction in the containment at 0.3 s