pflotran code development for waste isolation pilot plant … hammon… · long-term approach to...

32
Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia LLC, a wholly owned subsidiary of Honeywell International Inc. for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525. SAND2017-11103C PFLOTRAN Code Development for Waste Isolation Pilot Plant Performance Assessment Glenn Hammond, Todd R. Zeitler 2017 P&RA CoP Annual Technical Exchange Meeting Albuquerque, NM October 18-19, 2017

Upload: others

Post on 21-Sep-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Photos placed in horizontal position

with even amount of white space

between photos and header

Sandia National Laboratories is a multimission laboratory managed and operated by National Technology and Engineering Solutions of Sandia LLC, a wholly

owned subsidiary of Honeywell International Inc. for the U.S. Department of Energy’s National Nuclear Security Administration under contract DE-NA0003525.

SAND2017-11103C

PFLOTRAN Code Development for Waste Isolation Pilot Plant Performance Assessment

Glenn Hammond, Todd R. Zeitler2017 P&RA CoP Annual Technical Exchange Meeting

Albuquerque, NM October 18-19, 2017

Page 2: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Waste Isolation Pilot Plant Location

22

Page 3: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

About The WIPP

3

- The nation's only licensed deep geologic repository for nuclear waste

- Operated by U.S. Department ofEnergy (DOE)

- Long-term performance regulatedby U.S. EnvironmentalProtection Agency (EPA)

- Waste is emplaced in a salt formation deep underground

- Long-term regulatory complianceis demonstrated via Performance Assessment (PA) undertaken bySNL Carlsbad

The WIPP is a permanent disposal facility for transuranic waste

Page 4: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Outline

Current Representation of WIPP Repository in WIPP PA

- Challenges of potential layout changes

PFLOTRAN Development for WIPP PA- Long-term integration plan

- Process model workflow

- Code testing

Summary

4

Page 5: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

WIPP Performance Assessment

PA calculations cover 24 peer-reviewed conceptual models

PA codes include 10 principal codes and many utility codes

5

Page 6: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

WIPP Repository Layout

6

Panel Closures

Waste Panels

Operations Area

Experimental Area

Shafts

Page 7: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

7

Current 2-D “Flared” Grid

(plan view)

• One cell in thickness

• Thickness of each cell varies

• Approved for use in Compliance

Certification Application (CCA)

• Shown to give similar results to a

3-D representation using BRAGFLO

• Radial concentric flow

• No lateral flow

• Relies on (approximately) symmetric

repository layout

2D Representation of Repository

Page 8: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

2D Representation of Repository

8

Current 2-D Grid

(cross-sectional view)• Used by BRAGFLO

• Two-phase flow (brine and gas)N

Page 9: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Panel Closures

Waste PanelsOperations

Area

Experimental Area

Shafts

Potential for Asymmetric Layout

9

• Potential for additional waste panels

challenges the radial concentric flow

assumption

• DOE is interested in a tool to handle

a more asymmetric layout with a

modern 3-D code

• PFLOTRAN code under further

development for WIPP PA application

Page 10: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Long-term Approach to Integration

10

• Implementation of WIPP-specific

process models

• Gas generation, creep closure, etc.

• Comparison of PFLOTRAN against

BRAGFLO/NUTS for 2-D flared grid

• Validates flow and transport

• Comparison of PFLOTRAN w/3-D

representation against 2-D flared grid

• Quantifies impact of 2-D3-D

• Development of 3-D grid

• Resolution

• Run-time

• Formal reviews

• EPA review

• Peer review

• Use in Compliance Recertification 2024

PA (CRA-2024 PA) (and beyond…)

Page 11: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Petascale reactive multiphase flow and transport code

Open source license (GNU LGPL 2.0)

Object-oriented Fortran 2003/2008 Pointers to procedures

Classes (extendable derived types with

member procedures)

Founded upon well-known (supported) open source libraries MPI, PETSc, HDF5, METIS/ParMETIS/CMAKE

Demonstrated performance Maximum # processes: 262,144 (Jaguar supercomputer)

Maximum problem size: 3.34 billion degrees of freedom

Scales well to over 10K cores11

Page 12: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Application of PFLOTRAN Nuclear waste disposal

Waste Isolation Pilot Plant (WIPP) in Carlsbad, NM

DOE Used Fuel Disposition Program

SKB Forsmark Spent Fuel Nuclear Waste Repository (Sweden, Amphos21)

Climate: coupled overland/groundwater flow; CLM

Next Generation Ecosystem Experiments (NGEE) Arctic

DOE Earth System Modeling (ESM) Program

Biogeochemical transport modeling

U(VI) fate and transport at Hanford 300 Area

Hyporheic zone biogeochemical cycling

Columbia River, WA, USA

East River, CO, USA

CO2 sequestration

Enhanced geothermal energy

Radioisotope tracers

Colloid-facilitated transport12

Hammond and Lichtner, WRR, 2010

Page 13: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

PFLOTRAN Computing Capability

High-Performance Computing (HPC) Increasingly mechanistic process models

Highly-refined 3D discretizations

Massive probabilistic runs

Open Source Collaboration Leverages a diverse scientific community

Sharing among subject matter experts and stakeholders from labs/universities

Modern Fortran (2003/2008) Domain scientists remain engaged

Modular framework for customization

Leverages Existing Capabilities Meshing, visualization, HPC solvers, etc.

Configuration management, testing, and QA 13

Data Assimilation

Xingyuan Chen, PNNL, 2011

Page 14: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Traditional Process Model Coupling

14

Initialization

Time Stepping

Flow

Reactive Transport

Done?

Finalization

Traditional Time

Stepping Loop

Page 15: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

PFLOTRAN Workflow

15

Initialization

Execution

Finalization

ProcessModel

Couplers

Page 16: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Process Model Coupling

16

Process Model Coupler

Multiphase Flow Time IntegratorNewton SolverLinear Solver

Process Models Numerical Methods

Peer(sync-point)

Child(catch-up)

Page 17: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Hypothetical PMC Coupling

17

PMC A

PMC C

PMC B

PMC = Process Model Coupler

Page 18: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Hypothetical PMC Coupling

18

PMC A

PMC C

PMC B PMC M PMC Y

PMC Z

PMC = Process Model Coupler

Page 19: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

PFLOTRAN Workflow

19

Initialization

Execution

Finalization

PMC A

PMC C

PMC B PMC M PMC Y

PMC Z

Page 20: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Flexible Process Model Coupling

Benefits Customizable linkage between process models, e.g.

Flow

Transport

Reaction

Updates to material properties at select times

Flexible time stepping

Individual processes may run at their own time scale.

Modularity for incorporating new process models

Time stepping loops for existing process models are not impacted.

20

Page 21: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

WIPP Process Models

Two-phase flow Immiscible

Isothermal

WIPP-specific capability Characteristic curves: capillary pressure, relative permeability =

f(liquid saturation)

Creep closure: porosity = f(liquid pressure, time)

Fracture processes: permeability, porosity = f(liquid pressure)

H2(g) generation: gas source = f(liquid saturation, time)

Klinkenberg effect: gas permeability = f(gas pressure)

Soil compressibility: porosity = f(liquid pressure)

Redlich-Kwong-Soave equation of state: gas density = f(gas pressure)

Modification of material properties at select points in time

21

Page 22: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

WIPP Process Model Coupling

22

Process Model Coupler

WIPP Flow• Creep Closure• Fracture• Klinkenberg Effect• Soil Compressibility• Characteristic Curves• RKS EOS

Time IntegratorNewton SolverLinear Solver

Process Models Numerical Methods

Peer(sync-point)

Child(catch-up)

Page 23: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

WIPP Process Model Coupling

23

WIPP Flow

Transport Gas Generation

Material Update

Page 24: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Current WIPP Workflow

24

Initialization

Execution

Finalization

WIPP Flow

Transport Gas Generation

Material Update

Page 25: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

WIPP Process Model Coupling

25

Process Model Coupler

WIPP Flow• Creep Closure• Fracture• Gas Generation• Klinkenberg Effect• Soil Compressibility• Characteristic Curves• RKS EOS

Time IntegratorNewton SolverLinear Solver

Process Models Numerical Methods

Peer(sync-point)

Child(catch-up)

Page 26: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Future WIPP Workflow

26

Initialization

Execution

Finalization

WIPP Flow

Transport

Material Update

Page 27: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Process Model Implementation

27

• Code development

• Transport is straight-forward

• Flow has required more work

• Validation/Verification Testing

• Against BRAGFLO, NUTS,

analytical solutions

• Single-cell

• Multi-cell

Sample test for gas

generation

(pressure and

saturation compared)

Page 28: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Summary

28

• SNL is further developing the existing PFLOTRAN code for

application to WIPP PA

- Potential repository layout changes require 3-D

representation

• Process model workflow has been an important part of the

development

• Thanks to WIPP PA PFLOTRAN development team

James Bethune

Brad Day

Michael Feng

Jennifer Frederick

Sungtae Kim

Heeho Park

Ramesh Sarathi

Emily Stein

Page 29: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

29

Questions?

Page 30: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

PA Code Map/Description

30

Codes Description

BRAGFLO Simulates porous media flow in and surrounding the repository over

10,000 years

NUTS Calculates radionuclide transport in the Salado Formation including

the repository

BRAGFLO-DBR Predicts release from the repository to the environment via borehole

intrusion

MODFLOW Used to calculate flow field away from the repository in the Culebra

member of the Rustler Formation

SECOTP2D Computes radionuclide transport in fractured porous media (Culebra)

PFLOTRAN Massively parallel reactive flow and transport model for describing

surface and subsurface processes

Page 31: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Current PA vs PFLOTRAN

Codes Current PA PFLOTRAN

BRAGFLO

(porous

media flow)

- Immiscible (gas/liquid)

- Isothermal

- Two-phase flow

- Miscible

- Anisothermal

- Multiphase Flow

- Diffusion

NUTS

(radionuclide

transport)

- Multicomponent transport

- Single porosity

- Constant sorption

- Single continuum model

- Biogeochemical Transport

- Dissolution/precipitation

- Multi-rate sorption

- Multi-continuum model

General

Comparison

- 2D

- Structured grid

- Parallel with single core simulations

- Limitations on simulation size

- Many I/O interfaces required

- Network of coupled 2D simulations

- Simplified process models and

coarse mesh for quicker overall

calculation time

- 3D

- Unstructured/structured grid

- Massively parallel

- Simulation size only depends on

hardware capability

- Need to develop WIPP-specific

functionalities

- Detailed process models and high

mesh resolution, but overall PA

calculation may be longer

31

Page 32: PFLOTRAN Code Development for Waste Isolation Pilot Plant … Hammon… · Long-term Approach to Integration 10 • Implementation of WIPP-specific process models • Gas generation,

Other Advantages of PFLOTRAN

Open source development

A broad research community that leverages innovation in subsurface and computational sciences.

In-house code development expertise

Multiple Sandians are PFLOTRAN developers with authorization to commit changes to the code.

Managed under a modern support infrastructure

Distributed source control management through Mercurial

Central, open source repository resides on Bitbucket

Comprehensive regression and unit testing using Python

Automated building and testing through Buildbot

PFLOTRAN HDF5 file formats

Compatible with open source visualization tools (i.e. VisIt and Paraview)

32