1 Introduction

For many decades, soils have been modelled as a continuum by means of phenomenological equations. The common approach to determine the soil properties embedded in these equations is the use of so called element tests. In these tests, we seek to find the elementary soil response and therefore assume the specimen to behave homogeneously. As a result, we interpret the test results measured at the boundary of the specimen as representative of the complete specimen. This is in strong contrast to several phenomena, such as strain localisation, that can be observed during these element tests and have been analysed many times, especially since the rise of x-ray computed tomography (CT), e.g. [1, 2].

One of the first applications of such full-field measurements of specimens were the scans by Desrues et al. [3], which revealed the heterogeneity of the density in a sheared sand sample. It has been shown that this heterogeneity is present even when not observable from the outside, since a complex pattern of shear bands can form inside the specimen. In a recent study, Desrues et al. [4] revisited the original experiments with newly-developed techniques allowing for the detection of small strain localisation. The most shocking finding is probably that “there does not appear to be a single moment where strain localisation starts”. This leads to further questioning the assumption of homogeneity as the soil seems to behave heterogeneously from very early on.

Especially in terms of kinematics, the heterogeneous answer of the soil has been studied extensively over the past decade using tools such as the digital image correlation (DIC) combined with microfocus x-ray CT (\(\mu\)CT) [5,6,7]. There has also been an attempt to connect the kinematic heterogeneity with the evolution of force chains inside the specimen, e.g. [8]. It has been observed that force chains, which develop under loading, buckle inside the shear band when approaching the critical state. Furthermore, there have been approaches combining x-ray CT with x-ray diffraction [9, 10]. While the former allows for the investigation of e.g. particle kinematics or contact characteristics, the latter allows for the measurement of particle-averaged lattice strain. The combination of the two methods can ultimately lead to the quantification of interparticle forces as described in [9]. The heterogeneity of the soil has additionally been studied regarding particle breakage [10,11,12]. The findings of those studies mainly correspond to the ones above as a significant amount of breakage seems to be happening inside the shear band.

Generally, it can be concluded that most of the globally observed soil behaviour takes place inside the localisation zone. Already several years ago, it has been shown [3] that a unique critical state is, in fact, only reached inside the shear band due to the localisation of shear in this region. This gives a general idea about possible consequences arising from the consideration of the specimen as a homogeneous element and the use of this assumption for the soil model calibration. Even more complex problems arise once a specimen containing a pattern of shear bands is considered. Wood [13] discusses this issue amongst other difficulties with respect to heterogeneous responses in soil testing and their consideration in soil modelling.

Several studies have determined representative elementary volumes (REV) specifically for the void ratio or the porosity for different sands using x-ray \(\mu\)CT. The REV sizes for Ottawa sand, a sub-rounded sand, range from 4.2 [14, 15] to 5.7 \(d_{50}\) [16]; the REV sizes for spherical or close to spherical sand grains range from 2 [11, 15] to 5 \(d_{50}\) [17]. Given that all specimens studied in these contributions have a narrow grain size distribution, the difference should mostly be due to the grain shape and a tendency of increasing REV size for increasing angularity can be observed.

The above mentioned investigations already show that the behaviour of soils is by no means homogeneous, but for a more complete micro-mechanical analysis at the grain-scale, the fabric of the material has to be included. The fabric was already analysed with x-ray CT in various contributions either globally on the complete specimen [18] or locally in specific subvolumes or cores [1, 19]. Observations of the contact fabric evolution in different regions of two soil specimens in [20] showed a different development inside and outside the emerging shear band.

In this study, \(\mu\)CT scans of a specimen in triaxial compression are investigated regarding its fabric. The heterogeneity of the soil is analysed on the spatial and temporal scale. For this purpose, the size of the REV is determined for each variable and the specimen is examined using these REVs.

2 Image analysis

The triaxial compression test presented here considers a pluviated and initially dense Hostun sand specimen with a very narrow grain size distribution and an average grain diameter of \(d_{50} = {338}\upmu \hbox {m}\). The specimen has been tested at 100 kPa cell pressure. The test was carried out in the x-ray scanner in Laboratoire 3SR in Grenoble in order to acquire 13 \(\mu\)CT images during the loading. The macroscopic response of the sample can be seen in Fig. 1. Only 7 scans are clearly visible in the plot, as the experiment comprises unloading and reloading curves with very small changes to void ratio and the contact fabric. The tomographies are analysed with the techniques presented and studied in [21] using the open source software spam [22] to determine the contact fabric.

The experiment and the image analysis of the bulk specimen are described in detail in [23]. The \(\mu\)CT images have a voxel size of 15 \(\mu\)m, which leads to the specimen containing \(\approx\) 730 \(\times\) 730 \(\times\) 1470 voxel. To obtain the contact fabric from every \(\mu\)CT scan, the images are first binarised by a global threshold and then segmented by a topological watershed. To enhance contact detection, a local threshold is introduced and for a better characterisation of the contact plane, a power watershed, namely the random walker, is applied to every contact. This allows for the determination of the contact plane on a sub-pixel level. For the computation of the contact orientation, which is the orientation of the contact normal, a PCA is performed.

This results in a second order fabric tensor \({\mathbf {N}}\) describing the contact orientations of the entire specimen.

$$\begin{aligned} {\mathbf {N}} = \frac{1}{N} \sum _{\alpha = 1}^{N} {\mathbf {o}}^\alpha \otimes {\mathbf {o}}^\alpha \end{aligned}$$
(1)

with N being the number of orientations and \({\mathbf {o}}\) being one individual orientation. As in the previous publications, the contact fabric is described by two scalar variables: the coordination number Z and the contact fabric anisotropy a. The coordination number represents the average number of contacts per grain.

$$\begin{aligned} Z = \frac{2 \cdot N_c}{N_p} \end{aligned}$$
(2)

with \(N_c\) being the number of contacts and \(N_p\) being the number of particles. The contact fabric anisotropy is calculated from the deviatoric part of the fabric tensor \({\mathbf {D}}\).

$$\begin{aligned} a = \sqrt{\frac{3}{2} {\mathbf {D}}:{\mathbf {D}}} \end{aligned}$$
(3)

These two variables are also plotted in Fig. 1 for the complete specimen.

Fig. 1
figure 1

Macroscopic response of the Hostun sand sample to triaxial compression. The fabric variables anisotropy a and coordination number Z are plotted in blue

In this contribution, we will extract information for small subsets within the specimen in order to study the spatial distribution of the fabric. Therefore, it is important to define the set of contacts that is to be analysed. In this work, we consider all grains whose centre of mass is located in a specified window as internal grains and those contacting these, yet their centre of mass is outside the specified window, as external grains. Contacts between internal grains are considered twice and contacts between internal and external grains are considered once in the calculation of the coordination number. The overall contact fabric of the complete specimen is computed in a similar way. As the latex membrane is barely identifiable, the outermost particles are considered as the boundary of the complete specimen.

3 Representative elementary volume

The size of a REV is generally described as the smallest possible volume for which a chosen variable is independent of the size of the volume [24]. Throughout the analysed triaxial compression test, we observe different regions forming inside the specimen, the most obvious ones being a zone of localisation as well as the regions above and below. If we want to analyse the properties and behaviour of those regions, it is crucial that the REV is sufficiently large to catch the characteristics of each region while being as small as possible, such that the different regions can be distinguished. The REV is, in this case, representative of the specific region inside the specimen and not representative of the specimen on the whole.

In order to define this size, cubic volume elements of increasing size are extracted from four different positions (y = 400, 600, 800, 1000) along the vertical centre axis of the specimen for the states of the loading shown in Fig. 1. The positions were chosen so that even the largest investigated element size remains unaffected by boundary effects and they are fixed for the complete analysis. Figure 2 shows chosen element sizes that are investigated to find the REV size as well as some characteristic positions along the vertical centre axis of the specimen. This information is displayed on an image of the specimen showing incremental grain rotations to highlight the position of the emerging shear band. Figure 3 shows the positions from which elements are extracted for one of the element sizes and three different loading states. The contact fabric in these elements is extracted from the overall fabric of the specimen, i.e. global lists of contacts and orientations. Therefore, the particles whose centre of mass is located within the volume are identified and their contacts are collected. This includes contacts to other particles within the element, but also to the surrounding particles as described above. The variables that are determined for each of the volumes are the void ratio, the coordination number and the contact fabric anisotropy.

Fig. 2
figure 2

Incremental rotation of individual grains from 2.9% to 6.9% of axial strain. These measurements are acquired using the DDIC scripts from spam [22]. The zoom visualises the minimum and maximum size of the elements for the REV study as well as the REV size determined for the contact fabric

Fig. 3
figure 3

Elements at the four locations used for the study of the REV size shown for three loading states. The element size equals the REV size determined for the contact fabric

Fig. 4
figure 4

Determination of the REV size at the initial state for the fabric descriptors void ratio, coordination number and contact fabric anisotropy. The REV size is expressed as the side length of the cube normalised by the average grain diameter of Hostun sand. The criteria for determining the REV size are the convergence of the mean and the variance plus a \(\chi ^2\) test. The global value in black is calculated on the complete specimen

The main criteria for determining the REV size are the convergence of the empirical mean \(\mu\) and the variance \(\sigma ^2\) of the selected variables with increasing element size. The values for each variable should converge at each position, but do not need to be identical throughout the sample as we expect a slight heterogeneity already at the initial state. The REV should not be representative of the whole sample, but rather of the analysed zone. Furthermore, a \(\chi ^2\) test as described in [25] is added as a criterion for the determination of the REV size. This test is usually used in statistical analysis to determine whether an unknown distribution function is of a certain type. This approach is now modified so that the value of each element is compared to the mean value of all analysed elements of that size. The \(\chi ^2\) test introduces a critical value for a chosen accuracy or respectively a chosen variation from the mean value. As the variation changes drastically once localisation starts, this value has to be calibrated twice – for all images before and after the onset of localisation. Both critical values are calibrated on one of the images and applied to the other ones. Further information on the calibration and implementation of the \(\chi ^2\) test can be found in the Appendix. The same critical value is used for all three soil variables. The convergence criteria and the \(\chi ^2\) criteria are evaluated for each individual variable and for the increasing element size.

Figure 4 shows the results of the analysis for the initial state. All three variables converge with increasing element size. The lower row shows that the variance as well as the \(\chi ^2\) value decrease rapidly for the void ratio as well as the coordination number and slower for the anisotropy. It can also be observed that the mean and/or the variance might sometimes need a larger REV size to converge than the one suggested by the \(\chi ^2\) test. For instance, when analysing the convergence of the mean anisotropy, it is clearly visible that it only converges for an element size of 3.55 \(d_{50}\) while the \(\chi ^2\) test would lead to a REV size of 2.66 \(d_{50}\). There are also loading states for which the \(\chi ^2\) test gives a higher REV size than the convergence. The REV size needs to be chosen so that small scale fluctuations are eliminated while, at the same time, the REV remains as small as possible. Thus, we use the largest size necessary for defining the minimum element size from all three criteria.

As already pointed out in [26], the size of the REV depends on the chosen variable. The minimum edge length of the cubic element is 2.66 \(d_{50}\) for the void ratio and 3.55 \(d_{50}\) for the coordination number and the anisotropy at the initial state. These sizes were evaluated over all the images (states) with the results being summarised in Table 1. The results are also presented in Figure 5. A correlation between the evolution of the REV sizes and the evolution of the test can be observed to some extend with the REV size of the coordination number being far more sensitive to the load reversals than the REVs of the other two variables. The minimally necessary sizes considering all images are 3.55 \(d_{50}\) for e and 5.33 \(d_{50}\) for Z and a. Note that this analysis is carried out based on the actual size of the elements and not on the number of particles in these elements. The specimen is initially dense which corresponds to a range of 30-50 particles with their centre of mass inside the investigated elements of the size 3.55 \(d_{50}\) and 115-155 particles for 5.33 \(d_{50}\).

The minimal REV size determined for the void ratio is slightly lower than can be expected based on the range of sizes given in the literature as introduced above. For spherical particles the sizes ranged from 2 [11, 15] to 5 \(d_{50}\) [17] while they ranged from 4.2 [14, 15] to 5.7 \(d_{50}\) [16] for sub-rounded particles, indicating even larger sizes for the angular particles presented in this study. This was not confirmed, as the REV size for e was determined to be 3.55 \(d_{50}\).

Table 1 Edge lengths of the determined REVs for each of the analysed images and chosen variables. Superscripts refer to the criteria leading to this size: 1 ... \(\chi ^2\) test, 2 ... convergence of the mean, 3 ... convergence of the variance
Fig. 5
figure 5

Evolution of the REV sizes determined at each loading state for the chosen variables compared to the evolution of the test

4 Evolution of contact fabric in the REVs

To study the distribution of fabric variables for the complete specimen, the elements are placed in a regular grid throughout the specimen. The distance of the centre of the elements to each other is 2.22 \(d_{50}\), which means that the elements are overlapping in order to extract information on a fine grid. Elements located along the boundary of the specimen are only partially filled with grains. Thus, we need to define a threshold to exclude elements from this analysis in order to agree with the requirement of counting as a REV. For the contact fabric, a threshold of 90 particles is chosen to exclude elements placed on the boundaries of the specimen. This corresponds to the minimum number of particles found in a single REV (with respect to the contact fabric) within the specimen for every loading step. Regarding the void ratio, a threshold for the specimen boundary was defined with respect to the total volume of soil, i.e. particles and internal voids, inside the REV. It has been chosen in accordance with observations on the convergence of the mean and variance in the REV study. The selected value corresponds to the amount of 68% of the element filled with the soil composed of particles and voids between them.

Fig. 6
figure 6

Distribution of the fabric variables displayed in vertical slices at the initial state and at 13% of axial strain. The vertical slices are chosen to contain the planar shear band. The black pixels are elements without a sufficient number of particles or total volume of soil, respectively, and therefore excluded

Fig. 7
figure 7

Fabric evolution in chosen REVs along the vertical centre line of the specimen

The spatial distribution of the three fabric variables is shown in Fig. 6 for the initial state and for the state at 13% axial strain. The chosen vertical slice is oriented to contain the shear band. It is clearly visible that the specimen is heterogeneous even at the initial state. After the onset of localisation, the map of the void ratio reveals a strong dilation inside the shear band, which was already shown in many previous contributions, see e.g. [1, 3, 14, 16]. The coordination number delivers a similar picture: a low number of contacts per grain inside the shear band and a higher number outside. The anisotropy is not as clearly localised in a thin band as the other two variables, but also shows a much higher magnitude inside the shear band and a lower one in the top and bottom wedges.

The localisation of both contact fabric variables is broader than of the void ratio. This shows that the contact fabric in elements close to the shear band picks up the shear localisation although the void ratio is not impacted there. Especially the anisotropy, which is not only effected by the re-orientation but also by the loss and gain of contacts, is highly sensitive to small changes inside the specimen and is therefore greatly impacted by the localisation.

A similar behaviour can also be observed on the temporal scale, see Fig. 7, which shows the evolution of chosen elements along the vertical centre axis of the specimen. At about 3% of axial strain a single shear band starts to evolve. This is clearly recognisable for all fabric variables as the individual elements start to behave very differently. The elements in the emerging shear band (located at y = 700, 800, 900) show a strong dilatancy with a loss of contacts and high anisotropy. The elements outside the shear band either behave oppositely (above) or do not evolve at all (below) once localisation starts.

Figure 8 shows the statistical evolution of all three fabric variables with the macroscopic loading. Similar to the evolution along the vertical centre line, the distribution of all variables expands starting at 3% of axial strain. Initially, there is only a small scatter of the void ratio and the coordination number whereas the anisotropy shows a larger initial heterogeneity. The coordination number picks up the change in volume well before the void ratio and much more distinctly, both in terms of the mean as well as the standard deviation.

Fig. 8
figure 8

Evolution of the fabric in the REVs of the complete sample. The grey background represents the min/max values of the respective entities

5 Discussion and conclusion

In this work, we present a methodology to study the spatial and temporal distribution of the void ratio, the coordination number and the contact orientation anisotropy in a sand specimen. These fabric variables are measured using x-ray CTs acquired during a triaxial compression test on the specimen. To compute the spatial distribution throughout the specimen, the minimum REV size is determined using three criteria: the \(\chi ^2\) test as well as the convergence of the mean and the variance. One major finding of this study is the identification of a size for the representative cubic element with a side length of 5.33 \(d_{50}\) for the contact fabric and 115 to 155 particles inside the investigated elements.

We find that the onset of strain localisation is not only clearly visible in the void ratio, but also in the coordination number and anisotropy. We present the full field of these variables and are thus able to study the extent of the localisation of the contact fabric variables, both temporal and spatial, compared to the classic measures such as the void ratio. A further major finding is that spatial as well as temporal changes are indicated by the contact fabric before they are picked up by the void ratio. The localisation of the contact fabric is also wider than of the void ratio, showing that it is sensitive to small changes and picks these up early.

It has to be noted that the presented results on the REV size for the geometric fabric variables and their distribution are limited to one test on an initially dense sand with a narrow grain size distribution. Although this is only one specific analysis, it emphasises the heterogeneous response of a sand specimen in a so-called element test, which is commonly interpreted as a material point.

Considering such heterogeneous soil responses already at relatively small strains, we should rethink the interpretation of element tests as boundary value problems rather than as material points.