1 Introduction

Powder-based additive manufacturing techniques, like powder bed fusion, have garnered considerable interest [1,2,3] for their ability to facilitate rapid prototyping and the production of highly customizable parts. These methods enable efficient manufacturing by minimizing the need for material removal and extensive support structures, which in turn reduces production time and material waste. However, the quality and efficiency of powder-based techniques are far from ideal. Non-uniform powder packing during spreading is one of the major issues that limit the range of available powder materials and impair printing quality. Various types of structural defects in the deposited powder layer have been observed, which strongly correlate to defects in sintered parts [4,5,6]. Since commonly used particle sizes are far below 100 \(\mu\)m, cohesion between particles can impair the spreading and deteriorate the quality of the powder layer through reduced powder flowability and cohesion-induced powder clustering. Understanding the influence of cohesion on spreading requires detailed measurement of the packing structure under various levels of cohesion, which is expensive and difficult to obtain experimentally [7,8,9,10]. Characterizing a thin particle layer is also challenging, as most of the existing metrics are meant for bulk characterization.

One prominent method utilized to understand and design the powder spreading process is the Discrete Element Method (DEM), which is a particle-based simulation technique that computes particle trajectories from the interaction forces. Various DEM-based studies have investigated powder spreading with the aim of improving the quality of the powder layer [11,12,13,14,15,16,17,18]. Simulations can reflect behaviors of real powders [19, 20] during spreading as they can be calibrated by experiments of powder flowability [13, 19, 21, 22], which allows detailed studies of the influence of process parameters and powder properties on spreading. For example, Parteli and Pöschel [23] showed in simulations that a fast spreading process increases the surface roughness of a cohesive powder layer for roller spreading. Nasato et al. [24] observed that utilizing a recoater with low frequency and amplitude results in a reduction in powder bed porosity. Non-spherical powders with realistic particle shapes were also considered when investigating how the recoating velocity influences the bed porosity [12, 25]. Shaheen et al. [13] demonstrated that higher particle rolling and sliding friction are more likely to lead to powder layer defects.

In these studies, the prerequisite of establishing the relation between process and material parameters and the layer quality is a detailed and informative characterization of the packing structure, which can be challenging for cohesive particles due to effects like clustering. While the global packing density is informative and widely used, it does not contain information of how the particles are spatially arranged. Therefore, the spatial fluctuation of the packing structure is also important, especially for highly cohesive powders where the packing tends to be heterogeneous [3]. To this end, local density is often calculated using binning and coarse-graining where the averaging length must be chosen [13, 18]. Metrics based on the Voronoï cell volume can also be used, which does not require hand-picking an averaging length scale. For example, Phua et al. used Voronoï-tessellation of particles in 3D to calculate the average packing fraction of powder layers [26]. However, examining the global distribution of the Voronoï still does not offer the complete picture of how density fluctuates. Here, we adopt a Voronoï-tessellation based method [27] to quantify local structural anisotropy, which is an inherent property of non-crystalline packing of particles and is associated with critical mechanical properties in disordered packings, such as jamming [27], plasticity [28], and shear band formation [29,30,31]. This method does not require choosing a density threshold to identify voids and it yields a meaningful distribution of local anisotropy in a deposited powder layer, based on which the hetereogeneity of the packing can be quantified.

The surface roughness of the deposited powder also plays a crucial role in determining the functionality and aesthetics of the final product. Achieving the desired surface finish is essential for optimizing performance and ensuring consistent product quality. Surface roughness, similar to density, is also influenced by the interplay between process parameters [16, 25, 32, 33] and material properties such as cohesion, particle size distribution [14] and particle shape [12, 34]. In particular, cohesion strongly influences the surface roughness during spreading. The powder bed surface roughness increases with cohesion due to powder agglomeration and particle removal caused by particle-to-blade cohesion during spreading [18, 20]. In DEM simulations, the surface roughness is typically evaluated by measuring the local surface height determined by the maximum vertical coordinate of the powder bed and monitoring its spatial variation. Using this variation as a metric of uniformity, surface roughness is calculated as the mean deviation of surface height from the powder bed average height [14, 18]. Experimentally, the surface height can be determined using optical 3D digital microscopy [32] or high-speed laser profilometry [33]. Surface roughness can be quantified either using planar profile measurements in two dimensions [12, 25] or areal measurements in three dimensions [18, 35].

While metrics like the standard deviation of the global surface height distribution is informative, it does not offer a complete description of the surface profile. In this study, we evaluate the skewness and the kurtosis of the height distribution calculated using an efficient digitization method [35]. These characteristics offer further insight into the presence of local outliers in surface roughness and the extent to which they deviate from the mean surface plane. We also address the problem that for a given set of surface height values, the distribution cannot well describe the local fluctuations because a spatial rearrangement of the height values does not change the distribution. This is similar to the aforementioned problem that the global packing density cannot sufficiently describe the heterogeneity of the packing. To this end, we quantify the spatial fluctuations of the free surface height of the powder layer through a coarse-graining approach to calculate the squared local spatial gradient of the Voronoï cell-averaged height. This quantity again yields a meaningful distribution that can be described by a single parameter, quantifying the height fluctuations.

2 Model

2.1 Numerical setup

We employ DEM to obtain particle-scale information on powder layers created by a spreading process, using MercuryDPM [36]. The simulation setup is shown in Fig. 1. The powder is spread along the spreading direction, x, by a blade tool moving at a constant velocity \(v_T\) [37, 38]. In our simulation, we model a small slice of the powder bed with dimensions of length 10 mm in the x-direction and a width of 1 mm in the lateral y direction, where we apply periodic boundary conditions. For the subsequent analysis, we consider the range \(0\le x \le 7\,\text {mm}\). It is assumed that the substrate is flat and the coefficient of friction between the wall and the particles is equal to that of the particle-particle interaction. A log-normal particle size distribution (PSD) is considered with mean particle diameter \(D_{50} = 37 \, \mu\)m, \(D_{10} = 24 \,\mu\)m, and \(D_{90} = 56 \,\mu\)m, which is consistent with the PSD of Ti-6Al4V powder [13]. The particles are initially generated in front of the spreader tool within the region \((x,y,z) \in [0.5,2.5]\) mm \(\times [0,1]\) mm \(\times [0,h]\), as illustrated in Fig. 1a, under cohesionless condition, in order to generate a uniform packing structure of 17169 particles. These particles fill a total bulk volume of 0.75 mm\(^3\), which is sufficient to create a powder layer measuring 10 mm in length, 1 mm in width, and with a tool gap of \(H=100 ~\mu\)m. The tool gap is defined as the distance between the base of the blade and the substrate, as depicted in Fig. 1b,which corresponds to about \(2.7\times D_{50}\) in z-direction. A blade gap height of equal to or less than the maximum particle diameter results in a reduced packing density of the powder layer [39]. With initially all the particles at rest, the spreading process starts with cohesive interactions between particles, at a constant velocity \(v_T=10\) mm/s which is low enough to have no inertia effects on the bulk behaviour of particles during spreading [18]. It ends when the blade reaches the end after 1.2 s, and the simulation ends at time 1.5 s, once the system has relaxed again, i.e., when the kinetic energy is sufficiently low. The structures of the powder layers after powder deposition are shown in Fig. 1b and c for cohesionless and highly cohesive powders, respectively.

Fig. 1
figure 1

Numerical setup for powder spreading on a planar substrate showing (a) initial configuration and during spreading for (b) cohesionless powders after 0.36 s, and (c) cohesive powders after 0.36 s

2.2 Contact models

2.2.1 Hertz-Mindlin visco-elastic contact model

The visco-elastic Hertz-Mindlin contact model (no-slip solution) [40, 41] is employed to calculate the normal and tangential elastic contact forces between particles, respectively. The normal force for the Hertz visco-elastic model is given as

$$\begin{aligned} \vec {F_n} = \min \left( 0, -\rho \xi ^{3/2} - \frac{3}{2}A_n\rho \sqrt{\xi }\dot{\xi }\right) \vec {e_n}, \end{aligned}$$
(1)

where \(\xi = R_i + R_j - \vert \vec {r}_i-\vec {r}_j\vert\) is the compression of two interacting particles i, j of radii \(R_i\) and \(R_j\) at positions \(\vec {r}_i\) and \(\vec {r}_j\) and \(\vec {e}_n = (\vec {r}_i-\vec {r}_j)/\vert \vec {r}_i-\vec {r}_j\vert\) is the normal unit vector, \(A_n = 5\times 10^{-6}\) s is the normal dissipative parameter, calculated as in [42], considering a coefficient of restitution of 0.4 for the characteristic blade velocity 10 mm/s and

$$\begin{aligned} \rho = \frac{4}{3} \, E^* \, \sqrt{R^*} \end{aligned}$$
(2)

with the effective radius \(R^*\). The effective elastic modulus,

$$\begin{aligned} E^* = {\left( \frac{1-\nu _i^2}{E_i} + \frac{1-\nu _j^2}{E_j}\right) }^{-1}, \end{aligned}$$
(3)

depends on the elastic moduli and the Poisson ratios of the material of particles i and j.

We model the tangential viscoelastic forces following the no-slip solution of Mindlin [43] for the elastic part and Parteli and Pöschel [23] for the tangential dissipative constant \(A_t \approx 2 A_n E^*\), which are capped by the Coulomb friction force between two particles. The tangential force is given by

$$\begin{aligned} \vec {F_t} = -\min \left[ \mu |\vec {F_n}|, \int _{path}^{} 8 G^{*}\sqrt{R^* \xi } \,ds + A_t \sqrt{R^* \xi } v_t \right] \vec {e_t}, \end{aligned}$$
(4)

with the friction coefficient, \(\mu\), the effective shear modulus

$$\begin{aligned} G^*=\left( \frac{2-\nu _i}{G_i} + \frac{2-\nu _j}{G_j}\right) ^{-1} \end{aligned}$$
(5)

which for particles of identical material simplifies to \(G^*=\frac{4G}{2-\nu }\), and the tangential relative displacement of the particles, ds.

2.2.2 Non-linear cohesive model

To simulate particle cohesion, we incorporated adhesive forces described by the Johnson-Kendall-Roberts model [44] (JKR) and attractive forces using a model for non-bonded van der Waals interactions [8]. The JKR adhesive force is computed as

$$\begin{aligned} \vec {F}_\textrm{JKR} = 4\sqrt{\pi a^3\gamma E^*} \; \vec {e_n}, \end{aligned}$$
(6)

where \(\gamma\) is the surface energy density and a is the contact radius related to deformation, calculated using

$$\begin{aligned} \xi = \frac{a^2}{R^*} - \sqrt{\frac{4\pi a\gamma }{E^*}}. \end{aligned}$$
(7)

The maximum interaction distance at which the contact breaks under tension is given by

$$\begin{aligned} \xi _t = \frac{1}{2}\frac{1}{6^{1/3}}\frac{a^2}{R^*}. \end{aligned}$$
(8)

The non-bonded van-der-Waals attractive force [8, 45, 46] reads

$$\begin{aligned} \vec {F}_\textrm{vdW} = {\left\{ \begin{array}{ll} \frac{A_HR^*}{6D^2_\textrm{min}} \, \vec {e}_n,&{} \text {if } \xi > 0\\ \frac{A_HR^*}{6{(\xi -D_\textrm{min})}^2} \,\vec {e}_n,&{} \text {if } -D_\textrm{max} \le \xi \le 0\\ 0, &{} \xi < -D_\textrm{max} \end{array}\right. } \end{aligned}$$
(9)

where \(D_\textrm{min} = 1.65\) Å  is a parameter introduced to avoid a singularity [8], \(D_\textrm{max}\) is the maximum interaction distance of the van der Waals interaction, which is set as \(1~\mu\)m [8], and \(A_H\) is the Hamaker constant which relates to the surface energy density via

$$\begin{aligned} A_H = 24\pi D^2_\textrm{min}\gamma . \end{aligned}$$
(10)

2.3 Material parameters

The powder spreading process is simulated considering a metallic Ti-6Al-4V powder. The material and simulation parameters can be found in Table 1. According to the experimental measurement of the angle of repose of \(41^\circ\) and matched with the simulation results of Meier et al. [19], the surface energy of Ti-6Al-4V is 0.1 mJ/m\(^2\). To study the effect of particle cohesion on the powder quality, we simulate the powder spreading process for varying surface energy \(\gamma\) from 0 to 0.5 mJ/m\(^2\) in steps of 0.05 mJ/m\(^2\). In general, for cohesive bonds, the surface energy \(\gamma\) quantifies the energy associated with disrupting a bond between cohesive particles to create surface. Thus, varying \(\gamma\) is a meaningful representation of varying cohesion intensity between neighboring particles. We introduce the Bond number, denoted as Bo, which is defined as:

$$\begin{aligned} Bo=\frac{36\gamma }{\rho D_{50}^2g} \end{aligned}$$
(11)

This Bond number serves to characterize the ratio between interparticle cohesion and gravity, where \(D_{50} = 37\,\mu\)m.

Note that \(Bo=54.5\) corresponds to the surface energy of the Ti-6Al-4V powder with \(\gamma = 0.1\) mJ/m\(^2\) [19]. For the given particle and material parameters, the values of \(\gamma \in \{0, 0.05, 0.1, 0.15, 0.2, 0.25, 0.3, 0.35, 0.4, 0.45, 0.5\}\) mJ/m\(^2\) correspond to \(Bo \in \{0, 27.2, 54.5, 81.7,\) \(108.9, 136.2, 163.4, 190.6, 217.9, 245.1, 272.3\}\).

Table 1 DEM simulation parameters

3 Local density characterization of the powder layer

The quality of the produced powder layer is closely related to the packing density of the particles prior to sintering [20]. The density of the layer can be quantified by the ratio of the volume occupied by particles and the total volume, \(\phi =V_{\text {solid}}/V_{\text {total}}\). For sufficiently small \(V_\text {total}\), \(\phi\) can be considered as a local variable. Low packing fraction values indicate loose structures that are prone to defects in the final product. In general, a high packing fraction is desirable for high product quality.

The packing density is calculated locally for subsections of each layer to provide information about the spatial variability of voids throughout the layer. To this end, the local packing fraction is calculated for horizontal strips across the spreading distance x, of fixed width equal to 1 mm. The strip size is chosen to be sufficiently large so that it contains a representative number of particles and voids for the calculation of the packing density. The density calculations are performed using YADE, where a dedicated algorithm exists for density calculations [47]. Alternatively, high-resolution techniques have been proposed to calculate the density of granular packings based on the exact partial intersection volume between spheres and mesh elements [48].

Fig. 2
figure 2

Local packing fraction \(\phi\) as a function of Bond number Bo. The horizontal lines note the global packing fraction value for each layer. The sample points are colored according to their distance x from the starting point of spreading

Powder spreading leads to inhomogeneous layers of material with spatially varying packing characteristics. This is the motivation behind calculating the packing density locally, for subsections of the layer along the spreading direction, aiming to explore the degree of density inhomogeneity within each layer. Figure 2 shows values of the packing fraction for various values of cohesion as a function of Bo. Evidently, cohesive materials lead to loose packings of the powder material, which is in agreement with previous observations [20]. For increasing cohesion from \(Bo=0\) to \(Bo=272.3\), the mean packing density reduces by nearly 60%, from \(\phi \approx 0.60\) to \(\phi \approx 0.25\), while the scattering of the values also increases slightly. The reduction of the average packing fraction is gradual for increasing Bond number (within the studied range of values), i.e., no sudden transitions are observed between layers made of powders with similar Bond numbers. The data points in Fig. 2 are colored according to their distance, x, from the starting point of spreading, where a clear trend is not observed, indicating that the degree of scattering does not correlate with the spreading distance, x.

4 Local structural anisotropy characterization of cohesive particle layers

4.1 Heterogeneous cohesive packing

Figure 3a shows an example of the deposited layer of highly cohesive particles \((Bo=190.6)\). We observe a heterogeneous structure comprising regions of dense and loose packing. At the particle scale, the density of neighbors surrounding each particle can be highly anisotropic, which could have important implications for subsequent processes such as heat transfer and phase change. Although such spatial fluctuations can be reflected by bin-averaged density, as done in Fig. 2, the degree of fluctuation at different locations depends on a manually chosen bin sizes. To avoid the need to manually specifying sampling length scales, we adapt a method of characterizing the structural heterogeneity. This method relies on particle-level measurements derived from the packing anisotropy calculated using Voronoï tessellation [27].

Fig. 3
figure 3

Distinguishing the structural anisotropy of the deposited powder layer. a Visualization of the granular packing of the powder layer at \(Bo=190.6\). In this figure, the data points represent the two-dimensional projections of particle centers onto the xy-plane. Additionally, we illustrate the 2D Voronoï tessellations associated with these particle projections. In the same frame, we provide a schematic representation of the particle packing, including overlaid Voronoï tessellation (depicted in blue) and Delaunay triangles (highlighted in green). The red vectors, denoted as \(C_p\), originate from particle centers and extend towards the centroids of the corresponding Voronoï cells. The evaluated \(Q_k\) for b \(Bo=0\) and c \(Bo=272.3\), where the Delaunay triangles are colored with their respective \(Q_k\) values

4.2 Anisotropy vector field and its divergence

The local structural anisotropy can be measured using a Voronoï based method that calculates the vector, \(\vec {C}\), pointing from the center of a particle to the centroid of its Voronoï cell [27, 38]. The corresponding Delaunay triangulation is then used to quantify these vectors that reside on the triangulation vertices, i.e., particle centers, as shown in the schematic of Fig. 3a with a Delaunay triangle labeled k. Noting that the Voronoï calculation is based on projections of the particle positions on the xy-plane for reasons explained in the following text. For a triangle representing a densely occupied area (overpacked, like the one depicted), all the \(\vec {C}\) vectors point outward. For a triangle representing a void (underpacked), the vectors point inward. This is reminiscent of being a source or a sink in a vector field, which can be quantified by calculating the divergence of the three vectors in a Delaunay triangle. The divergence calculation assumes that the spatial gradient of the vectors is constant [49], which is detailed in [27]. The local structural anisotropy, \(Q_k\), calculated from the divergence, is defined as

$$\begin{aligned} Q_k \equiv \left( \nabla \cdot \vec {C}\right) \,\frac{A_k}{\bar{A}}, \end{aligned}$$
(12)

where \(A_k\) represents the area of triangle k, and \(\bar{A}\) is the average of all \(A_k\) within the packing. Under this definition, the distribution of \(Q_k\) should have a mean at \(Q_k=0\) [27]. Overpacked regions, like the one dipicted in Fig. 3a, have positive \(Q_k\) values and vice versa.

Extending the \(Q_k\) metric from 2D particle packing to a thin quasi-2D layer is non-trivial. As the layer height here spans from one to three particle diameters (Fig. 3a), a 3D Voronoï quantification may not be most informative because the height of the top bounding box for the Voronoï calculation needs to be manually selected. Alternatively, we work with the xy plane projections here to maintain the 2D calculation, which is justified as many regions in the more cohesive cases are still single particle layers. As a result of this simplification, a highly positive \(Q_k\) could originate from three vertically-aligned particles that form a triangle, which could be more relevant to less cohesive packings. To see the influence of such scenarios, the original \(Q_k\) is further multiplied by the ratio of the projected area of the three particles, \(A_p\), and the sum of the three circular area of the particles, \(A_r = \sum \pi r_i^2\). Note that three vertically-overlapping particles will have smaller \(A_p\) with increasing overlap. The scaled \(Q_k^\prime\) is given as follows:

$$\begin{aligned} Q_k^\prime \equiv Q_k\,\frac{A_p}{A_r} = \left( \nabla \cdot \vec {C}\right) \,\frac{A_k}{\bar{A}}\,\frac{A_p}{A_r}. \end{aligned}$$
(13)

In this way, the contributions of highly vertically aligned particles to high \(Q_k\) values are reduced. For dilute packings with regions consisting of a single layer of particles, we still have \(A_p/A_r = 1\), and \(Q_k^\prime\) converges to \(Q_k\).

4.3 Quantifying structural anisotropy

The values of the calculated \(Q_k\) based on the Delaunay triangles are shown in Fig. 3b and c as a colored map for \(Bo=0\) and \(Bo=272.3\), respectively. For \(Bo=0\), the triangles share similar areas, and the \(Q_k\) value fluctuates between positive and negative randomly in space. For \(Bo=272.3\), large triangles corresponding to underpacked regions exist, making the nearby \(Q_k\) values highly positive or negative, indicating strong anisotropy. The dense and homogeneous regions in both \(Bo=0\) and \(Bo=272.3\) have \(Q_k\) values close to zero, while the highly anisotropic regions with strongly fluctuating local densities show highly positive and negative values, which is more relevant to the highly cohesive case with \(Bo=272.3\). In this sense, looking at the width of the distribution of \(Q_k\) is informative [27].

Fig. 4
figure 4

a Probability density associated with the normalized divergence of center-to-centroid vectors for the quasi-2D packing of powder deposited for different Bo. We distinguish regions with \(Q_k > 0\) as overpacked, indicating higher packing density compared to their surroundings. Conversely, we label regions with \(Q_k < 0\) as underpacked, denoting a lower packing density relative to their immediate environment. The solid curves represent the Gaussian fits within the range of \(\bar{Q}_k - 0.5\) to \(\bar{Q}_k + 0.5\). b Comparing the standard deviations (red circles) and the skewness (blue squares) of the distributions of \(Q_k\) (solid) and \(Q_k^\prime\) (hollow) vs. Bo

The distribution of \(Q_k\) has been connected to important properties of granular materials such as jamming and shear band formation [27, 29,30,31]. In a rather homogeneous region, \(Q_k\) fluctuates randomly, and the distribution is narrow with a peak around \(Q_k=0\) [27]. In heterogeneous regions where the anisotropy is high, the distribution widens due to the highly positive and negative pairs of \(Q_k\) contributing to the distribution’s tails, making it deviate from a Gaussian distribution. Figure 4a shows the distribution of \(Q_k\) for different Bo. For all cases, the distribution has a Gaussian-like peak near \(Q_k=0\), which is made clear by the color-matched solid curves representing Gaussian fits using values between \(\bar{Q}_k - 0.5\) to \(\bar{Q}_k + 0.5\) for each Bo, with \(\bar{Q}_k\) being the average value. As Bo increases, the distribution function at \(Q_k<0\) becomes piece-wise with a bigger tail developing near \(Q_k = -1\). This indicates that at large Bo, both dense homogeneous regions and dilute heterogeneous regions coexist, with the latter represented by the exponential-like tail at \(Q_k<-1\). For \(-1< Q_k < 1\), the distribution is slightly narrower with increasing Bo, indicating the existence of locally homogeneous packing. This has also been observed in other cohesive particle systems, for example, in the experimental studies by Xiao et al. [29].

To quantify the difference in packing heterogeneity for different Bo, we show the standard deviation and the skewness of the \(Q_k\) distribution in Fig. 4b. The standard deviation reflects the portion of highly anisotropic sites (triangles) in a packing. The skewness roughly compares the degree of anisotropy of loosely packed sites to densely packed sites. For higher cohesion, particles can sustain more voids during spreading and encounter higher local anisotropy, leading to a more heterogeneous overall packing structure. As a result, the standard deviation increases with Bo, which reflects the difference seen in Fig. 3 in a quantitative way. The skewness decreases with Bo, which reflects the growing tail at the negative end of the \(Q_k\) distribution. This corresponds to the fact that the void sites not only grow larger in number, but also have larger sizes at higher Bo. We compared the standard deviations and the skewness of the distributions with the anisotropy calculated using Eqs. 12 and 13 for \(Q_k^\prime\), respectively. The divergence \(Q_k\) from the condition in Eq. 12 gives slightly higher values for both the standard deviation and the skewness but qualitatively shows the same behavior as \(Q_k^\prime\).

5 Surface roughness characterization of powder layer

5.1 Digitized free surface height characterization

Fig. 5
figure 5

Height of powder layer surfaces for various Bond numbers from \(Bo=0\) to \(Bo=272.3\)

Measuring the surface roughness of the powder layer is of interest, as it is related to the roughness of the final product, noting that distinct rough features are areas prone to become the source of defects. As discussed in the previous sections, packing density and structural packing anisotropy are integral elements in assessing the quality of the finished part. However, they do not provide information on the irregularity of the surface texture of the powder layer. To this end, it is useful to characterize the surface roughness of the produced layers corresponding to different cohesion values. Various aspects of roughness can be characterized via the calculation of independent quantitative indices that provide diverse morphological information on the layer’s topography.

Previous work focused on the two-dimensional characterization of surface roughness features of powder layers, using indices that correspond to planar rough profiles, usually taken as representative of the real rough profile [23, 24]. Here, the three-dimensional surface profile of each powder layer was reconstructed for each layer after spreading is completed. The particles located near the top of the powder layer were identified, and points on their surface were calculated using a regular sampling grid [35], giving a surface height profile, \(z_\text {s}\), similar to Meier et al. [18]. Note that if the surface of the substrate is directly exposed at a sampling point, a value of zero is recorded. Figure 5 shows the surface heights of the 11 studied powder layers of different cohesion. Interestingly, the surface height reaches a maximum value of up to \(150\,\mu\)m for larger Bond numbers, which is larger than the gap height of \(100 \,\mu\)m, shown in Fig. 1b. This typically occurs for fine cohesive powders, due to decreased flowability of the powders when the cohesion effects dominate gravity and inertia, resulting in the formation of agglomerates with internal cavities and irregular surface profiles [17, 50]. The surface height of the cohesionless powder layer (\(Bo=0\)) does not exceed the gap height. Figure 6 shows three example distributions of the measured surface height, which shows that the distribution widens as Bo increases. However, the shapes of the height distributions are rather complicated, and require many parameters to describe as listed in the following subsection. A spike at \(z_s=0\) exists for all three Bo, which corresponds to the exposed substrate surface.

Fig. 6
figure 6

The distribution of digitized free surface height distributions for \(Bo=0\), \(Bo=136.2\), and \(Bo=272.3\)

5.2 Roughness characterization using height distributions

The current state-of-the-art for characterizing rough surfaces, as outlined in ISO 25178 [51], calculates roughness indices based on the surfaces of real, three-dimensional texture profiles. Using distributions of \(z_{\text {s}}\), the surface roughness is characterized in terms of arithmetic mean height \(\left( S_a\right)\), root mean square height \(\left( S_q\right)\), skewness \(\left( S_{sk}\right)\) and kurtosis \(\left( S_{ku}\right)\). The height deviation of the surface roughness from a mean surface height of the entire layer is used, which is \(z_m\). We show these roughness parameters in Fig. 7 for increasing Bond number values, where the points are colored according to their distance x from the start of spreading, and along the spreading direction. A clear correlation was not found between any of the surface roughness parameters and their distance from the initial spreading position. We next discuss the significance of the roughness parameters individually. The arithmetic mean height is calculated as:

$$\begin{aligned} \displaystyle S_a = \frac{1}{A} \iint \limits _A \left| \bar{z} \left( x,y \right) \right| \mathop {}\!\textrm{d}x \mathop {}\!\textrm{d}y, \end{aligned}$$
(14)

where \(\bar{z}=z_{\text {s}}-z_m\) is the height of a point on the layer surface, measured from the plane of mean surface height, \(z_{\text {s}}\) is the measured free surface height, x and y the horizontal coordinates of the point along and transversely the spreading direction, and A the area occupied by the layer. It becomes evident in Fig. 7a that for powders of increasing cohesion, the arithmetic mean height increases almost linearly with the Bond number up to values of \(Bo = 217.9\). This indicates that cohesive powders lead to higher deviations from the mean height, and to rougher surface texture profiles. Also, the scatter of measurements increases slightly for larger Bond numbers, which points to the conclusion that more cohesive powders feature more heterogeneous profiles, with taller peaks and deeper valleys. To further validate this trend, the root mean square height is calculated as:

$$\begin{aligned} \displaystyle S_q = \sqrt{\frac{1}{A} \iint \limits _A \bar{z}^{2}\left( x,y\right) \mathop {}\!\textrm{d}x \mathop {}\!\textrm{d}y}. \end{aligned}$$
(15)

It can be seen in Fig. 7b that the root mean square height presents the same general trend as the scattering of the arithmetic mean, where more cohesive powders form layers with more heterogeneous height distributions. This is in agreement with findings from the literature [18, 20]. These two measures of the average height of the powder surface texture are informative regarding the extent of the roughness, but provide no information about their morphology. To this end, the skewness and kurtosis of the surface height profiles are examined. The height skewness is calculated as:

$$\begin{aligned} \displaystyle S_{sk} = \displaystyle \frac{1}{{S_q}^{3}} \left[ \frac{1}{A} \iint \limits _A \bar{z}^{3} \left( x,y \right) \mathop {}\!\textrm{d}x \mathop {}\!\textrm{d}y \right] . \end{aligned}$$
(16)
Fig. 7
figure 7

Surface roughness parameters (a) arithmetic mean height \(S_a\) (b) root mean square height \(S_q\) (c) skewness \(S_{sk}\) and (d) kurtosis \(S_{ku}\) shown as a function of Bo. The solid horizontal lines note the global values of the surface roughness parameters for each layer. The sample points are colored according to their distance x from the starting point of spreading. The dashed line for \(S_{sk}=0\) marks the threshold between profiles where most rough features appear above the mean plane (\(S_{sk}<0\)) and below it (\(S_{sk}>0\)). The dashed line for \(S_{ku}=3\) marks the threshold between rough profiles with rounded peaks (\(S_{ku}<3\)) and with sharp ones (\(S_{ku}>3\))

Skewness is a measure of the asymmetry of the layer height distribution around the mean plane. Negative skewness values (\(S_{sk}<0\)) indicate that the height distribution is skewed above the mean height plane, with a few deep valleys, zero skewness values (\(S_{sk}=0\)) correspond to a symmetric surface, where peaks and valleys occupy the same amount of surface in average, while positive values (\(S_{sk}>0\)) indicate that the height distribution is skewed below the mean height plane, with a few tall peaks. Figure 7c shows a monotonically increasing trend of skewness with increasing Bond number values, where powders with lower cohesion (\(Bo<190.6\)) demonstrate negative skewness, with average cohesion (\(Bo\approx 190.6\)) nearly zero skewness and with higher cohesion (\(Bo>190.6\)) positive skewness values. The height kurtosis is calculated as:

$$\begin{aligned} \displaystyle S_{ku} = \displaystyle \frac{1}{{S_q}^{4}} \left[ \frac{1}{A} \iint \limits _A \bar{z}^{4} \left( x,y \right) \mathop {}\!\textrm{d}x \mathop {}\!\textrm{d}y \right] . \end{aligned}$$
(17)

Like skewness, kurtosis describes a particular morphological aspect of the surface height distribution. Skewness is a metric of whether most of the rough profile is positioned above or below the mean height plane. Kurtosis provides information on the average shape of the surface texture asperities, and can be seen as a probability density sharpness of the rough features. Low kurtosis values (\(S_{ku}<3\)) indicate platykurtic surface texture profiles of well-rounded asperities presenting short tails, zero kurtosis values (\(S_{ku}\approx 3\)) correspond to mesokurtic profiles of Gaussian-like asperities characterized by medium-sized tails, while high kurtosis values (\(S_{ku}>3\)) correspond to leptokurtic surface profiles, with sharp, spike-like asperity characteristics presenting long tails.

Figure 7d shows the kurtosis values for the various powder layers of varying cohesion, where the parameter shows a non-monotonous, mostly declining trend for increasing Bond number. It becomes evident that the powder layer corresponding to zero cohesion (\(Bo=0\)) features high kurtosis values (\(S_{ku}>3\)), while layers made of cohesive powders feature lower kurtosis values (\(S_{ku}<3\)). For the higher end of the studied cohesion levels (\(Bo>217.9\)) kurtosis shows a mild increasing trend, which is however characterized by a high degree of scatter, making a further interpretation challenging.

Combining the observations of all roughness parameters for the studied powder layers of varying Bond number, it can be inferred that increasing cohesion leads to powder layers characterized by increased roughness, where the layer lies mostly below its average height, and presents a few, rounded peaks. For less cohesive powders, the corresponding layers are characterized by less pronounced rough features of a sharper nature. These observations can possibly be explained by considering that cohesive particles tend to agglomerate into larger clusters, which appear to be more rounded at the scale of the full powder layer, compared to cohesionless particles which pack without demonstrating clustering, and thus it is more probable for them to have individual particles deposited on the surface of the layer, which macroscopically resemble sharp peaks.

5.3 Spatial fluctuation of the free surface height

While examining the digitized height distribution is informative, it does not contain information on the spatial arrangement of the height profile. For a given set of digitized height values, a permutation of their spatial arrangement does not change the distribution. This problem is analogous to the problem where a global packing density does not offer information on the homogeneity of the packing. Therefore, we again use the projection-based Voronoï and Delaunay tessellations as in Sect. 4 to address this issue. For a sphere packing, the digitized free surface height values for each sphere are spatially correlated as they can be fully described by the center coordinates and the radius of the sphere. To reduce this correlation, a spatial coarse graining at the length scale of a particle’s diameter is required. We average the free surface height value, \(z_{\text {s}}\), in each Voronoï cell, defining a cell-averaged height, \(z_v\), at the center of each corresponding sphere, which is also a vertex in the Delaunay triangulation. The calculated distributions of \(z_v\) for different cohesion are shown in Fig. 8a, which are colored by the corresponding Bo. Results show that the distribution widens with increasing Bo, which agrees with results in Fig. 7. The variance of the \(z_v\) distribution can be calculated as \(\sigma _{z_v}^2\), but as mentioned earlier, it does not contain information of the spatial height fluctuation.

Fig. 8
figure 8

Quantifying mixing of surface heights. a Distributions of Voronoï cell-averaged surface height for different Bo. b Illustration of poor mixing (left) and well mixing (right) that generate the same surface height distribution. c Distributions of the Dirichlet energy of individual triangles for different Bo. d The total Dirichlet energy for each Bo. Inset shows the fitted exponential distribution constant for each Bo

To demonstrate the permutation problem, a sketch is made in Fig. 8b where the Delaunay triangles are drawn in black, and the height of each vertical stick from a vertex represents \(z_v\). For simplicity, we show idealized scenarios with only two height values, which can be organized into scenario A where the short surfaces (blue) and tall surfaces (red) are spatially segregated, and scenario B where they are mixed, with both cases having the same height distribution. The degree of “mixing" between taller and shorter surfaces needs to be quantified for a more complete description of the free surface profile. This can be described by how different the values are for the three vertices in an triangle, and this difference is small for most triangles in A and large for most triangles in B. To quantify this, we use the square of the first spatial derivative, \(|\nabla z_v|^2\), and an integration of this quantity over the entire domain gives the Dirichlet Energy [52,53,54]

$$\begin{aligned} E_\Lambda = \frac{1}{2\sigma ^2_{zv}} \int |\nabla z_v|^2dA, \end{aligned}$$
(18)

which quantifies the degree of variation of a function in a given domain, with the function being the height, \(z_v\), that varies on the 2D domain A on the xy plane. In a lattice triangulation, this quantity can be digitized as

$$\begin{aligned} E_\Lambda= & {} \frac{1}{2} \sum _{k} \Lambda _k = \frac{1}{2} \sum _{k(l,m,n)} \frac{1}{2\sigma ^2_{zv}}\nonumber \\{} & {} \left[ \cot {\alpha _{lm}}(z_{v,l}-z_{v,m})^2 + \cot {\alpha _{ln}}(z_{v,l}-z_{v,n})^2 + \cot {\alpha _{mn}}(z_{v,m}-z_{v,n})^2\right] , \end{aligned}$$
(19)

where \(\Lambda _k\) is the normalized Dirichlet energy for a single triangle k, and lmn are the vertices of k, and \(\alpha _{lm}\) is the angle facing the edge connected by l and m. The distribution of \(\Lambda _k\) of all analyzed triangles for each Bo is shown in Fig. 8c. For each Bo, the distribution is a straight line on a log-lin scale suggesting an exponential distribution, \(P(\Lambda _k)=\lambda e^{-\lambda \Lambda _k}\). Unlike the distribution of the digitized surface height with complicated shapes and spikes at \(z_\text {s}=0\) (Fig. 6), the exponential distribution can be conveniently described by a single parameter, \(\lambda\), which sets the rate of decay for \(P(\Lambda _k)\). It can be seen from Fig. 8c that the more cohesive cases have faster decays with higher values near zero.

To quantify the variation and the decay, we plot the total Dirichlet Energy for each Bo in Fig. 8d and the fitted distribution parameter \(\lambda\) as an inset, both decreasing with Bo. Note that with the normalization by \(\sigma _{z_v}^2\), these two quantities reflect the blending of taller and shorter surfaces, not the spread of surface heights. These results quantitatively show that at the length scale set by particle size, higher cohesion results in less local height fluctuation, despite having a higher spread in height values. This is because low cohesion particles pack densely and homogeneously, and the surface height fluctuates at the particle scale, which is similar to scenario A in Fig. 8a. On the other hand, high cohesion particles form dilute and heterogeneous packings with clustering that is more similar to scenario B. In this sense, the local surface height fluctuations and the local packing anisotropy in a layer should be closely related, which is subject to future studies.

6 Conclusions

This work quantifies the structural features with a focus on density and surface roughness in powder layers in DEM simulations using realistic cohesive interaction forces. We first used a more traditional approach by calculating global values to show the general trend of decreasing density and increasing surface roughness as cohesion increases. The global structural features was calculated by digitization of the simulated spheres at a fine scale and then samples globally by binning for density and by examining the distribution for the surface height profile. The increase in the surface roughness was then further interpreted by examining higher moments of the height distribution, including the skewness and the kurtosis, both show a gradual evolution for layers with different Bond numbers. In particular, for \(Bo=0\) the skewness \(S_{sk}<0\) and kurtosis \(S_{ku}>3\), indicating that most rough features appear above the mean height plane and have sharp peaks, while for \(Bo=272.3\) we observe the inverse trend, i.e. the skewness \(S_{sk}>0\) and kurtosis \(S_{ku}<3\), indicating that most rough features appear below the mean height plane and have more rounded peaks.

To highlight the increasing heterogeneity of the density and surface profile, we also developed Voronoï-based metrics that quantifies the spatial fluctuations of these quantities of interest. For density fluctuation, the divergence of the Voronoï anisotropy vector, \(Q_k\), was adopted for the thin deposited particle layers as a geometrical measure of their structural heterogeneity. The transition in the slope of \(Q_k\) distribution at \(Q_k = -1\) serves as an indicator of the presence of both dense regions with homogeneous structures and dilute regions with significantly anisotropic structures, which is a characteristic feature of cohesive materials. With increasing cohesion, both the standard deviation and skewness of the \(Q_k\) distributions exhibit a consistent, monotonic change, indicating increasing structural heterogeneity of the deposited layer.

We quantified the fluctuation of the free surface height using the Voronoï cell-averaged height. Instead of focusing on the global distribution of this height, which contains no information on the spatial arrangement of the height values, we calculated the local squared spatial gradient as a measure of how well the taller and shorter surfaces are mixed. The distribution of the squared gradient is exponential which can be quantified by a single parameter. When normalized by the variance of the surface height, both the fitted distribution parameter and the total sum of the squared gradient show a decrease with increasing Bo. This quantitatively demonstrates that higher cohesion leads to reduced local height fluctuation despite the height values having a wider spread, which is possibly because that the packing density heterogeneity results in significant fluctuations of the free surface at a larger length scale. In contrast, at lower cohesion levels, particles densely and homogeneously pack, resulting in more surface height fluctuation at the particle scale.

The additional sets of metrics for the spatial fluctuation of density and surface height, combined with the global metrics, offer a more complete description of the packing structure than the traditionally used bulk-averaged values. This set of parameters can not only serve as a quantification of the quality of spreading but can also be used as a structural basis for modeling and analysis of subsequent processes, such as heat transfer and binder infiltration, as the heterogeneity of the packing structure on the particle level is important in these processes. For thicker layers and non-spherical particles, the 2D projection-based Voronoï calculation could lose its validity, but the same concept can be extended using real 3D set Voronoï analysis [26, 55].

The Bond number, which essentially compares cohesive strength with particle gravity, was considered in our analysis. However, variations in the packing could also result from the interplay between cohesion and confining pressure (possibly influenced by the tool gap) or particle stiffness. This implies the need for additional non-dimensional numbers to capture these effects accurately. The Bond number is not the sole representative of the actual physics involved in the powder spreading process. While we did not alter these other parameters in our study, it is worth acknowledging the potential influence of other competitive factors. This opens avenues for future investigations to explore and quantify the impact of these parameters on the observed powder layer structure.