1 Introduction

Foam materials present remarkable mechanical, thermal, electrical and acoustic properties, which make them ideal for many aerospace, industrial and medical applications [1,2,3,4]. However, precisely these property differences represent uncertainties for object design processes. Foam materials present open-cell or closed-cell structures. The open-cell structure (Fig. 1a) is formed by a set of connected ligaments located at the edges of random polyhedral cells [4,5,6]. The closed-cell structure (Fig. 1b) consists of the set of connected facets located at the faces of random polyhedral cells [7, 8]. In open-cell porous materials, the pore space is connected across the full domain. In closed cell materials, the porous space of each cell is enclosed by the cell walls. This article addresses open cell porous materials.

Fig. 1
figure 1

Porous material structures: a open cell, b closed cell

For the numerical simulation of cellular solids, it is important to generate digital representations of the porous materials that: (1) accurately model the material topology and geometry and (2) are computationally efficient. However, the complex geometry of the porous material makes computationally intensive to achieve an useful digital model.

To reduce the computational expenses of mechanical simulations using a full 3D representation of open-cell foams, this investigation uses a simplified geometry. This manuscript presents a workflow to obtain the reduced representation of the open-cell foam and the assessment of the geometrical and mechanical effectiveness of the simplified model.

Fig. 2
figure 2

Porous material whose ligaments have approximately circular cross-sections

2 Literature review

The generation of geometric models of foam microstructure and properties can be classified into models (1) of actual samples and (2) statistically generated.

  1. 1.

    Actual sample models: these models mimic a specific sample (e.g. CT [9,10,11,12,13]). This approach guarantees high fidelity to the original foam geometry and topology. However its application is limited by: (a) the heavy and time consuming manual work required to make the model suitable for FEA meshing (with 3D elements), (b) the unaffordable memory and time computer expenses [3, 9, 11], and (c) the small (non-representative) volumes that can be simulated [4].

  2. 2.

    Statistically generated models: these models do not reconstruct the actual geometry and topology of a foam sample. Instead, they aim to represent its geometry in a stochastic sense.

    1. (a)

      Arrays of identical (unit) cells: a popular one is the Kelvin Cell (tetrakaidecahedron [4, 6, 14,15,16]). Anisotropic and perturbed versions of the Kelvin cells have been proposed to better fit the geometry of real foams. The advantage of the Unit-Cell method is that the bulk behavior of the foam can be estimated from a single cell or a small cluster of cells (representative volume). However, this method does not grasp: (a) the large variation in the cell size and shape [5] and (b) the presence of manufacturing defects in real foams [3].

    2. (b)

      Tessellations: These approaches generate space partitions Voronoi [3, 16] and Laguerre [5, 17,18,19] from which foam-like structures are generated. Tessellations approximate better the irregular cell shape of actual foams. Some tessellation approaches are able to model foam defects [3] such as closed windows, small windows, and missing ligaments in cells. Tessellation-based foam models require 3D FEA meshing to be used, which represents a serious disadvantage.

As reviewed, the existing approaches are impractical (in case of Finite 3D Element Analysis), or else, generate virtual domains based on statistical properties of foams. In contrast, this article presents a method that produces a simplified CT-based model for efficient FEA simulation. The simplified model aims to overcome the difficulties imposed by the computational expenses of simulating a full 3D model, while reasonably preserving the geometry and topology of the original sample. In the present investigation, the ligaments of the porous material are modeled as beams of circular cross-section with variable diameter fully constrained in the nodes or junctions with other ligaments. The algorithm applies to foams with ligaments having approximately circular cross-sections (Fig. 2). This simplified representation presents high fidelity to the original geometry and topology of the foam specimen of interest, preserving its specific features and natural imperfections. Because the simplified geometrical model uses 1D beams instead of 3D tetrahedra of the full B-Rep representation, the implemented approach presents advantages in estimating apparent mechanical moduli of porous materials.

This method pragmatically articulates well-known simple and complex algorithms of computational geometry. The simplification produces a significant reduction in the computing resources consumed by mechanical simulations of porous materials.

2.1 Contributions of this article

This manuscript presents: (a) a methodology to produce a simplified model for efficient FEA simulation of open-cell porous materials and (b) the evaluation of the simplified model from the geometric and mechanical viewpoints. This manuscript presents the following aspects, needed to make the geometry simplification useful for engineering applications:

  1. 1.

    Simplified modeling of foam: accurate approximation of foam ligaments with 1D FEA elements (beam), which are much more efficient in computer resources than 3D solid (i.e. Full B-Rep) models.

  2. 2.

    Geometry assessment of the simplified model: estimation and comparison of the porosity coefficient (up to 0.17% error) and Hausdorff Distance (up to 0.2% error) with respect to a Full B-rep model.

  3. 3.

    Mechanic assessment of the simplified model: estimation and comparison of equivalent mechanical moduli (Apparent Young, Shear, and Poisson) of the simplified model with respect to a Full B-rep model (up to 16% error).

Fig. 3
figure 3

Comparison between full B-Rep and truss formats pre-processing. *: iterative human interaction

3 Materials and methods

The simplified geometry (truss data) presents clear advantages for FEA with respect to the full B-Rep model. Figure 3 shows a comparison of the processes to produce B-Rep vs. Truss input for an FEA. The process starts with the CT scan of the domain \(\varOmega \subset R^3\), which is basically a scalar field CT: \(\varOmega \rightarrow R\). An iso-surface in triangular format is extracted from \(\varOmega\) (using Marching Cubes [20] or any other iso-surface synthesis algorithm). The left branch produces a full B-Rep (i.e. 3D solid model) of the porous domain. The right branch produces a truss (nodes + bars) representation of the porous domain.

  1. 1.

    B-Rep foam domain data The left branch (Fig. 3) is a well-known user-assisted approach, in which most of the user effort is invested in repairing the triangular mesh. It is necessary to solve conflicts such as: holes, non-manifold edges, intersecting faces, degenerate faces, spikes, excessive number of triangles, among others. Most of these conflicts can be solved automatically by using advanced software like Geomagic, Rhinoceros 3D, etc. However, there are cases in which mesh reparing conflics appear and manual intervention is necessary to defeature problematic zones of the triangular mesh. In the application that we address in this work, those conflicts are prone to appear, since noise and artifacts are generated by the CT scan and reconstruction process of the complex geometry of the metallic foam. Mesh repairing operations must be repeated if the FEA module rejects the B-Rep achieved. If the FEA module accepts the B-Rep, the 3D meshing typically takes a significant amount of time and may even surpass hardware memory capability.

  2. 2.

    Truss domain data The right branch (Fig. 3) process takes a triangular B-Rep and produces a truss (nodes + bars) model of the porous material, as follows: (a) a Medial axis skeleton of the triangular B-Rep is calculated. (b) Artifacts and “hairs” are removed from the skeleton. (c) Center and radius of nodes and truncated cone parameters for the bars are estimated. (d) Node merging or node insertion (as needed) are conducted, to ensure topologic and geometric correctness of the output truss representation. The manual adjustment of parameters of the simplification method related to sampling and minimum feature preservation may be needed (details are given in the following sections). Simplification quality is assessed in terms of porosity and Hausdorff distance, as discussed in Sect. 4.2. After the truss model is obtained, 3D meshing for FEA is not required because truss struts can be directly represented with 1-D beam elements in the FEA software. In this way, the high computational costs and user interaction that 3D meshing requires is avoided with this methodology.

The following sections describe in detail the process to calculate the truss-based simplified geometry.

3.1 Open-cell foam geometry simplification problem

Given A surface triangular mesh (Fig. 4a) obtained from CT scan voxel-based data of a foam specimen (details of the voxel-to-triangular mesh conversion in [21]). The surface triangular mesh satisfies being manifold and watertight.

Goal To generate a graph (nodes and edges) representation of the foam model in which:

  1. (a)

    Each foam ligament is approximated with a strut element of varying cross-section (Fig. 4b). Highly curved ligaments are represented with several struts. The truss abstraction consists of using 1-D elements (truncated cone bars) which meet in the graph nodes. Notice that their graphic representation would seem to include self-intersections at the nodes. However, this is only a graphical representation of the graph structure and does not correspond to a well-formed surface.

  2. (b)

    Each node and bar of the simplified model has the actual sizes of the corresponding spot in the foam. Therefore, the topology and geometry of the foam are approximated with high fidelity.

Fig. 4
figure 4

Input and output of the simplification method. a Foam triangular boundary representation. b Graphical abstraction of foam truss representation (abstraction does not have to be manifold)

3.2 Simplification to Truss model

The implemented algorithm includes the generation of an undirected graph G(EVR) (Fig. 5), which represents the truss model of the foam. E is the set of edges, V is the set of nodes and R is the set of radii associated with the edges E. The edges of G approximate straight ligaments of the foam. Curved ligaments require several edges. The nodes V correspond to the endpoints of the ligaments. The struts are represented as truncated cones, whose parameters are the initial and final vertices, and the initial and final radius. The set of radii is stored in R.

Fig. 5
figure 5

Undirected Graph G(EVR) to generate the truss representation of the foam

Figure 6 shows the order and priority in which the steps of the method to generate the truss model are applied. Please notice that the mentioned steps are classified into three categories: (1) node and ligament topology extraction, (2) geometry extraction and (3) topology and geometry corrections, which are discussed in detail in the following sections.

An iterative process prunes the graph G(EVR), eliminating degenerate quasi-null edges. Although in each iteration the obtained model can be used for FEA, more iterations mean a higher level of simplification. The iterations are automated, using as input a rough estimation of pore ligament diameter and length, which is usually available. A discussion of the used methodology follows.

Fig. 6
figure 6

Workflow of the truss model generation

3.2.1 Node and ligament topology extraction

The objective of this step is to obtain the set of edges E and nodes V of the graph G(EVR). An initial skeletal (medial axis) representation of the foam is generated, which is later simplified to produce the truss representation of the foam.

Fig. 7
figure 7

Medial axis estimation of the foam. a Input mesh; b iteration 1 of the MCF-based method [22]; c iteration 15 of the MCF-based method; d the estimated medial axis vs. input mesh

Medial axis estimation The medial axis of the foam (Fig. 7) is estimated using Mean Curvature Skeletons ([22]). This method uses the Mean Curvature Flow (MCF) to iteratively collapse the 3D foam domain (represented by a triangular mesh) into a medially piecewise linear centered curve. This method preserves the topology of 3D domains, which is a key feature for foam simplification. In this work, the method in [22] is used because of its successful performance assessments reported in [23, 24] and the availability of its source code [25], but any other similar method can be used.

Curvature-based Edge Reduction from Medial Axis. The medial axis graph G(EVR) contains artifacts and is overlycrowded. The next step is to represent such a graph using a reduced set of straight segments. Sequences of edges whose nodes have degree \(\ge 2\) are replaced by sequences of longer edges (Fig. 8a). The number of edges to be used in the simplified path \(T_s\) is controlled by a recursive algorithm that checks the maximum distance between the original path, \(T_0\), and \(T_s\). If the maximum distance is larger than a configurable threshold \(D_t\), a new edge is added to \(T_s\) and the vertices of \(T_s\) are re-arranged to reduce the maximum distance between \(T_0\) and \(T_s\). Figure 8b illustrates the simplification of paths \(T_0\). Figure 8c shows the result of the curvature-based medial axis simplification.

Fig. 8
figure 8

Medial axis simplification. a Simplification of graph paths bounded by nodes with degree \(> 2\); b examples of the simplification of graph paths; c result of the curvature-based medial axis simplification

3.2.2 Preliminary geometry extraction

The objective of this step is to obtain the set R by approximating the radius of the ligaments that surround edges E at the vertices and center of the edges. Based on the results of such estimations, additional corrections on G(EVR) are performed.

Estimation of the radius at ligament waist Consider a ligament edge \(e_k=(v_i,v_j)\) with associated point set as in Fig. 9a. At the middle of edge \(e_k\), a half space is defined as the thin infinite space contained between two close parallel planes \(\varPi _{1}\) and \(\varPi _{2}\), which are perpendicular to edge \(e_k\). This thin infinite slab contains a nearly cylindrical point subset of the ligament point set. Distance \(D_e\) is user defined and determines the search radius of points that belong to the foam triangular mesh that will be used to build the cylindrical point subset. Figure 9a presents the radius of this cylinder. This radius is easily approximated (along other methods) by the average distance of the cylinder points to the axis \(e_k\). Figure 9b draws a neighborhood of the foam, with cylinders having the estimated radii as a first approximation of the ligaments. Notice that an edge \(e_k\) engenders two truncated cone beams, with r as their radius at the waist (approx. midpoint of \(e_k\)).

Fig. 9
figure 9

a Estimation of the ligament radius at the midpoint of edge \(e_k\); b result of the ligament radius estimation at midpoints of edges E

Estimation of the radius at the ligament endpoints For a node \(v_i \in V\) with degree \(\le 2\), the method to estimate the radius of a ligament at \(v_i\) is similar to the one described in 3.2.2. For nodes \(v_i\) with degree \(>2\) (Fig. 10a), r is estimated as the radius of the sphere fitted to points on the foam mesh within an user-defined search radius \(D_n\) (\(D_n> D_e\)) with normal \(\mathbf {n}\) approximately aligned with vector \(\mathbf {v}=(P_s-P_v)/\left\| P_s-P_v\right\|\).

Fig. 10
figure 10

a Ligament radius estimation at node \(v_i\) with degree \(>2\); b result of the estimation of the radius of the ligaments at nodes V

In Fig. 10, each node \(v_i\) is represented by a sphere with the estimated radius r. Figure 10b shows the results of the estimation of the ligament radius r at the nodes V for a region of the foam.

A double-criterion method (distance \(+\) direction of normals) is used to estimate the ligament waist and node radius because they provide more robustness compared to pure distance-based methods. Consider the case in which reconstruction artifacts cause the B-Rep model to present internal cavities (Fig. 11). In such case, the double-criterion method filters out the points based on the normal direction. Green points are filtered out and only orange points are used in the radius estimation. On the contrary, a distance-based method would consider green and orange points, under or overestimating the ligament waist or node radius. The double-criterion method is not faultless but provides an additional robustness condition compared to pure distance-based methods. The mentioned artifacts are common in foam scans and are difficult to detect and manually eliminate when producing a Full B-Rep model from the CT scan data.

Fig. 11
figure 11

Filtering of points using the double-criterion method for estimation of edge/node radius

Please note that \(D_e\) and \(D_n\) have a direct physical meaning, which is the expected ligament waist radius and node radius, respectively. Reasonable initial guesses for \(D_e\) and \(D_n\) can be obtained from foam technical specifications or from CAD software. The values of \(D_e\) and \(D_n\) used in the experiments presented in this article are reported in Sect. 4.

3.2.3 Topology and geometry corrections

Based on the estimations performed in previous sections, optimization and corrections can be performed on the E and V sets of G(EVR).

Quasi-null edge elimination from medial axis To avoid having an excessive amount of struts in the approximation of ligament junction regions of the foam, two strategies have been implemented to detect and collapse dispensable edges in G(EVR):

Fig. 12
figure 12

Edge collapse based on the length/radius ratio criterion

  1. 1.

    Low edge length/radius ratio. This strategy assesses if a very short edge is being used to approximate a region of the foam where ligaments are thick (Fig. 12a). If the ratio \(l_e/r_e<1\), where \(l_e\) is the length of edge \(e_i\) and \(r_e\) is the radius associated with the midpoint of \(e_i\), edge \(e_i\) is a candidate to be collapsed. An additional condition to collapse \(e_i\) is that \(l_e<L_s\). \(L_s\) is the desired minimum length of the struts that are used to approximate the foam ligaments. This ensures a minimum feature preservation.

    In the collapsing of \(e_i\), its nodes a and b are replaced by a single node c. The coordinates of c are computed as the weighted average of the coordinates of a and b, where the weights are assigned according to the degree of nodes a and b. Figure 12b shows the result of the collapsing of an edge using the length/radius ratio approach.

  2. 2.

    Edge nodes intersection. This strategy assesses if the nodes of an edge are too close to each other based on the estimated ligament radius at the nodes (a very similar strategy for the simplification of the medial axis is used in [26]). If the spheres associated with nodes a and b (Sect. 3.2.2) of edge \(e_i\) intersect each other, edge \(e_i\) is a candidate to be collapsed (Fig. 13a). Additional conditions to collapse \(e_i\) are:

    1. (a)

      the length of \(e_i<L_l\), where \(L_l=2.5*L_s\).

    2. (b)

      at least one of its nodes presents degree \(\le 2\). This avoids the oversimplification of regions of the foam with complex ligament interconnection.

    The edge collapsing approach is the same used for edges with low length/radius ratio. Figure 13b shows the result of the collapsing of edges using the node intersection-based strategy.

Fig. 13
figure 13

Edge collapse by the node intersection criterion

Node center-based medial axis correction Edge collapsing operations can be performed iteratively in order to achieve further simplification of G(EVR). However, this may cause significant deviations of the paths of G from the actual medial axis of the foam model. This makes necessary to center the nodes of G with respect to the surrounding surface. To do so, the node is moved towards the center of the sphere obtained in the estimation of the radius of the ligament at the node (Sect. 3.2.2). The result of this correction on the region in Fig. 13b is shown in Fig. 14.

Fig. 14
figure 14

Node center correction

3.2.4 Synthesis of Truss from graph model

Once G(EVR) is corrected, the truss is generated as follows:

  1. 1.

    Split edge \(e_i\) at waist \(v_{waist}\) into two edges \(e_a=(v_0,v_{waist})\) and \(e_b=(v_{waist},v_f)\).

  2. 2.

    Create a new truss vertex at \(v_{waist}\).

  3. 3.

    Identify the strut radii (\(r_0, r_{waist}, r_f\)) at endpoints of edges \(e_a\) and \(e_b\).

  4. 4.

    Define tapered cone \(C_a=\left[ v_0,r_0,v_{waist},r_{waist}\right]\).

  5. 5.

    Define tapered cone \(C_b=\left[ v_{waist},r_{waist},v_f,r_f\right]\).

  6. 6.

    Repeat steps 1 to 5 for each \(e_i \in E\).

Figure 15 depicts the generation of the truss model from G(EVR). Notice that the Truss nodes present multiple incoming bars. For structural simulation, the fact that the incoming idealized bars would overlap each other at the nodes has no effect since the truss model does not come to indeed mesh this abstract geometry. On the other hand, for estimating the truss model porosity (ratio of empty to total volume), such an overlap of beams at the nodes would introduce an error in the account of solid material. To avoid this error in the case of porosity computing, these steps are taken: (a) a sphere is synthesized at the node, whose radius is computed as explained in Sect. 3.2.2, (b) the incoming beams are interpreted as having their length shortened by the amount of the node sphere radius (Fig. 15). The volume of the truss model is estimated adding the volumes of the spheres and shorted beams. In this manner, the wrong repeated account of the overlapping volumes is avoided. The resulting porosity computation shows an agreement of 98.3% with respect to the B-Rep-based porosity calculation.

Fig. 15
figure 15

Generation of the truss model from G(EVR)

3.3 Finite element analyses on open-cell foam models

To assess the performance of the truss model for mechanical simulations, the estimation of its elastic properties (apparent Young’s Modulus, Poisson’s Ratio and Shear Modulus) is conducted and compared with the ones of a model of reference (full B-Rep with same domain size). Fig. 16 compares the load FEA cases using full B-Rep (left workflow) vs. truss (right workflow) models of the porous domain. Table 1 summarizes the features of the compared FE models. 3D FEA derived from \(C^2\) (smooth) or \(C^0\) (triangular) full B-Reps is an approach already tried by investigators. 3D FEA is used here to contrast against the faster 1-D FEA derived from truss representations. The emphasis of this manuscript is on the simpler/faster Truss representation and on the explicit calculation of macro-deformations from the set of individual displacements of the truss nodes.

Fig. 16
figure 16

Comparison between FEA load cases using B-Rep vs. truss porous domain models. *: iterative human interaction

Table 1 Comparative table. Finite Element models Full B-Rep vs. truss for estimation of equivalent moduli of porous materials

3.3.1 Truss model

The truss model is built in ANSYS by implementing Matlab functions that read G(EVR) and produce ANSYS scripts with the corresponding beam elements. ANSYS automatically performs further division of the beam elements based on the length of the beam originally specified in the script.

3.3.2 Reference model

The reference model is obtained by meshing in ANSYS with tetrahedral elements a surface model of the foam extracted from a CT scan. Meshing parameters in ANSYS are manually adjusted to avoid the generation of very small or flat tetrahedra. The obtained mesh is exported in MSH format and Matlab code is written to read the mesh boundary representation.

3.3.3 Mechanical simulations

Tension (Fig. 17) and shear (Fig. 18) case studies are generated in ANSYS to estimate the elastic properties of the reference and truss models. Each case study setup is defined using ANSYS scripts generated from custom Matlab functions. This process allows to control that:

  1. 1.

    the number, direction and magnitude of applied displacement constraints and loads is the same for both models.

  2. 2.

    the 3D position of constrained/loaded nodes is the closest between the models.

The summary of the setup of the mechanical simulations is presented in Table 2. The applied stress is chosen to assess the models in their linear elasticity region, in agreement with the experimental data in [27,28,29] for open-cell foams with 5–6% relative density.

Table 2 Setup of the mechanical simulations
Fig. 17
figure 17

a Setup of the tension case study; constrained and loaded nodes in the b Truss and c reference models

Fig. 18
figure 18

a Setup of the shear case study; constrained and loaded nodes in the b Truss and c reference models

Tension case study The setup of this case study is shown in Fig. 17. Displacement constraints are applied on the nodes on the lower XY plane of the foam BB. For nodes in green, the displacements along Z are set to zero. For nodes in blue, all translations are set to zero. Shear loads in Z direction are applied on the nodes (in red color) on the upper XY plane of the foam BB.

Shear case study The setup of this case study is shown in Fig. 18. All translations are set to zero for the nodes (in blue color) on the lower XY plane of the foam BB. Shear loads are applied on the nodes (in red color) on the upper XY plane of the foam BB. In this case, two load configurations are tested: a forces along X direction and b forces along Y direction.

4 Results and discussion

4.1 Truss model generation

The foam simplification method presented here is applied to a surface mesh of aluminum open-cell foam (see dimensions in Table 3) obtained from a CT scan (as in [21]). The input foam model presents typical manufacturing imperfections [3, 31, 32], such as

  1. 1.

    Curved ligaments

  2. 2.

    Missing cell ligaments

  3. 3.

    Missing cells

  4. 4.

    Irregular cell shape

  5. 5.

    Closed windows (filled cell faces)

  6. 6.

    Small windows (small holes in cell faces)

These manufacturing defects are retained very well in the truss model of the aluminum foam. Figure 19 shows the preservation of small holes in cell faces and filled cell faces of the aluminum foam surface model in the truss model. Figure 20 shows the complete aluminium surface model and the resulting truss model.

Fig. 19
figure 19

Preservation by truss model (b) of local geometry and topology of foam (a). Full B-Rep: GREY, Truss: GREEN

Fig. 20
figure 20

Geometry simplification of the foam model. a Full B-Rep. b Truss abstraction of (a). Full B-Rep: GREY, Truss: GREEN

4.2 Truss model quality

The quality of the approximation of the Truss model with respect to the original Full B-Rep model is measured in terms of the porosity preservation and Hausdorff distances.

4.2.1 Porosity preservation

As proposed in [3, 4], the porosity of the full B-Rep and truss models is compared to quantify how well the truss model approximates the geometry of the full B-Rep one. The porosity \(\phi\) is defined as \(\phi =(Vol_{BB}-Vol_{S})/(Vol_{BB})\), where \(Vol_{BB}\) and \(Vol_{S}\) are the BB and solid phase volumes of the foam model, respectively. The result of the porosity computation is presented in Table 3 for the studied domain.

4.2.2 Hausdorff distance

The Hausdorff distance between the surfaces of (a) the full B-Rep model and (b) the obtained truss model from (a) is computed to quantify how well the truss model approximates the full B-Rep one. Notice that low Hausdorff distance values require the correct positioning of the truss nodes and ligaments and also an accurate estimation of their radii. Figure 21 shows the results of the normalized Hausdorff distance (\(H_d\)) computation for the test domain. \(H_d\) is normalized with respect to the diagonal of the BB domain. The color of the various regions indicates the quality of the approximation in that particular neighborhood. Table 3 presents the obtained maximum and mean values of \(H_d\).

Fig. 21
figure 21

Quality of the approximation in terms of the normalized Hausdorff distance \(H_d\) between the Full B-Rep and Truss models

Table 3 Summary of the setup and geometry simplification results

4.3 Mechanical simulations

4.3.1 Computational resources

Assuming that the number of tetrahedral and strut elements that are used in the reference and truss models, respectively, to approximate a foam ligament is constant (in average), the computational resources demanded by the models can be expressed as a function of the number of ligaments of a foam sample. This is a rough approximation but helps to gain insight into the computational complexity of the foam models at hand.

Figure 22 presents the number of elements, the number of equations, and memory demanded by the foam models vs. the number of ligaments. The mentioned computational resources are directly reported by ANSYS at the moment of executing the simulations (case studies). Figure 22 shows a large reduction (above \(90\%\)) of the computational resources demanded by the truss model with respect to the ones required by the reference model. Notice that the significant reduction in the computational resources required by the truss model enables the simulation of large foam domains that are unfeasible with the Full B-rep model (large number of 3D elements would be required) due to hardware or license constraints.

Fig. 22
figure 22

Experimental expenses of resources as per commercial FE code ANSYS accounting. a Number of elements, b number of equations and c memory (MB) allocated by the FE solver as a function of the number of ligaments in foam domain

4.3.2 Tension case study

Figures 23, 24 and 25 show the nodal displacements along Z, X and Y directions, respectively, of the reference and truss models obtained for the tension case study.

Fig. 23
figure 23

Nodal displacements in Z direction of the: a reference and b Truss models. Foam deformation is not noticeable in this drawing

The nodes selected for the estimation of the apparent Young’s Modulus \(E_z\) are the ones with \(c_z \ge 0.8*Z_\mathrm{max}\), where \(c_z\) is the node coordinate in Z and \(Z_\mathrm{max}\) is the maximum coordinate in Z of all nodes of the foam models. The dashed box in Fig. 23b encloses the nodes that comply with the mentioned condition in the truss model. \(E_z\) is computed as per Eq. 1, where F is the total applied force, \(A_{0}\) is the area of the X-Y plane of the foam BB, \(L_{0}\) is the height of the foam BB and \(\varDelta L\) is the change in the height of the foam. \(\varDelta L\) is estimated as the average of the displacements in Z of the previously selected nodes. The results of the estimation of \(E_z\) are presented in Table 4.

$$\begin{aligned} E=\frac{\sigma }{\epsilon }=\frac{F/A_{0}}{\varDelta L/L_{0}} \end{aligned}$$
(1)

The apparent Poisson’s Ratio is computed as per Eq. 2. In this case study, \(\epsilon _{i}=\epsilon _{z}\). \(\epsilon _{j}\) takes values of \(\epsilon _{j}=\epsilon _{x}\) and \(\epsilon _{j}=\epsilon _{y}\), when computing \({V}_{zx}\) and \({V}_{zy}\), respectively.

$$\begin{aligned} {V}_{ij}=-\epsilon _{j}/\epsilon _{i} \end{aligned}$$
(2)

To compute \({V}_{zx}\) and \({V}_{zy}\), a selection of nodes at half height of the foam BB is performed, as indicated by the dashed boxes in Figs. 24 and 25. To estimate \(\varDelta L\) in the j direction, nodes with coordinate in j (\(c_j\)) that comply with \(c_j\le j_{min} + 0.3*L_j \vee c_i \ge j_\mathrm{max} - 0.3*L_j\) are selected. Here, \(j_{min}\) and \(j_\mathrm{max}\) are the minimum and maximum coordinates of the foam BB in j direction and \(L_j\) is the length foam BB in j direction. The height of each selection box is \(20\%\) of the height of the foam BB. Finally, \(\varDelta L=\left| \bar{\varDelta L_1}\right| + \left| \bar{\varDelta L_2}\right|\), where \(\bar{\varDelta L_1}\) and \(\bar{\varDelta L_2}\) are the mean displacements of the nodes enclosed in each selection box. The results of the estimation of \({V}_{zx}\) and \({V}_{zy}\) are presented in Table 4.

Fig. 24
figure 24

Nodal displacements in X direction of the a reference and b Truss models. Foam deformation is not noticeable in this drawing

Fig. 25
figure 25

Nodal displacements in Y direction of the a Reference and b Truss models. Foam deformation is not noticeable in this drawing

Table 4 Result of the estimation of apparent elastic properties in the tension case study

The values of the apparent elastic properties in Table 4 are within the expected range for open-cell foams according with experimental data in [28, 31]. The estimated apparent Young’s Modulus with the truss model is within 89% agreement with the reference model, and the apparent Poisson’s Ratio presents a 98% agreement for the ZX component, and 99% for the ZY component between the truss and reference model. The obtained \(E_z\) of the truss model indicates that this model is less stiff than the reference one.

4.3.3 Shear case study

Figures 26 and 27 show the nodal displacements along X and Y directions, respectively, of the reference and truss models obtained for the two tested loading setups (shear stresses in the X and Y directions). The nodal displacements obtained for both models present similar magnitudes and distributions for all load cases.

The nodes selected for the estimation of the shear moduli \(G_x\) and \(G_y\) are the ones with \(c_z \ge 0.8*Z_\mathrm{max}\), where \(c_z\) is the node coordinate in Z and \(Z_\mathrm{max}\) is the maximum coordinate in Z of the foam BB. The selection boxes enclosing the nodes that comply with the mentioned condition are shown in Figs. 26b and 27b for the truss model.

\(G_x\) and \(G_y\) are computed as per Eq. 3, where \(F_i\) is the total applied force in i direction, \(A_{0}\) is the area of the X-Y plane of the foam BB, \(L_{0}\) is the height of the foam BB, and \(\varDelta i\) is the transverse displacement in i direction. \(\varDelta i\) is estimated as the mean displacement in i direction of the previously selected nodes. The results of the estimation of \(G_x\) and \(G_y\) are presented in Table 5.

$$\begin{aligned} G_i=\frac{F/A_0}{\varDelta i/L_0} \end{aligned}$$
(3)
Fig. 26
figure 26

Transverse nodal displacements in X of the a reference and b Truss models. Foam deformation is not noticeable in this drawing

Fig. 27
figure 27

Transverse nodal in Y of the a reference and b Truss models. Foam deformation is not noticeable in this drawing

Table 5 Result of the estimation of apparent elastic properties in the shear case study

The obtained estimations of the shear modulus in Table 5 are within the range of typical values for open-cell foams in [31]. The estimated \(G_x\) and \(G_y\) of the truss model are in 83 and 86% agreement with respect to the reference model, respectively. Furthermore, the relative error between models is within an admissible range for the comparison between different methods (i.e. [33]).

Notice that since the struts junctions are not meshed, the truss model is not suitable for FE analyses that require a full B-Rep of the foam (e.g. computational fluid dynamics).

5 Conclusion

This article presents a novel computational method to produce a locally accurate geometry simplification of open-cell foams. The presented algorithm addresses foams whose ligaments have cross-sections of approximately circular shape. The foam geometry is approximated with a truss model with struts being truncated cones. This approach keeps the geometry and topology of the specific material sample. In this way, the manufacturing imperfections of the foam sample (e.g. missing ligaments and cells, cell shape irregularity, filled cell faces, etc.) are retained in the truss model. This local accurate simplification of specific material samples is absent in previous works.

The geometrical accuracy of the truss model is assessed in terms of porosity (a popular parameter for porous material characterization) and Hausdorff distance. The porosity and Hausdorff distance results show that the truss model closely approximates the full B-Rep model of the foam.

The performance of the truss model for mechanical simulations is assessed in tension and shear case studies. The estimations of the elastic properties (apparent Young’s modulus, Poisson’s ratio and shear modulus) of the truss model approximate with a maximum error of 16% the ones of a reference model (tetrahedral mesh of the Full B-Rep model). Furthermore, the computational resources (i.e. number of elements and equations, memory required by the FEM solver) demanded by the truss model for FE analyses are less than \(10\%\) of the ones required for the reference model. The truss model enables to simulate domains that are unfeasible with a Full B-rep model due to hardware or license constraints.

The obtained results show the feasibility of the implemented method to produce a simplified geometric model for open-cell porous materials and that the produced model can be used for efficient FEA simulation. Such results encourage to proceed with an extensive validation and extension of the method.

6 Future research opportunities

The methodology presented in this manuscript entails the following future work for interested researchers: (a) assessment of the truss model performance for heat transfer analysis, (b) adaptation of the truss model for computational fluid dynamics analysis, (c) adaptation of the truss model generation method to approximate ligaments with non-circular cross-section, (d) assessment of the performance of the truss model in non-linear mechanics setups, (e) development of alternative approaches to estimate elastic properties (torsion, elongation, etc.) to accommodate the Testing Material Standards, and (f) heuristics for automatic parameter tuning of the simplification method.