CHEPROO: A Fortran 90 object-oriented module to solve chemical processes in Earth Science models

被引:33
作者
Bea, S. A. [1 ]
Carrera, J. [1 ]
Ayora, C. [1 ]
Batlle, F. [2 ]
Saaltink, M. W. [2 ]
机构
[1] Jaume Almera CSIC, Inst Earth Sci, Barcelona 08028, Spain
[2] Tech Univ Catalonia UPC, Barcelona 08034, Spain
关键词
Reactive transport; Object-oriented programming; Geochemical modeling; Fortran; 90; REACTIVE TRANSPORT; SURFACE SEDIMENTS; ELECTROLYTES; MEDIA;
D O I
10.1016/j.cageo.2008.08.010
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Accurate prediction of contaminant migration in surface and ground water bodies, including interaction with aquifer and hyporheic zone materials requires reactive transport modeling. The increasing complexity and the procedure-oriented type of programming often used in reactive transport hinder codes reuse and transportability. We present a Fortran 90 module using object-oriented concepts that simulates complex hydrobiogeochemical processes (CHEPROO, CHEmical PRocesses Object-Oriented). CHEPROO consists of a general structure with two classes. The Nodal Chemistry class accounts for the description of local chemistry and geochemical state variables. As such, it provides many functions related to basic operations (evaporation, mixing, etc.) and can easily grow on this direction (extreme dry conditions, biochemical state variables, etc.). The Chemical System class includes kinetic and thermodynamic models that describe reactions between and within phases. As such, it can grow in the direction of increasingly complex chemical systems (solid solutions, microorganisms as individual phases, etc.), without loss in the handling of simple problems. These two classes are overlaid by CHEPROO, a general structure designed for interaction with other codes. CHEPROO can be used as a geochemical tool for the modeling of complex processes such as biodegradation or evaporation at high salinities. However, many functions CHEPROO are devoted to coupling a broad range of chemical processes to other phenomena (flow, transport, mechanical). We have shown that reactive transport (based on either DSA or SIA approaches) could be easily implemented into existing conservative transport code with a minimal number of changes. (C) 2008 Elsevier Ltd. All rights reserved.
引用
收藏
页码:1098 / 1112
页数:15
相关论文
共 36 条
[1]   Object oriented programming via Fortran 90 [J].
Akin, JE .
ENGINEERING COMPUTATIONS, 1999, 16 (01) :26-48
[2]   The genesis of dedolomites: a discussion based on reactive transport modeling [J].
Ayora, C ;
Taberner, C ;
Saaltink, MW ;
Carrera, J .
JOURNAL OF HYDROLOGY, 1998, 209 (1-4) :346-365
[3]   Coupled thermal-hydraulic-chemical modelling of enhanced geothermal systems [J].
Bächler, D ;
Kohl, T .
GEOPHYSICAL JOURNAL INTERNATIONAL, 2005, 161 (02) :533-548
[4]  
Blauch DN, 2002, J CHEM INF COMP SCI, V42, P143, DOI [10.1021/ci010074+, 10.1021/ci010074]
[5]   Using FORTRAN 90 and object-oriented programming to accelerate code development [J].
Carr, M .
IEEE ANTENNAS AND PROPAGATION MAGAZINE, 1999, 41 (06) :85-90
[6]   Groundwater flow, multicomponent transport and biogeochemistry: development and application of a coupled process model [J].
Chilakapati, A ;
Yabusaki, S ;
Szecsody, J ;
MacEvoy, W .
JOURNAL OF CONTAMINANT HYDROLOGY, 2000, 43 (3-4) :303-325
[7]   Two-dimensional concentration distribution for mixing-controlled bioreactive transport in steady state [J].
Cirpka, Olaf A. ;
Valocchi, Albert J. .
ADVANCES IN WATER RESOURCES, 2007, 30 (6-7) :1668-1679
[8]   Comparison of approaches for simulating reactive solute transport involving organic degradation reactions by multiple terminal electron acceptors [J].
Curtis, GP .
COMPUTERS & GEOSCIENCES, 2003, 29 (03) :319-329
[9]   A mixing ratios-based formulation for multicomponent reactive transport [J].
De Simoni, M. ;
Sanchez-Vila, X. ;
Carrera, J. ;
Saaltink, M. W. .
WATER RESOURCES RESEARCH, 2007, 43 (07)
[10]   A procedure for the solution of multicomponent reactive transport problems -: art. no. W11410 [J].
De Simoni, M ;
Carrera, J ;
Sánchez-Vila, X ;
Guadagnini, A .
WATER RESOURCES RESEARCH, 2005, 41 (11) :1-16