1. Introduction and Brief Survey of the State of the Art
Cranioplasty is the surgical repair of damaged cranial bone resulting from congenital defects such as complex craniosynostosis, tumours, traumas caused by previous surgeries, infections, or fractures resulting from vehicular, sports, or everyday accidents [
1]. Its primary goal is to restore the protective function of the neurocranium, and secondarily, to improve craniofacial aesthetics. A cranial implant or prosthesis is the biomedical device used to mend the protective function of the affected portions of the skull [
2].
The ideal material for the creation of cranial implants for cranioplasty should be: radiolucent, resistant to infections and biomechanical processes, malleable to adapt to defects with a complete closure, non-conductive of heat or cold, inexpensive, and easy to apply [
3]. Realistically, there is currently no single material that meets all these requirements and is always applicable, it must be chosen taking into account the patient’s age, the complexity of the defect, the specialist’s judgement and the main reason for performing the cranioplasty [
4].
Currently, the most commonly used materials for the construction of cranial implants are metals, polymers and ceramics. Particularly popular are the titanium alloy Ti6Al4V, and the polymers Polyether-ether-ketone (PEEK) and Polymethylmethacrylate (PMMA). Ti6Al4V is widely used to make customised cranial prosthesis [
5]. However Kim2023 [
6] reported that alloy-based cranial implants can provoke an increase in thermal conduction inside the cranial defect zone, because of their higher density, making them less suitable in cases with direct heat exposure. PEEK, a semi-crystalline polymer that is radiotransparent and chemically inert, offers greater strength, rigidity, and durability compared to other alloplastic materials. It has been used more recently in cranioplasty showing several advantages due to its high strength and toughness and its compatibility with the skull [
7]. Current trends are directed to optimize the process of fabrication using PEEK, as is the case with the study presented by Smith2023 [
8], which presents a series of configurations for improving the robustness and aesthetics, over other conventional approaches.
It has been also reported that compared to titanium alloys, PEEK implants presents lower rates of complications and failures [
9]. One of the main disadvantages of using PEEK lies in its high cost of acquisition and manufacturing [
10,
11]. This has led to the use of PMMA as a cheaper alternative, given that the material cost is significantly less expensive and the process of manufacture much easier [
12]. PMMA has less durability, strength and biocompatibility when compared to PEEK [
13]. On the other hand, Moncayo2023 [
14] compared the mechanical response of cranial implants fabricated with both PEEK and PMMA, and showing that there were no noticeable discrepancies between personalised implants made from PMMA and PEEK, concerning the mechanical response under a load of 8 kN, while the Von Misses stress distribution performs significantly different for both materials, with PEEK implants presenting better results. Furthermore, PMMA implants exhibits higher infection and complications rate compared to PEEK ones [
9]. As currently stands, PEEK is closer to being the gold standard material for the construction of personalised cranial implants.
When designing a customised cranial implant adjusted to the specifics requirements of the patients, computer aided design (CAD) techniques and methodologies give optimal results [
15]. Common approaches consist in using commercial software such as Mimics, Magics and SolidWorks, with highly specialised features for the task, or employing classic design procedures such as the mirroring technique. While yielding particularly good results, these methods are usually time-consuming and require highly skilled operators, which represents a real disadvantage still to overcome [
16]. Directed efforts towards automation have been made. In [
17], the authors propose an automated design methodology for the construction of a customised cranial implant using image processing and open-source python libraries to obtain the implant in stereolithographic (STL) format from DICOM image data. Pimentel and co-authors introduce an automated approach for reconstructing damaged regions in the skull using a 3D statistical shape model and a 2D generative adversarial network trained unsupervised on healthy data [
18]. With the rise and popularity of artificial intelligence, further advances are expected in this field [
19,
20,
21].
Studies about optimisation and design considerations have also flourished, with focus on enhancing the mechanical features of the prosthesis and the aesthetics of the repaired skull [
8,
22,
23]. Research by [
24] explores extensively the optimal configurations for fixation mechanisms and the adequate separation between these points, suggesting four to five fixations, independently to size of the defect, with symmetrical orientation of the fixation screws where feasible. Another important line of development is to redesign implants based on natural analogies. Works such as [
25] presented two implant variants for the studied case, based on dissimilar scaffold architecture that showed mechanical response adequate for implantation. Sharma2021 [
26] They propose a workflow to design a cranial prosthesis that moulds to the specific characteristics of the patient, with a macrostructure of interconnected struts that mimics trabecular bone based on the Voronoi diagram, resulting in a lightweight titanium prosthesis with a good fit to the skull. Sivakumar2023 [
27] suggest a biomimetic cranial prosthesis made of PMMA and optimised by incorporating a square-type porous lattice structure, considered a suitable for the development of cranial implants reducing the weight without compromising quality. Lattice structures are a type of architectural framework composed of repeating units or cells, typically arranged in a periodic or non-periodic pattern, characterised by their lightweight and high strength-to-weight ratios [
28]. Furthermore, they can replicate the porous nature of natural bone, which is crucial for facilitating cell attachment, proliferation, and differentiation [
29]. It could be considered that further developments can be achieved following this line of research.
Among lattice architectures, the so-called Triply Periodic Minimal Surfaces (TPMS) are intricate structures widely utilised within scaffold design to ensure optimal porosity and interconnectivity [
30]. These surfaces, known for their topological complexity, have attracted considerable attention due to their ability to be entirely defined through mathematical expressions. This mathematical foundation enables precise control over design parameters such as porosity and unit cell size, essential for adapting the scaffold properties to the desired medical applications [
31,
32]. TPMS exhibit exceptionally smooth surfaces devoid of sharp edges or peaks, facilitating fluid flow without causing abrasion or fluid build-up. Moreover, their high degree of interconnectivity enhances their effectiveness as supportive frameworks in tissue engineering and medical implants, highlighting their versatility and importance in modern biomedical research and practice [
33].
Additionally, gyroid TPMS have emerged as highly promising architectures for bone tissue engineering because of their unique structural characteristics like surface area and interconnected porosity [
34]. When compared against other popular TPMS based structures such as the Diamond and Primitive, gyroid based scaffolds showed the better compromise between higher bone ingrowth and bone-to-implant contact in vivo, and mechanical strength, as shown by [
32]. Numerous researches have also been conducting exploring the design parameters and its influences on mechanical properties of gyroid based scaffolds [
35,
36,
37].
Surface area directly influences several key aspects of bone regeneration, being a key property in porous scaffold architectures. A larger surface area enhances cell attachment and proliferation by providing more sites for cell adhesion, which is vital for the initial stages of bone formation [
38]. It also enhances protein adsorption, nutrient and waste exchange [
39] and enables better mechanical interlocking with native bone tissue, enhancing the scaffold’s stability and integration [
40]. The surface topography of a scaffold can influence stem cell differentiation into osteoblasts, with a larger surface area promoting osteogenic differentiation [
41]. Highly porous structures, often associated with high surface areas, provide pathways for vascularisation and bone ingrowth [
42].
Another critical property of porous scaffolds for bone applications is their permeability, which quantitatively measures a porous medium’s ability to allow fluid flow [
43]. Permeability is affected by porosity, pore size, orientation, tortuosity, and interconnectivity [
44,
45,
46]. It is essential for describing tissue growth and the diffusion of nutrients and oxygen through scaffold pores. While highly dependent on the type of bone, generally high permeability values provide more desirable conditions for in vivo bone formation, while inadequate values can lead to the formation of cartilaginous tissue instead of bone [
47].
Numerical simulations, including methods such as Finite Element Method (FEM) and Computational Fluid Dynamics (CFD), are critical tools in evaluating and optimizing the properties of scaffolds for bone regeneration. FEM allows researchers to model the mechanical behaviour of scaffolds under various loading conditions, providing insights into stress distribution, deformation, and potential failure points, which are essential for ensuring that the scaffold can withstand physiological loads while promoting proper load transfer to the regenerating bone [
48]. FEM is also widely used to predict the mechanical response of the cranial implant [
14,
49]. CFD, enables the analysis of fluid flow within the scaffold’s porous structure, to assess the permeability of the medium [
50].
This study focuses on the optimisation of design of TMPS scaffolds for cranial implants, using computer simulation techniques for modelling the relationship between decision variables (TMPS structure parameters) and optimisation objectives (surface area and permeability) and constraints (porosity and elasticity). The optimal scaffold configuration was used to construct, then, a customised cranial implant prototype.
2. Materials and Methods
2.1. Experimental Design
The design method used for creating the samples was the parametric modelling, given that, of all the existing methodologies to construct TPMS-based structures, this one allows for greater control over the scaffold properties. These parametric equations are obtained from nodal approximations to the Fourier series expansion of minimal surfaces [
51]. The following expression shows the modified gyroid equation used for our experimental setup:
where
c represents the isovalue, a constant for defining and manipulating specific shape and characteristics of TPMS structures. When
, the obtained structure is divided into regions of equal volumes. As the value of
c increases or decreases, the thickness of the structure changes, therefore being an important parameter for the control of the porosity of the scaffolds [
52].
On the other hand, gives the size of the unit cell and was a size factor, introduced for changing the ratio of the cell size on the z-axis with respect to the other two axes.
Based on this equation, its three parameters (i.e., the isovalue,
c; the cell size,
; and the size factor,
) were chosen as decision variables of the considered optimisation. In order to carry out the simulations required for modelling how the scaffold properties depend on these variables, the following experimental levels were considered for each of them (see
Table 1).
A Box-Behnken experimental design was used for defining the level of each variable, for the simulations. The Box-Bahnken was chosen as it is particularly efficient because it requires fewer experiments than other alternatives (like the full factorial design). Box-Bahnken also avoids extreme conditions, focusing instead on a more central, balanced experimental region.
Table 2 shows the values of the decision variables at each of the 15 experimental points.
The 15 experimental samples were constructed using an in-house MATLAB script and converted to STL format with the STLWRITE function.
Figure 1 shows some of the obtained models when changing the magnitude of the decision variables.
2.2. Computing the Porosity
One of the studied scaffold properties is the porosity, which plays an important role when designing cranial implants, because it facilitates bone ingrowth and the formation of new tissues within the scaffold structure. Porosity, also, ensures that the scaffold does not act as a barrier to the infiltration of cells and growth factors, which are crucial for the successful integration of the implant with the host tissue.
In this study, the porosity,
P, was computed from the previously obtained geometrical models of the scaffolds, through the expression:
where
is the volume of the solid TPMS structure and
is the total volume of the prism (i.e., solid volume plus void volume). Both volumes were obtained by using the CAD software Meshmixer v3.5, through its stability analysis tool.
2.3. Computing the Surface Area
The surface area, A, is another important property of the scaffolds used for cranial implants, because it is beneficial for enhancing cell attachment and proliferation. This property provides more sites for osseous cells to attach to, promoting osteointegration and accelerating the healing process, ensuring the stability and functionality of the implant.
The surface area of each scaffold specimen was also determined from its 3d geometric model, by using the stability analysis tool of Meshmixer v3.5.
2.4. Computing the Young Modulus
The elasticity also plays a key role in cranial implants due to the need of ensuring the scaffold mimics the mechanical properties of natural bone. This compatibility minimizes stress shielding and promotes the integration and longevity of the implant within the cranial structure.
For computing the elasticity (Young) modulus, a Finite Element-based simulation was executed. For this purpose, the STL files were transformed into solid models, using FreeCAD v20.2. To carry out the analysis, two plates were modelled at both ends (top and bottom). With this configuration, they were exported in STEP format and imported into the static structural analysis module of ANSYS 2022R1.
The same boundary conditions were applied for all finite element models, as shown in
Figure 2. The plates were scoped as rigid bodies, while the TPMS structure was defined as flexible. A force of 100 N was applied on the upper plate downward (i.e., in the negative direction of the
z-axis), while the lower plate was constrained to keep it fixed. Frictional contact connections between the plates and the samples were established with a friction coefficient of 0.1. This value was selected because it corresponds to the range reported for the coefficient of friction of PEEK under lubrication, which is done to decrease the effect of the forces in the transverse direction [
53,
54,
55]. The scaffolds were meshed with tetrahedral elements with a minimum element size of 0.2 mm, while the two plates were meshed with hexahedral elements.
The scaffolds were assigned PEEK as material. As discussed previously, selecting PEEK for a 3D printed cranial implant is ideal due to its biocompatibility and bone-like mechanical properties, ensuring safe and durable integration. The radiolucency of PEEK allows for clear postoperative monitoring without interference in medical imaging. In addition, 3D printing with PEEK enables the creation of customised implants with high precision and detail, perfectly fitting the patient’s anatomy, while fast and economical production optimises time and costs, ensuring an effective and efficient solution for cranial reconstruction [
8,
56]. The parameters for the material selected are shown in
Table 3, which are based on VICTREX PEEK 151G grade filament.
With the height deformation,
, obtained after the finite element simulation, the Young modulus is computed by using the equation:
where
F is applied force (
, in this study), and
V is the volume of the scaffold specimen, equal to the product of its dimensions: length,
L; width,
B; and height,
H:
2.5. Computing the Permeability
Another important property of the scaffolds is the permeability, which facilitates the transport of nutrients and waste, supporting cell growth and tissue regeneration. High permeability ensures effective vascularisation, which is critical for healing and integrating the implant with surrounding biological tissues.
For the calculation of permeability, a laminar model of computational fluid dynamics (CFD) was designed and solved using the ANSYS Fluent module. The value of residual sensitivity criterion was set at
for an easier convergence. Water was chosen as the fluid for the analysis, with density,
, and dynamic viscosity,
. The proposed model corresponds to an incompressible fluid with constant density and viscosity, and steady flow that obeys the Navier-Stokes equations:
where
is the fluid density,
is the fluid velocity,
t is the time,
is the dynamic viscosity,
p is the pressure and
represents the action of external forces (in this study,
). It should be remarked that this approach is appropriate to mimic the general behaviour of human body fluids [
57].
For each design, the fluid domain was obtained by subtracting the 3D scaffold structure from a rectangular prism. A virtual volume was modelled at the top to extend the inlet; previous studies have shown how this helps to improve convergence and allows the fluid to fully develop [
58,
59]. Velocity at the inlet was set as
, while the pressure at the outlet was assumed to be
. No slip boundary condition was applied to the walls [
60].
Figure 3 shows the final setup.
Given the height of the scaffold, H, the pressure drop, , required to determine the permeability was calculated by subtracting the pressure at the top plane of the scaffold from the pressure at the outlet. In order to simplify the simulation and the necessary computational requirements, the entire domain of the model was set as the fluid domain. All models were meshed with tetrahedral 0.2 mm-sized elements.
With the values of volumetric flow,
Q; and pressure drop,
, obtained from the CFD analysis, Darcy’s Law equation was used for the permeability calculation [
61]:
where
H is the height of the scaffold and
A is its cross-section area.
2.6. Modelling
For modelling the relationship between the decision variables (i.e., cell size, isovalue and size factor) and the scaffold properties (i.e., porosity, surface area, Young modulus and permeability), linear regression models were fitted. When proper, some transformations, such as logarithms or linear combinations, were applied to the decision variables.
For all the obtained models, the goodness of fit was evaluated by computing the corresponding coefficient of determination. However, it cannot be assumed that a regression showing a high value of the coefficient of determination is implicitly a reliable model. Issues, such as the distribution of the residuals, the statistical significance of the relationship between the variables and the statistical significance of the model coefficients, should be addresses to ensure the quality and usefulness of the models.
2.7. Optimisation
After the regression models were fitted, a multi-objetive optimisation was carried out for obtaining the best scaffold designs. As it was previously stated, the decision variables were the TPMS parameters: cell size,
; isovalue,
c; and size factor,
. All of them should be constrained to their respective experimental intervals:
The more relevant properties for the cranial implants were selected as optimisation targets. Maximising the surface area:
was selected as the first objective, in order to enhance the cell attachment and proliferation. The second objective selected was the maximisation of permeability:
for ensuring effective vascularisation.
In addition to the objectives, constraints were considered in the optimisation problem. Firstly, it was established that the porosity had to be in the interval from 60 to 80%:
to ensure bone formation and integration with the scaffold. This is because these conditions allow for better vascularisation and nutrient supply to the cells involved in bone regeneration [
52]. Scaffolds with this range of porosity facilitate bone ingrowth. This is critical for the long-term success of cranial implants, ensuring they remain integrated with the host bone and maintain their structural integrity over time [
62].
On the other hand, the Young modulus of the scaffold had to be in the range of the replaced bone, i.e., from 0.5 to 5.0 GPa:
In order to homogenise the values of the constraints, Equations (
13) and (
14) were rewritten as follows:
The total amount of unfeasibility,
, is then computed by the expression:
As both optimisation objective are conflictive (i.e., improving one of them worsens the other one.), an a posteriori approach was used, where the non-dominated solutions, which form the so-called Pareto front, are obtained and, then, the most convenient solution is chosen, depending on the user’s preferences.
The Non-Dominated Sorting Genetic Algorithm II (NSGA-II) [
63] was chosen as optimisation technique, due to its efficiency in multi-objective optimisation, offering a blend of non-dominated sorting techniques, crowding distance techniques for diversity preservation, and elitist techniques to maintain high-quality solutions across generations. It achieves fast convergence to Pareto-optimal solutions, making it suitable for a wide range of problems.
Table 4 shows the NSGA-II parameters that were set for solving the addressed problem.
4. Discussion
The first issue to be remarked when discussing the obtained results is that all the points shown in
Figure 7 corresponds to solutions which are optimal in the wide sense that no other solution, in the feasible search space, can improve one of the objective without worsening the other one. Consequently, any of these points can be used for designing the optimal scaffold structure for a cranial implant. The finally chosen solution should depend on which goal (or goal combination) will be preferred by the decision-maker.
Under this point of view, there are three specially interesting points (see
Table 6): point A represents the best permeability values and (as they are contradictory) the worst surface area. It should be chosen if enhancing cell attachment and proliferation is the prioritised criterion. On the contrary, if facilitating the transport of nutrients and wastes, and ensuring effective vascularisation is the most important goal, point D should be chosen, as it gives the higher value of permeability. Finally, any other point (including B and C) can be considered as trade-off solutions, that can be chosen if both goals are to be considered together. Values of decision variables, objectives and constraints for the four points discussed are shown in
Table 6.
As an example, it was designed a cranial implant for the skull defect shown in
Figure 8a. The optimized custom cranial implant was designed using the optimal parameters corresponding to point B: unit cell size,
; isovalue,
; and shape factor,
. Point B was selected as it is the most balanced option for the cranial implant design due to its combination of high permeability, adequate surface area, and favourable porosity, which promotes better biological integration and mechanical stability.
The optimised custom cranial implant was designed in Ntopology v4.20.2 software using a custom infill volume box, unit cell adjustments and thickness were selected according to the optimal scaffold settings.
Figure 8b shows the final results for the designed prosthesis and
Figure 8c, the location of the implant, showing the fitting to the skull.
An implant prototype was finally additively manufactured (see
Figure 9) for validating the technological feasibility of the processes. However, the practical introduction of these results still requires in vitro and in vivo testing, as regulated by the medical certification agencies, which will be the continuation of this work. In this context, an important aspect to be addressed in the future is the long-term behaviour of the structure, taking into account its integration with the bone tissue [
68,
69].
5. Conclusions
The main outcome of the work is the methodology to optimise the design of cranial implants based on TPMS scaffolds. These approach considers two optimisation targets: the surface area and the permeability. Both are key issues in cranial implants, as the first one promotes the cellular adhesion and the mechanical stability of the implant, while the second one enhances the cellular adhesion and bone growth. Nevertheless, they are conflictive and cannot be simultaneously optimised.
The proposed a posteriori approach, where a set of non-dominated solutions (also known as Pareto front) are obtained through the NSGA-II, showed to be effective, as it offers a set of solutions that can be considered optimal as they are those for which no other solution can be found, in the feasible search space, that simultaneously improve both objectives. It can be remarked that the proposed optimisation approach guaranties the fulfilment of the considered constraints: the elasticity, which minimises stress shielding, and porosity, which promotes the formation of new bone tissue within the implant structure.
The presented case study allowed not only to demonstrate the presented approach but also its validation through the design of an implant for a given case.
As future development of this work, firstly, the practical validation of the results obtained can be considered, based on experimental measurements of stiffness, porosity, permeability and surface area, in order to verify the accuracy of the simulations carried out. The inclusion of manufacturing parameters as decision variables can also be considered, in order to study their influence on the variables studied and, consequently, on the results of the optimisation process.