Simulation Tool for Variably Saturated Flow with Comprehensive Geochemical Reactions in 2D and 3D Coupling COMSOL Multiphysics® and PHREEQC Laboratoire.

Slides:



Advertisements
Similar presentations
Diffusion (continued)
Advertisements

CHEMICAL AND PHASE EQUILIBRIUM (1)
Dissociation of H 2 O:H 2 O ↔ H + + OH - K w = a H+ a OH- a H2O Under dilute conditions: a i = [i] And a H2O = 1 Hence: K w = [H + ] [OH - ] At 25 o C.
Department of Civil & Environmental Engineering
Modeling in Electrochemical Engineering
1111 Chemistry 132 NT I never let my schooling get in the way of my education. Mark Twain.
Carbon Deposition in Heterogeneous Catalysis
A modified Lagrangian-volumes method to simulate nonlinearly and kinetically adsorbing solute transport in heterogeneous media J.-R. de Dreuzy, Ph. Davy,
Class evaluations.
Chemical Equations & Reactions
z = -50 cm, ψ = -100 cm, h = z + ψ = -50cm cm = -150 cm Which direction will water flow? 25 cm define z = 0 at soil surface h = z + ψ = cm.
Kinetics Class #4 OB: reactions that are in dynamic equilibrium and how to “push” them forward, or reverse using LeChatelier's Principle.
Thermodynamics “the branch of science that deals with energy levels and the transfer of energy between systems and between different states of matter”
Chapter 16: Chemical Equilibrium- General Concepts WHAT IS EQUILIBRIUM?
Numerical Simulations of Multi-Species Contaminant Transport in Variably Saturated Aquifers in Coastal Areas Presenter : Yi-Ming Wei Adviser : Chuen-Fa.
Ground-Water Flow and Solute Transport for the PHAST Simulator Ken Kipp and David Parkhurst.
Coupling Continuum Model and Smoothed Particle Hydrodynamics Methods for Reactive Transport Yilin Fang, Timothy D Scheibe and Alexandre M Tartakovsky Pacific.
Spatial Reduction Algorithm for Numerical Modeling of Atmospheric Pollutant Transport Yevgenii Rastigejev, Philippe LeSager Harvard University Michael.
Modelling of the removal of livestock-related airborne contaminants via biofiltration Dennis McNevin and John Barford Department of Chemical Engineering.
1 Horizontal Infiltration using Richards Equation. The Bruce and Klute approach for horizontal infiltration.
HYDRUS_1D Sensitivity Analysis Limin Yang Department of Biological Engineering Sciences Washington State University.
Status report on Step1 of Task A, DECOVALEX-2011 modeling for Ventilation Experiment –modeling for Ventilation Experiment By Xiaoyan Liu, Chengyuan Zhang.
Gas Phase Transport Principal Sources: VLEACH, A One-Dimensional Finite Difference Vadose Zone Leaching Model, Version 2.2 – United States Environmental.
Topic E conservation of atoms and mass
1 Horizontal Infiltration using Richards Equation. The Bruce and Klute approach for horizontal infiltration.
Adsorption Equilibrium Adsorption vs. Absorption –Adsorption is accumulation of molecules on a surface (a surface layer of molecules) in contact with an.
Talal Almeelbi Surface Complexations of Phosphate Adsorption by Iron Oxide.
Chemical Weathering. I. Introduction Chemical Weathering I. Introduction II. Process of Decomposition A. Overview: Decomposition alters minerals into.
Chemistry 3/24/14 “The key is not the 'will to win'...everybody has that. It is the will to prepare to win that is important.” Bobby Knight.
Soil Salinity Saline Soil Solution Cation Exchange and Colloidal Phenomena Mineral Weathering Boron Chemistry Irrigation Water Quality.
Lecture #26 What’s on the Final?
S.S. Yang and J.K. Lee FEMLAB and its applications POSTEC H Plasma Application Modeling Lab. Oct. 25, 2005.
Institute for Mathematical Modeling RAS 1 Dynamic load balancing. Overview. Simulation of combustion problems using multiprocessor computer systems For.
Predicting Vapor Intrusion Risks in the Presence of Soil Heterogeneities and Anthropogenic Preferential Pathways Brown University Ozgur Bozkurt, Kelly.
Surveillance monitoring Operational and investigative monitoring Chemical fate fugacity model QSAR Select substance Are physical data and toxicity information.
Species in natural freshwater Central equilibriums in natural water samples KJM MEF 4010 Module 19.
Chemical Formulas and equations
Chemical Reactions Balancing Chemical Reactions. Chemical Reactions  Objectives  List three observations that suggest that a chemical reaction has taken.
USING FREE GEOCHEMICAL SOFTWARE FROM THE U.S. GEOLOGICAL SURVEY DEVIN CASTENDYK STATE UNIVERSITY OF NEW YORK, ONEONTA
Procedure for a conceptual design of a separation process 1. Definition of the separation problem 2. Accumulation of data of the substances involved 3.
Minerals and water ーPHREEQC programsー
Materials Process Design and Control Laboratory MULTISCALE MODELING OF ALLOY SOLIDIFICATION LIJIAN TAN NICHOLAS ZABARAS Date: 24 July 2007 Sibley School.
Oxidation and Reduction Lecture 9. Law of Mass Action Important to remember our equation describes the equilibrium condition. At non-equilibrium conditions.
Surface Water Hydrology: Infiltration – Green and Ampt Method
Modeling Acid Rain Formation and Atmospheric Deposition (2)
Variably Saturated Flow and Transport: Sorbing Solute.
Summary  We have implemented numerically stable, continuous method of treating condensation on to grains in Titan’s atmosphere.  Our model can establish.
Example: Thin film resistance
1 The Islamic University of Gaza Faculty of Engineering Civil Engineering Department Environmental Engineering (ECIV 4324) Chapter 2 – Chemical Water Quality.
PH and Chemical Equilibrium. Acid-base balance Water can separate to form ions H + and OH - In fresh water, these ions are equally balanced An imbalance.
A chemical reaction is the process by which one or more substances are changed into one or more different substances. In any chemical reaction, the original.
Chemical Reactions The basics Ms. Clark. What is a chemical reaction When a chemical reaction occurs, new substances called products form from the substances.
Bjerrum plot showing the activities of inorganic carbon species as a function of pH for a value of total inorganic carbon of mol L -1. In most natural.
CHEMICAL REACTIONS Basics. OBJECTIVES CHEMICAL REACTIONS  All Chemical reactions have a few things in common  They all start with the reactants  They.
4.6 INTRODUCING ‘SWAM’ (SOIL WATER ACCOUNTING MODEL)
Kinetics and Equilibrium. Kinetics Kinetics is the part of chemistry that examines the rates of chemical reactions. Collision theory is the concept of.
© 2016 Carl Lund, all rights reserved A First Course on Kinetics and Reaction Engineering Class 38.
Precipitate Interact Mineral scaling and Produced Water Chemistry Corrode Equilibrate.
Chapter 11 Solving Equilibrium Problems for Complex Systems.
K eq calculations Here the value of K eq, which has no units, is a constant for any particular reaction, and its value does not change unless the temperature.
 Bioenergetics is the quantitative study of the energy transductions that occur in living cells and of the nature and function of the chemical process.
Challenges with simultaneous equilibrium Speciation programs (MINEQL)
TOUGHREACT: A Reactive Transport Simulator
LDAT workshop Jim White.
Application Example Infiltration of Sodium-Carbonate Solution From Irrigation Trench into Calcitic Loam Description: Infiltration of sodium-carbonate solution.
Mathematical modeling techniques in the engineering of landfill sites.
Chemical Equations and Reactions
(1) Amphos 21 Consulting S.L. (2) Grupo Tragsa - SEPI, Spain.
Atmospheric modelling of HMs Sensitivity study
Modeling Water Treatment Using the Contaminant Transport Module
Presentation transcript:

Simulation Tool for Variably Saturated Flow with Comprehensive Geochemical Reactions in 2D and 3D Coupling COMSOL Multiphysics® and PHREEQC Laboratoire de Technologie Ecologique Station 2, CH-1015 Lausanne, Switzerland laurin.wissmeier@epfl.ch http://ecol.epfl.ch; http://people.epfl.ch/laurin.wissmeier L. Wissmeier, D.A. Barry We present a coupling between the multipurpose finite element solver COMSOL Multiphysics® and the geochemical modelling framework PHREEQC for simulations of flow and multispecies solute transport in 2 and 3-dimensional domains in combination with complex intra-phase and inter-phase geochemistry. To demonstrate COMSOL’s capabilities to simulate environmental flow phenomena, we solve Richards’ equation for variably saturated porous media. As a major advantage over COMSOL’s built-in reaction capabilities, the coupling to PHREEQC accounts for ion activities, and implements major state-of-the-art adsorption models such as ion exchange and surface adsorption with diffuse double layer calculations. In addition, PHREEQC provides a framework to integrate user-defined kinetic reactions with possible dependencies on solution speciation (e.g., pH). Extensive compilations of geochemical reactions and their parameterization are accessible through associated databases. The coupling procedure employs a simple sequential split operator to separate the computation of spatial derivatives for flow and transport from reaction calculations. PHREEQC, compiled as a Windows COM-object (D.L. Parkhust, USGS, in development), updates the geochemical status of the liquid and solid phases after changes in the solution composition due to solute transport calculations in COMSOL. Matlab® is conveniently used as the controlling application for the overall simulation process, and specifically to direct output from COMSOL to PHREEQC and vice versa. The PHREEQC COM-version facilitates a ‘close coupling’ approach, where information between the transport and reaction module is rapidly exchanged via the memory stack at runtime as opposed to slow reading and writing of data files. At the end of a reaction step, COMSOL is reinitialized with concentrations of each element in the mobile liquid phase (including oxygen and hydrogen) and the liquid phase saturation. After the following transport step, the element concentrations are converted to total moles of elements using the updated liquid phase saturation and the elemental composition of the solution in PHREEQC is adjusted. Subsequently, solution speciation, equilibration with mineral phases and adsorbing surfaces, and kinetic reactions are carried out. As major advantage of this procedure, only mobile phase elements and their oxidation states must be passed between the flow and reaction module. The status of immobile adsorbents (surfaces and exchange sites) and mineral compositions is stored by the PHREEQC COM-object until the following reaction step. Model Capabilities 2D and 3D variably saturated flow and multi-component solute transport in COMSOL Convenience of COMSOL to define irregular, heterogeneous flow domains van Genuchten/Mualem or user-defined hydraulic property models User-defined storativity Comprehensive geochemical reactions in PHREEQC Complex solution speciation including activity corrections Equilibrium mineral dissolution/precipitation Permanent charge adsorption (ion exchange) Variable charge surface complexation including diffuse layer calculations Redox reactions Gas phase exchange reactions Kinetic reactions with user-defined rate equations Direct access to extensive reaction databases distributed with PHREEQC Software Requirements COMSOL Multiphysics® (version 3.5 or higher) Matlab® (version 7.0 or higher) PHREEQC (COM version) The coupling files are available for scientific purposes upon request Model Verification Example 16.5. from COMSOL model library (Pesticide Transport and Reactions in Soil, modified); Chemistry modelled by PHREEQC Localized infiltration of Aldicarb into initially dry, layered soil. Kinetic decomposition into 5 daughter products according to first order rate expressions. Cause of deviations between COMSOL and PHREEQC+COMSOL Split-Operator Error The separate treatment of the equations of flow, transport (PDE’s) and reaction equations (coupled system of ODE’s) leads to a splitting error. The magnitude of splitting error depends on the time increment between flow/transport (COMSOL) and reaction calculations (PHREEQC). The coupling scheme allows for the flexible definition of the coupling time steps with a possible dependency on flow properties (e.g., maximum solute velocity). Negative Solute Concentrations in COMSOL’s Transport Computation The numerical treatment of transport in COMSOL leads to oscillatory solute concentrations near sharp concentration fronts. This may lead to negative concentrations locally. Negative concentrations are taken as zero in PHREEQC reaction calculations, which is why a small mass balance error may be introduced. Negative concentrations can be avoided by using logarithmic transformation of concentrations in the finite element scheme. However, this may introduce larger absolute concentration oscillations. Application Example Infiltration of Sodium-Carbonate Solution From Irrigation Trench into Calcite Containing Loam Description: Infiltration of sodium-carbonate solution (Na2CO3 0.0116 M; pH 9.44) in equilibrium with atmospheric O2 (partial pressure 10-0.7) and CO2 (pp 10-3.5) from irrigation trench (const. hydraulic head: 0 m). Initially wetted soil (hydraulic head: -1m, van Genuchten/Mualem hydraulic properties of loam). Initial soil solution (pH 6.97) in equilibrium with Calcite (CaCO3) and root zone CO2 (pp 10-1.5). Bottom boundary at water table (const. hydraulic head: -1m); advective flux boundary for solutes Geochemical Reactions: Kinetic Calcite dissolution/precipitation rate r (Plummer et al. 1978): KCalcite = 10-8.48; a = 10; b = 0.6; θ: Moisture content; T: Temperature °C; [ ]: Ion activities Cation Exchange: 2×10-3 mol/L soil negatively charged exchange sites Scenario 1: Exchange Fig. 6: 2D-simulation domain with FEM discretisation. Water table Symmetry axis Irrigation trench Simulation domain: Fig. 3: Reaction pathways of Aldicarb degradation (from COMSOL documentation). Fig. 2: Radial symmetric simulation domain (from COMSOL documentation). Fig. 7: Simulation results with cation exchange 20 h after beginning of infiltration. Contour lines: equal moisture content; black arrows: liquid flow velocity field. Fig. 4: Simulation results for Aldicarb and concentrations of its toxic daughter products (color), pressure head (white contour lines) and liquid flow velocity field (black arrows) 5 days after beginning of infiltration event. Phase flow velocities Liquid Phase Flow Phase element concentrations, mass of water etc. Reactions intra-phase speciation, inter-phase speciation, kinetic reactions, sources and sinks COMSOL Change in element amounts due to advection diffusion/dispersion Solute Transport Numerical time step Δt PHREEQC COMSOL_out.m PHREEQC_in.m PHREEQC_out.m COMSOL_in.m Fig. 1: Program flow with program files. The infiltrating moisture front has reached the phreatic groundwater surface. Flow velocities are highest directly below the irrigation trench. Calcium concentration shows a distinct snow-plough at the sodium front. Due to continuous desorption from the exchanger, concentrations ahead of the sodium front exceed their original value by a factor of 3. The exchanger composition reflects the replacement of calcium by infiltrating sodium. Due to the preferences of the exchanger for divalent calcium, the exchanger composition shows a smooth transition from calcium dominated to sodium controlled. Fig. 5: Comparison of simulation results from COMSOL the coupling of COMSOL and PHREEQC, where chemical reactions are simulated by PHREEQC. Fig. 8: Simulation results with cation exchange and kinetic calcite dissolution/precipitation 20 h after beginning of infiltration. Scenario 2: Exchange + Kinetic Calcite Precipitation/Dissolution Calcite precipitates as a kinetic phase. Due to elevated carbonate concentrations in the infiltration water, calcite remains relatively stable in the once precipitated. The snow-plough as a result of exchange is limited by kinetic calcite precipitation, and calcium ahead of the sodium front only slightly exceeds its original concentration. The exchanger composition abruptly changes from calcium-dominated to sodium-dominated, since behind the concentration front calcium concentrations are reduced through precipitation with the high carbonate concentrations in the infiltration water. Concluding Remarks The coupling of COMSOL and PHREEQC provides novel capabilities for the detailed simulation of geochemical reactions in variably saturated flow conditions on 2 and 3D domains. Extensions to other environmental flow phenomena (2-phase flow, density dependent reactive flow) are envisaged. Drawbacks of the coupling to COMSOL are slow computation times for flow and transport after re-initialization of element concentrations and oscillations of element concentrations near sharp concentration front, which may lead to fluctuations of the redox potential and small mass balance errors.