Jeremy Bennett, Dr.rer.nat
  • Home
  • About
  • Research
  • Blog
  • Links
  • Contact

Compiling!

6/3/2017

0 Comments

 
 It has been a while since I last posted a blog, but this morning I was inspired by this blog post about blogging quickly, and this one about blogging more like a personal diary. Other benefits: I can fit more into a blog than on my twitter account; it will help me to improve my written output, as I will restrict myself to half an hour, and after that - well it gets posted and becomes a serial blog...
I have been sidetracked in the past few days by this nice bit of code from Nick Engdahl, David Benson and Diogo Bolster that they explain in this paper - basically it is particle tracking (something that I know how to do!) coupled with the PhreeqcRM geochemical modelling algorithm. I like their approach, and I would like to use it in the funky anisotropic porous media that I am simulating.
So, after spending some time deciding if I should start using git instead of mercurial (I decided to stick with mercurial through TortoiseHG BTW) I cloned the CRP repo and realised that PhreeqcRM would need to be compiled. Damn. I don't have experience in this. So I moved onto my next fun task, which is to simulate porous media using T-PROGS. I soon realised this would require me to compile some fortran code... It became clear that today was the day I learn to compile things!

Easier said than done, and I will spare you the details. Fortunately, I was able to download MS Visual Studio Enterprise 2015 through my institute's subscription to Microsoft Imagine, and then install the Intel Parallel Studio 2017, which includes C/C++ and fortran compilers. So I was ready... ready to compile!

Thankfully, mercifully, David Parkhurst and Laurin Wissmeier have provided this awesome step-by-step guide to installing PhreeqcRM, involving all sorts of exciting things like CMake, which I have no idea how to use, but I think I should. So I followed the steps, and managed to compile it all.
Picture
Bouyant from my compilation of PhreeqcRM, I then focused my attention on T-PROGS. This proved much easier, possibly because the fortran code is a little bit more readable to me, and it wasn't quite so complicated. After an initial 'hello world' trial, I was able to run gameas - the transitional probabilities module of T-PROGS, and I felt like a champion. I haven't had time to look at the data, to see if it makes sense, but I at least had the satisfaction of seeing text fly through the command window, indicating that something was happening...
0 Comments

Visit from Dr. Alessandro Comunian

9/22/2016

0 Comments

 
From 19-21 September it was my pleasure to have Dr Alessandro Comunian from the University of Milan as a guest of the research training group. Alessandro is a specialist in the use of multiple-point statistics (MPS) for a wide range of applications in geoscience. A brief description of his talk is provided below:

MPS is an emerging technique for the characterization of spatial and temporal heterogeneity. It is based on the concept of a training image, which contains the patterns of heterogeneity that are used for the simulation. MPS has been used with success to characterize geological heterogeneity. However, its flexibility allows to apply the technique in every field of science where there is a spatial/temporal variable to characterize and a corresponding training data-set. Alessandro  discussed the principles of MPS simulation and illustrated some applications in the field of geosciences. Moreover, he discusses the limitations of the technique and highlighted research opportunities and challenges.

It was a privilege to have such a knowledgeable researcher to help me with my work - we were able to discuss both 'big picture' ideas about my work as well as some of the nitty-gritty involved when you sit down and start to implement the ideas floating around your head. I hope to collaborate with Alessandro in the future.
0 Comments

Approaches to modelling heterogeneity in sedimentary deposits

9/14/2015

0 Comments

 
I recently was a guest blogger on the EGU Network blog Geosphere. 'For completeness', as applied math nerds say, the blog post is below.
Hello everyone. I would like to introduce you to some ideas about environmental modelling that I have recently discovered during my work. These ideas are from this paper by Christine Koltermann and Steven Gorelick back in 1996. Whilst the primary focus of their paper is on modelling hydrogeological properties such as hydraulic conductivity, I think there is crossover with other modelling too.

What I find the most interesting about this work are the words they used to describe modelling approaches, meaning the way the modeller sees the world. They break down modelling into three different approaches: structure-imitating, process-imitating, and descriptive methods. Over the next few mousewheel-scrolls I hope I can explain these ideas in simple terms so that they are easy to understand.

This paper discusses models that are spatially distributed - this means that we are trying to estimate values at different locations in space. In the following diagrams I have simplified things to one dimension to hopefully make things a bit clearer. It is also important to note that many models will combine elements of one or more of the following model approaches - often at different scales.

Descriptive methods

Descriptive modelling approaches are primarily conceptual - kind of like joining the data dots in the figure below to produce the circle. There might be no hard and fast rules here, although models may be based on years of experience and observation in the field. These models may not be so rigorous and possibly difficult to replicate in different environments.
Picture
A good example of descriptive modelling are geological cross sections. They are constructed using borehole data and similar lithologies at similar depths are assumed to be part of the same geological formation. More experienced practitioners will have better intuition for connecting the dots and interpreting the stratigraphic record. In many cases these cross sections are a suitable model. However in some hydrogeological applications this level of modelling is insufficient as more information is required about the geometry of the formation, and perhaps variations in its hydraulic properties - something that is difficult to derive solely from descriptive methods.

Structure-imitating methods

Structure-imitating modelling approaches quantify observations of the thing to be modelled and use these rules to produce something that looks similar. The structure that is imitated could be the actual shape of the object to be modelled, or it could be something more abstract, such as the geostatistical structure of the observations. To demonstrate: In the figure below we have some data shown with black lines. We can then take derive information about this data, say in this case the distance of each data point from the centre. From this structural information we can model the rest of the circle.
Picture
A well-known structure-imitating method is kriging. This method uses the geostatistical structure (i.e. mean and covariance) of a set of observations to estimate values of a variable at other locations. A typical criticism of kriging and other geostatistical methods is that defined boundaries between facies become indistinct and don't look so geologically plausible. Many other methods have been developed, such as multiple-point statistics, to address these arguments.

Process-imitating methods

Process-imitating modelling approaches rely on the governing equations of a process to produce a plausible model. Governing equations describe the physical principles underlying processes such as fluid motion or sediment transport. This type of approach can occur both as forward or inverse modelling. Forward models require setting key parameters in the model (such as hydraulic conductivity) and then predicting an outcome, such as the distribution of groundwater levels. Inverse models start with the observations and try to fit the hydrogeological parameters to the data.

Our final circle model is in the figure below. In this particular case we know the equation that gives us the circle. As with all process-imitating modelling approaches there is some kind of parameter input required (or forcing). Here we have assumed that the circle is centred about the origin, and our parameter input is the radius of the circle (4) on the right hand side of the equation. Thus we can model the circle based on the equation and a parameter input.
Picture
The classic process-imitating model approach in hydrogeology is aquifer model calibration. This is a relatively simple, but widely used, application where zones of hydraulic conductivity are created and adjusted to reproduce measured groundwater levels (hydraulic heads). Often these zones are tweaked using a trial-and-error process to get a better match (or reduce the error). Aquifer model calibration is considered a process-imitating approach because it attempts to replicate the governing equations of fluid flow within porous media. MODFLOW is a model from USGS that is often used in this type of modelling.

Thanks for making it all the way down here. My aim was to provide you with a couple of new words to describe modelling approaches in geosciences and beyond. If you are working in hydrogeology then this paper by Koltermann and Gorelick is definitely worth a read - it gives an excellent foot-in-the-door to hydrogeological modelling.

Koltermann, C. E., and Gorelick, S. M. (1996). Heterogeneity in Sedimentary Deposits: A Review of Structure-Imitating, Process-Imitating, and Descriptive Approaches. Water Resources Research, 32(9), pp.2617-2658.
0 Comments

    Author

    I am a hydrologist interested in environmental modelling as well as the application of water science in the 'real world'.

    Categories

    All
    Coding
    Conference
    General Science
    Groundwater
    IRTG
    Modelling
    Multiple-point Statistics
    New Zealand
    Sedimentology
    Tübingen
    Water

Powered by Create your own unique website with customizable templates.