Introduction

Perovskites are demonstrating exceptional performance due to their numerous optoelectronic properties1,2,3,4,5,6,7,8,9, making them suitable for various optoelectronic applications, including solar cells10,11,12,13,14,15,16,17,18, photodetectors19, light-emitting diodes (LEDs)19, lasers20, memristors21, and artificial synapse devices22. Their properties can vary widely, ranging from metallic to semiconducting to conductive23, depending on the composition of the different materials used24,25. Perovskites are often referred to as the ‘department store of physical properties’ due to their photocatalytic26, dielectric27, ferroelectric28, pyroelectric29, piezoelectric30, magnetic31, superconductivity32, and ionic conductivity33. Perovskites often have the formula “ABX3”, in which “X” is an anion, usually oxygen or a halogen, and “A” and “B” are cations. Making sure that neither the A-site nor the B-site cations contain lead results in the formation of lead-free perovskites. Lead (Pb²⁺) is instead replaced with alternative cations including Sn²⁺, Ge²⁺, Mg²⁺, etc. Lead-free metal halide perovskites are increasingly used in various devices due to their non-toxicity, supporting the green technology revolution34,35,36. These materials also possess outstanding photoelectronic and thermoelectric properties, including a high dielectric constant, a low exciton binding energy, and a high absorption coefficient. These properties allow for efficient electron-hole pair photogeneration, which makes them suitable for using as absorber materials in solar cells as well as thermoelectric applications1,2,3,4,5,37,38,39,40. Over the past years, lead-free perovskite-based solar cells have demonstrated greater than 20% efficiency both experimentally and in theoretical studies41,42. Under light exposure, halide perovskites exhibit effective flexoelectric coefficients that are too much higher than typical dielectric materials43. Flexoelectricity involves generating energy through non-uniform deformations of dielectric materials, regardless of their symmetry. Additionally, the use of piezoelectric materials in a wide range of electronic devices is expanding the piezoelectric device market globally on a daily basis. Thus, it is imperative to employ more lead-free perovskites rather than lead perovskites in order to address environmental and health issues. Lead-free perovskites are also increasingly finding applications in energy storage systems including Li-ion and photo rechargeable batteries. Employing lightweight materials for energy conversion and storage renders them exceptionally well-suited for integration into electric vehicles and portable electronic devices44.

Numerous techniques including applying pressure45,46 and adding dopants47,48 can alter the physical properties of materials, rendering them suitable for various optoelectronic devices36,49. To increase photocurrent density, Sr is introduced into CsPbBr3 perovskite, as reported by Arindam et al.50. Linh et al. reported that (Bi0.5M0.5)TiO3’s direct band gap increased when larger ionic radius alkali metals (Li, Na, and K) were substituted51. S Kurra et al. reported enhanced photocatalytic activities of Na0.5Bi0.5TiO3 perovskite when it is doped with metal ions (Ag+, Cu2+, and Sn2+). Moreover, in a prior investigation, it was illustrated that the application of hydrostatic pressure leads to a reduction in the bandgap, shifting from the ultraviolet to the visible spectrum. This manipulation also facilitates a transition from an indirect to a direct bandgap, thereby augmenting the material’s viability for optoelectronic applications52. M. Aslam et al. also reported a decrease in bandgap and enhanced optoelectronic properties of CdZrO3 perovskite under various hydrostatic pressure conditions in their study53. Various alkaline earth metal perovskites are increasingly being considered for photovoltaic applications due to their suitable bandgaps and higher absorption coefficients54,55. Recent investigations using first-principles DFT calculations have highlighted the potential of alkaline metal-based halide perovskites, such as LiMgCl3 and LiBeCl3, for applications in energy storage devices, scintillating materials, and various modern technologies56. In a previous study, ‘Be’ and ‘Mg’ have a significant impact on the structural, elastic, and optoelectronic characteristics of ternary LiMCl3 (R = Mg and Be) perovskites. The bandgap energy of these materials indicates their insulating nature, which is a limit to employ these materials in optoelectronic devices that need comparatively narrow bandgaps for easier transition of electrons. As pressure has been widely studied for its ability to modify the physical properties of various materials, there remains a lack of theoretical or experimental investigations into the effects of pressure on the cubic phase of LiMgCl3 and LiBeCl3. Therefore, we applied hydrostatic pressure to observe the changes in their physical properties and evaluate their potential viability for optoelectronic applications.

The Generalized Gradient Approximation (GGA) and the Perdew-Burke-Ernzerhof (PBE) exchange-correlation functional have been employed within the CASTEP for this calculation. Mechanical properties are analyzed to assess the stability of the investigated materials. Band structure, total density of states (TDOS), and partial density of states (PDOS) have been calculated across a pressure range of 0 to 100 GPa. Additionally, optical properties such as reflectivity, refractive index, absorption coefficient, and dielectric functions have been evaluated to explore their potential applications in optoelectronic devices. The selection of this pressure range may have been motivated by the goal of achieving better optoelectronic properties compared to ambient pressure, specifically to enhance absorption in both the visible and UV photon energy ranges, with a primary focus on the UV region. This is especially relevant for multilayer solar cells, such as tandem solar cells, where enhanced absorption in the UV region can improve the performance of solar cell devices. Additionally, reducing the bandgap facilitates a smoother transition of electrons from the valence band to the conduction band, which benefits optoelectronic devices. Given these considerations, our study demonstrates that these outcomes are achievable within a pressure range up to 100 GPa, and therefore, further investigation beyond this pressure condition was not pursued.

Computational details

In this study, First-principles calculations based on Density Functional Theory (DFT)57, are implemented through the Cambridge Serial Total Energy Package (CASTEP) code58,59. The interactions between ions and electrons are described using ultrasoft pseudopotentials in conjunction with the GGA-PBE exchange-correlation functional60,61. For geometry optimization, the Broyden–Fletcher–Goldfarb–Shanno (BFGS) technique has been employed62, while electronic structure calculations are conducted using density mixing. Geometry optimization involves relaxing the unit cell structures while computational physical parameters are determined under conditions of zero applied pressure and a temperature of 0 K. The plane wave cut-off energy has been set as 550 eV where For Brillouin zone sampling, the Monkhorst-Pack method62 is employed with a 5 × 5 × 5 k-point mesh. This ensures sufficient convergence of both the overall energy and the geometrical configuration. The convergence criteria are defined by the following parameters: a maximum ionic Hellmann-Feynman force of 0.01 eV/Å, a maximum displacement of 5 × 10⁻⁴ Å, a maximum stress of 0.02 GPa, and a total energy difference within 5 × 10⁻⁶ eV per atom. For visualizing the optimized structures, VESTA software has been used in this study63. The “finite-strain” approach included in the CASTEP code is used to obtain the elastic constants64. The ELATE program65 is then utilized to generate three-dimensional mechanical anisotropic contour plots for various key mechanical parameters, such as Young’s modulus (E), shear modulus (G), and Poisson’s ratio (ν).

Results and discussion

Structural properties

The cubic perovskite-type structure of lead-free halide LiMCl3 (M = Mg, Be) crystallizes with the space group Pm3̅m (#221). Fig. 1 illustrates that each unit cell of cubic LiMCl3 (M = Mg, Be) perovskites contains five atoms: Li occupies the corner position with the Wyckoff position 1a (0,0,0), Mg (Be) located at the body-centered position 1b (0.5, 0.5, 0.5), and Cl atoms are positioned at the face-centered positions with the Wyckoff position 3c (0, 0.5, 0.5). This study analyzes the pressure-induced structural properties of LiMCl3 compounds through geometry optimization under various hydrostatic pressures. At ambient pressure, the lattice parameters for LiMgCl3 and LiBeCl3 compounds have been calculated as 4.96 Å and 4.56 Å, respectively. These values closely align with previously reported data57, validating the accuracy of this study using the GGA-PBE approximation. The Murnaghan state equation has been employed to determine these lattice parameters, ensuring that the total energy of the investigated structures is minimized during the process. As the pressure increases from 0 GPa to 100 GPa with a 20 GPa step, the lattice parameters and unit cell volume of both compounds change. Detailed lattice parameters and cell volume of LiMCl3 compounds under varying pressures are listed in Table 1. Figs. 2(a) and (b) illustrate the decrease in lattice parameters and unit cell volume of both investigated compounds with increasing hydrostatic pressure, indicating a reduction in interatomic distances, respectively. This pressure-induced reduction in lattice parameters and unit cell volume has also been observed in previous studies55,66,67. The bond lengths of Li-Li, Li-Cl, Li-Mg (Be), and Mg (Be)-Cl decrease with increasing hydrostatic pressure, as shown in Figs. 2(c) and (d). Under increasing hydrostatic pressures, the repulsive forces between atoms become stronger, leading to an increase in the hardness of LiMCl3 (M = Mg, Be) perovskites. Under higher hydrostatic pressure, the interatomic spacing decreases, reducing the bond length and subsequently narrowing the energy gap between the valence band maximum (VBM) and conduction band minimum (CBM)68,69. The conduction band, which is more sensitive to changes in bond length than the valence band, shifts to lower energies at a faster rate, resulting in a noticeable bandgap decrease in LiMCl3 compounds. Due to the reduction in bond length, the repulsive interactions between atoms strengthen, increasing the resistance to compression under higher pressure conditions. Therefore, the relationship between bond length and hardness is inversely proportional; longer bonds result in weaker atomic attraction, while shorter bonds indicate stronger interactions. As this study shows the decreasing nature of bond length, which in turn leads to an increase in hardness, supported by the hardness values of this work. Similar effects have also been observed in previous studies70. Moreover, with the decrease in bond length, Poisson’s ratio of LiMCl3 increases, which also aligns with previously reported literature71,72. For experimental analysis, understanding the stability of the investigated LiMCl3 compounds is essential. As LiMCl3 are ABX3 type perovskite, we calculated both the Goldschmidt tolerance factor (t) and the octahedral factor (\(\:\mu\:\)) by the following formulas where X denotes the ionic radius of Cl, RB denotes the ionic radius of Mg and Be, and RA denotes the ionic radius of Li.

$$\:t=\frac{{R}_{A}+{R}_{X}}{\sqrt{2}\left({R}_{B}+{R}_{X}\right)}$$
(1)
$$\:\mu\:=\frac{{R}_{B}}{{R}_{X}}$$
(2)

Stability in a cubic structure requires the tolerance factor to fall within the range of 0.81 to 1.00, while the octahedral factor should be between 0.37 and 0.859. Our calculations confirm that both materials meet these criteria, ensuring their structural stability under ambient pressure. According to earlier research, the tolerance factor (t) can also be computed using the following alternate techniques, which use the bond lengths of Li-Cl, M (Mg, Be)-Cl.

$$\:\text{t}\:=\:\frac{0.707<Li-Cl>}{<M-Cl>}$$
(3)

According to earlier research, the structure is stable if the t value falls between 0.93 and 1.0245; Table 2 shows that our compounds under various hydrostatic pressures fall within this range.

Fig. 1
figure 1

Crystal structure of cubic (a) LiMgCl3 and (b) LiBeCl3.

Table 1 Lattice constants and unit cell volume of LiMCl3 under pressures.
Fig. 2
figure 2

Pressure-induced variation of (a) lattice parameters, (b) unit cell volume of LiMCl3, and variation on bond length of (c) LiMgCl3 and (d) LiBeCl3.

Table 2 Goldschmidt tolerance factor (t) of LiMCl3 (M = mg, be) under hydrostatic pressures.

Phonon dispersion

The interaction between phonons’ momentum and energy in a crystal lattice is known as phonon dispersion. Quantized lattice vibration is known as phonons and their dispersion offers vital insights into the thermal behavior and vibrational characteristics associated with numerous materials73. Using a phonon dispersion curve, one can observe several bands that correspond to different frequencies of the crystal structure. In this study, phonon calculation has been employed to observe the stability of the investigated compounds under different pressure circumstances. It is evident that both materials with ambient pressure and higher hydrostatic pressure conditions vibrate in the positive mode, as can be seen from the computed phonon spectra in Fig. 3. The crystal lattice’s phonon dispersion curve displays positive frequencies that correspond to significant and physically acceptable vibrational modes that can be employed in optoelectronic devices.

Fig. 3
figure 3

Phonon dispersion of LiMCl3 (M = Mg, Be) compounds for 0 GPa and 100 GPa pressure conditions.

Electronic properties

The energy bands are a representation of the different energy levels that electrons can potentially occupy. Understanding the electronic band structure and Density of states (DOS) of a material is crucial for assessing the electronic behavior of a material. Band structure offers insights into the diverse energy levels and electronic states that consist in a material, while DOS elucidates the distribution of these energy states relative to energy. The electronic band structures of LiMCl3 along the high-symmetry points “X-R- M- G- R” in the first Brillion zone at various hydrostatic pressure ranges, from 0 to 100 GPa pressure with 20 GPa interval, are shown in Figs. 4 and 5. The energy range of the band structures spans from − 5 eV to + 8 eV, with the Fermi energy level positioned at 0 eV, marked by a black dotted line. The portion of the energy band situated above the Fermi level is known as the conduction band, while the segment below the Fermi level is termed the valence band. In this investigation, the GGA-PBE & HSE06 approximation has been considered to calculate the bandgap of the investigated compounds (Table 3). While some studies express concerns about the accuracy of GGA functional for bandgap calculations, it’s noteworthy that GGA functional don’t consistently underestimate the bandgap, as evidenced by several studies74,75. Under non-pressurized conditions, both LiMgCl3 and LiBeCl3 compounds exhibit CBM at G symmetry points and VBM at R symmetry points, resulting in an indirect bandgap of 4 eV for LiMgCl3 and 2.3 eV for LiBeCl3. The calculated bandgaps of these compounds closely align with other theoretical calculations, validating the accuracy of the GGA-PBE functional utilized in this study56. However, no experimental studies have been conducted on these materials to date. When hydrostatic pressure is applied, the CBM of LiMgCl3 compounds shifts towards lower energy levels along the G symmetry point. This shifting of energy band results in a decrease in bandgaps, providing significant insights into the inverse connection between bandgap and pressure, as supported by Fig. 4. This decrease in band gap can be attributed to a myriad of factors influenced by pressure, including alterations in bond angles, atomic configuration, and interatomic distance. Moreover, increased pressure also amplifies the potential between electrons and ions, leading to a reduction in lattice parameters and contribute to bandgap reduction. The transition from an indirect to a direct bandgap can be attributed to several factors, primarily the reduction in atomic distances within the crystal under higher pressure, which enhances orbital overlap between adjacent atoms. This increased overlap alters the electronic band structure, leading to changes in the energy levels of the conduction band minimum (CBM) and valence band maximum (VBM). In the LiMCl3 compounds, the CBM and VBM are initially located at different k-points, indicating a momentum mismatch. At higher hydrostatic pressure LiBeCl3 also shows the indirect bandgap with reduced bandgap energy. A significant reduction of energy gap is observed in this compound as depicted in Fig. 5, where its band gap experiences a notable decrease from 2.4 eV at 0 GPa to only 0.096 eV under 100 GPa pressure. This leads to speculation that over 100 GPa pressure may drive the compound toward a metallic state. This process reduces the distance between atoms in the LiBeCl3 compound resulting in a narrow band gap. By making it simpler to transfer electrons from VB to the CB, this shift in the band gap may increase the effectiveness of optoelectronic devices as reported by previous studies76,77,78. However, in indirect bandgap materials such as LiBeCl3, electron transitions require both photon absorption for energy transfer and phonon interaction to provide the necessary momentum change. LiMgCl3 also demonstrates a reduction in band gap under pressure, with a notable decrease from 4 eV to 2.563 eV at 100 GPa pressure (Table 3). However, based on the HSE06 calculation, the bandgap of LiMgCl₃ decreases from indirect 4.12 eV to direct 2.61 eV, while that of LiBeCl₃ decreases from indirect 3.71 eV to indirect 1.32 eV. Indirect bandgap materials are important in many devices, but direct bandgap materials are typically chosen for optoelectronic applications because of their effective light emission and absorption capabilities. Si-based devices also remain essential in infrared photodetectors, as highlighted by previous studies79,80. When exposed to a propagating far-field light source, silicon (Si), a commonly used indirect bandgap material, requires phonon assistance to excite carriers during photoexcitation which results in a decreased excitation efficiency. In order to overcome this constraint, scientists frequently use plasmonic resonance to increase the light field’s intensity80. Additionally, indirect bandgap semiconductors have demonstrated exceptional performance in thermoelectric applications, where energy conversion efficiency is maximized by an ideal bandgap that is usually a particular multiple of the operating temperature81.

Fig. 4
figure 4

Band structures of LiMgCl3 under different hydrostatic pressure with GGA-PBE exchange-correlation functional.

Fig. 5
figure 5

Band structures of LiBeCl3 under different hydrostatic pressures with GGA-PBE exchange-correlation functional.

Table 3 Bandgap energy (Eg) of LiMgCl3 and LiBeCl3 compounds under pressures.

To delve into the electronic band structure in-depth, total density of states (TDOS) and partial density of states (PDOS) is used to elucidate the contribution of different states to the formation of conduction and valance bands. The TDOS is the sum of all the states of each atom, and PDOS is the sum of all the contributions of each sub-state to the TDOS. Fig. 6 illustrates the TDOS of LiMCl3 compounds across an energy range from − 8 eV to + 10 eV under varying hydrostatic pressures. As pressure increases, notable variations in the TDOS become apparent which can be further elucidated by analyzing the PDOS as depicted in Figs. 7 and 8. For both LiMgCl3 and LiBeCl3 compounds, the TDOS below the fermi level known as valance band mostly originated from the Cl-3p state with a tiny contribution from the Mg-2p (Be-2p) state. TDOS above the Fermi level, known as the conduction band, is predominantly dominated by the Li-2s state, which plays a crucial role in bandgap reduction in high-pressure circumstances, comparable to the influence of Mg-2p (Be-2p) and Mg-2s (Be-2s) states. The hybridization of Li-2s and Mg-2s (Be-2s) also contributes to the reduction in bandgap. It’s noteworthy that the non-zero value of DOS at 0 eV underscores the metallic nature of LiMgCl3 at high pressure (100 GPa). In contrast, for LiBeCl3, a more pronounced metallic behavior has been observed at higher pressures (40–100 GPa) circumstances.

Fig. 6
figure 6

The total density of states (TDOS) of (a) LiMgCl3 and (b) LiBeCl3 compounds under hydrostatic pressures (0-100 GPa).

Fig. 7
figure 7

The partial density of states (PDOS) of LiMgCl3 under pressures (0-100 GPa).

Fig. 8
figure 8

The partial density of states (PDOS) of LiBeCl3 under pressures (0-100 GPa).

Optical properties

The response of a material to electromagnetic radiation is crucial for assessing its potential in various industrial applications. This response is characterized by several energy/frequency-dependent parameters such as dielectric constant, absorption spectra, refractive index, reflectivity, and conductivity. To gain a comprehensive understanding, this section investigates the optical properties of LiMgCl3 and LiBeCl3 at different hydrostatic pressures (0-100 GPa) across an energy range of 0 eV to 30 eV.

The dielectric function ε(ω), which signifies a material’s linear response to an external electromagnetic field, offers valuable insights into its optical properties. The relationship between optical properties and the dielectric function, arising from light’s impact as it travels through materials, is mathematically expressed as ε(ω) = ε1(ω) + ε2(ω), with ε1(ω) and ε2(ω) representing the real and imaginary part of the dielectric function, respectively82.

In this study, the dielectric function ε(ω) of LiMCl3 (M = Mg, Be) is illustrated in Fig. 9. The real component of the dielectric function (RDF) serves as an efficient parameter, offering crucial information about the charge carrier recombination rate and thereby the overall effectiveness of optoelectronic devices83. Moreover, it is evident from the RDF that the spectral patterns of the two materials are consistent with each other.

Fig. 9
figure 9

Pressure-induced variation of Real part of DF: (a) LiMgCl3, (b) LiBeCl3 and Imaginary part of DF: (c) LiMgCl3, (d) LiBeCl3.

At ambient pressure, the static dielectric constant ε1(0) of LiMgCl3 is measured to be 2.82, which increases to 4.35 at 100 GPa pressure, while LiBeCl3 shows ε1(0) of 3.58 at ambient pressure, increasing to 5.82 under 100 GPa pressure as shown in Fig. 9(a) and (b). Materials with a substantial band gap typically exhibit a low static dielectric constant. The ε1(0) value increases with induced pressure for both compounds, correlating with a decrease in band gap under pressures. This decrease in band gap ensures a greater number of electrons can transfer from valence bands (VBs) to conduction bands (CBs), thereby reducing the recombination rate52. Additionally, both LiMgCl3 and LiBeCl3 exhibit negative ε1(ω) values within an energy range from 9.2 eV to 18 eV and 10 eV to 18 eV, respectively, suggesting drude-like characteristic of these compounds, confirming their increasing metallic nature under high-pressure circumstances84.

The imaginary component of the dielectric function (IDF) plays a crucial role in elucidating the absorption behavior of materials85. It is directly influenced by the band structure and DOS of a material. As depicted in Figs. 9(c) and (d), the peak of ε2(ω) for LiMCl3 (M = Mg, Be) compounds increases as pressure rises. This behavior is in agreement with the absorption spectra depicted in Figs. 10(a) and (b). Additionally, these peaks shift towards higher energies with increased pressure, attributed to the widening of the valence band and the downward shift of the lower valence band86. ε2(ω) tends to decrease from its peak value with increasing photon energy, eventually reaching zero. The distinctive pattern of higher ε2(ω) values at lower frequencies and smaller ε2(ω) values in the higher energy range highlights the potential applicability of LiMCl3 (X = Mg, Be) in microelectronics and integrated circuits. This superiority is notably amplified under pressure, indicating the material’s enhanced performance characteristics in such applications75.

Fig. 10
figure 10

Pressure-induced variation of Absorption coefficient: (a) LiMgCl3, (b) LiBeCl3 and Conductivity: (c) LiMgCl3, (d) LiBeCl3.

Studying the absorption coefficient (α) is pivotal in understanding how a material interacts with specific photon energies, influencing the attenuation of light87. This investigation provides valuable insights into a material’s compatibility and potential for enhanced performance in various device applications. The absorption coefficient variations of LiMgCl3 and LiBeCl3 across different hydrostatic pressures are depicted in Figs. 10(a) and (b). In both materials, absorption does not begin at 0 eV due to the presence of optical bandgap. At ambient pressure, absorption starts at about 2.391 eV and 3.978 eV of photon energy for LiBeCl3 and LiMgCl3 respectively, signifying their specific optical bandgap energies. For both compounds, a major absorption peak has been observed within a broad region of photon energy. By applying pressure, the absorption spectrum for both compounds becomes narrower, heightened, and broadened, falling within the ultraviolet region. This indicates the potentiality of LiMgCl3 and LiBeCl3 compounds in fabricating devices for sterilizing surgical equipment88. These two materials demonstrate higher absorption in the UV region, with their absorption rate increasing as hydrostatic pressure rises, despite a decrease in their bandgap under incremental pressure. This behavior underscores the motivation to apply higher hydrostatic pressure to these materials. These materials are suitable for use in tandem solar cells, where each layer is designed to absorb different parts of the solar spectrum. These materials can be used as the top layer to absorb high-energy UV photons, while other layers are optimized for absorbing visible and infrared light. This configuration helps reduce thermal losses, resulting in more efficient utilization of these materials. Under high pressure, LiMgCl3 exhibits a direct bandgap, while LiBeCl3 shows an indirect bandgap under varying pressure conditions. As a result, LiMgCl3 is likely to be more efficient in these conditions, as electron transitions in direct bandgap materials do not require phonon assistance, eliminating the momentum mismatch between the valence and conduction bands.

The optical conductivity (σ) stands as a fundamental parameter that characterizes a material’s electromagnetic response89. Figs. 10(c) and (d) depict the real part of conductivity under various hydrostatic pressures (0–100 GPa). It is observed for both materials that σ does not initiate at 0 eV. This may be attributed to the specific optical bandgap of these materials under different hydrostatic pressures. However, beyond their optical bandgap, both materials smoothly reach their peaks under different hydrostatic pressures. The figures clearly show that the optical conductivity enhances with increasing pressure, correlating with the heightened absorption coefficient under pressures. This enhancement in conductivity is attributed to electron transitions from the valence to the conduction band triggered by light absorption53. Intriguingly, the peaks in σ become sharper under hydrostatic pressure. For LiMgCl3, the conductivity peak shifts from 9.18 eV at zero pressure to 9.83 eV at 100 GPa, while for LiBeCl3, the peak shifts from 8.9 eV to 10.15 eV under similar pressure conditions. These shifts align with the pressure-induced changes in the band structure, characterized by a narrowing band gap with increasing pressure90.

The reflectivity spectra (R) of LiMgCl3 and LiBeCl3 under varying pressures are depicted in Figs. 11(a) and (b). R is a key optical parameter, indicating a material’s ability to reflect light energy, and is inversely related to its light absorption91. Both materials show similar trends in their reflectivity spectra. At lower photon energies, the reflectivity remains relatively low and experiences minimal changes with increasing pressure. However, within the energy range of 10 eV to 20 eV, a noticeable variation in reflectivity has appeared under pressure. This observation implies that LiMgCl3 and LiBeCl3 can be effectively controlled using external pressure, making them suitable coating materials within this energy range92.

Fig. 11
figure 11

Pressure-induced variation of Reflectivity: (a) LiMgCl3, (b) LiBeCl3 and Refractive index: (c) LiMgCl3, (d) LiBeCl3.

The refractive index, a dimensionless parameter indicating electromagnetic wave speed in a material, is illustrated in Fig. 11(c) and (d) across the energy of 0 eV to 100 eV and pressures from 0 to 100 GPa. Analysis of the figures reveals that, at ambient pressure, normal dispersion is observed between 0 eV – 7.5 eV and 16.3 eV – 30 eV, while abnormal dispersion is noted in the 7.5 eV-16.3 eV photon energy range. Additionally, LiBeCl3 exhibits a consistently higher maximum refractive index compared to LiMgCl3 at 0 GPa pressure. This difference signifies a stronger electronic polarization effect in LiBeCl3, leading to a greater delay in light propagation. When applying pressure, both materials display an increase in refractive index, reaching a maximum of around 10 eV due to the growing number of electronic oscillators per unit volume93. However, at a photon energy of 11.35 eV, the refractive index falls below unity for both materials, regardless of pressure, due to the group velocity of incident radiation surpassing the speed of light94. This indicates that the investigated materials transform into a superluminal medium when subjected to high-energy photons.

Mechanical properties

Elastic constants (Cij) are crucial parameters for understanding the mechanical properties of a material, as they provide valuable insights into the material’s stability and stiffness95,96. By analyzing the Cij values, one can determine a crystal’s ability to resist external forces, thereby gaining practical information about its potential applications. Thermal expansion, Gruneisen factor, specific heat, and Debye temperature are among the thermodynamic properties closely intertwined with elastic constants. These parameters also offer valuable insights into elastic properties such as thermo-elastic stress, internal strain, load deflection, sound velocity, and fracture toughness66. To calculate Cij, the finite strain theory has been used66. There are three independent elastic constants for a cubic phase of a compound including, longitudinal compression (C11), shear modulus (C44), and transverse expansion (C12). Under varying pressures, a material’s lattice parameters undergo alterations, accentuating the necessity to calculate elastic constants across various pressure conditions. This study also delves into the determination of pressure-induced elastic constants for LiMCl3, aiming to discern changes in elastic constants and mechanical properties. Table 4 presents the elastic constant values under distinct hydrostatic pressures. The stability of the cubic structure is evaluated using the Born stability criteria97,98,99: (C11 + 2C12) > 0, C44 > 0, and (C11 – C12) > 0. However, the Cij values of both investigated compounds satisfy these criteria, thereby confirming the stability of these compounds under varying hydrostatic pressures.

The mechanical robustness of different optoelectronic devices under thermal cycles is greatly influenced by the stiffness of the material, which should be carefully chosen to prevent mechanical delamination. Based on Young’s and bulk modulus values, the stiffness of the studied LiMCl3 compounds increases with rising hydrostatic pressure. Higher stiffness reduces deformation, which can improve the structural integrity of the device by reducing cracks and delamination, two main failure modes in optoelectronic devices100.

Table 4 Elastic constants (Cij) of LiMCl3 under different hydrostatic pressures.

Cauchy pressure is used to determine the ductility or brittleness of a material based on its positive or negative values101. A positive value of Cauchy pressure indicates that the material is ductile, while a negative value signifies that the material is brittle. The investigated compounds exhibit positive Cauchy pressure values under different hydrostatic pressures, confirming their ductile behavior. As the pressure increases, the positive Cauchy pressure values become even more positive, highlighting the increased ductility of the LiMCl3 (M = Mg, Be) compounds.

The bulk modulus and shear modulus are calculated using the Voigt102, Reuss103, and Hill approximations104, with the Hill approximation often considered the final value due to its closer alignment with experimental results, as supported by several studies. The bulk modulus, Young’s modulus, and shear modulus using the Voigt, Reuss approximations can be determined from the following relationships105,106:

$$\:B=\frac{{B}_{v}+{B}_{R}}{2}$$
(4)
$$\:G=\frac{{G}_{v}+{G}_{R}}{2}$$
(5)
$$\:E=\frac{9BG}{3B+G}$$
(6)

Mechanical properties, such as bulk modulus, Young’s modulus, Poisson’s ratio, and Pugh’s ratio, determined in this study are summarized in Table 5. It’s clear from the data that as pressure escalates, the values of bulk modulus (B), Poisson’s ratio (ν), and shear modulus (G) also increase. This trend signifies a rise in the stiffness and hardness of LiMCl3 (M = Mg, Be) compounds under increasing pressures.

Table 5 Calculated bulk modulus B (GPa), shear modulus G (GPa), Young’s modulus E (GPa), Poisson’s ratio (\(\:\nu\:\)), Pugh’s ratio (B/G), Zener anisotropy (A), Universal anisotropy factor (AU), Hardness (\(\:{H}_{v}\)), and Machinability (\(\:{\mu\:}_{M}\)) of LiMCl3 under pressure.

Poisson’s and Pugh’s ratios are calculated as well in this study to provide precise insights into a material’s brittleness or ductility. According to Table 5, the threshold value for Poisson’s ratio is 0.26; above this value, a material is considered ductile, while below it, the material is considered brittle. The investigated compounds in this study exhibit ductile behavior under varying hydrostatic pressures. Moreover, Poisson’s ratio provides information on whether a material’s bonding force is central or non-central107. A central force is directed toward a fixed point and its magnitude depends on the distance of the particle from that point. In contrast, a non-central force does not simply depend on the distance between the centers of two interacting bodies108. Bonding in solids is considered central when the Poisson’s ratio is between 0.25 and 0.50. This study’s findings confirm that the LiMCl3 (M = Mg, Be) compounds exhibit central force characteristics. Similarly, to Poisson’s ratio, Pugh’s ratio (B/G) serves as a critical indicator for discerning the ductility and brittleness of a material. The materials above the threshold value of 1.26 are considered ductile, while those below are brittle. Figs. 12(a) and (b) visually presented the variations in Poisson’s ratio and Pugh’s ratio respectively under different hydrostatic pressures. Notably, at ambient pressure, the materials exhibit ductile behavior, with ductility further increasing as pressure rises which is also supported by the analysis of Poisson’s ratio and Cauchy pressure, proofing the accuracy of this study. This observation aligns with the analyses of Poisson’s ratio and Cauchy pressure, validating the accuracy and robustness of this study.

Fig. 12
figure 12

(a) Pugh’s ratio and (b) Poisson ratio of LiMgCl3 and LiBeCl3 under pressures.

The machinability index (\(\:{\mu\:}_{M}\)) stands as a crucial mechanical property, defining the ease or difficulty with which a material can be machined using a cutting tool. It closely associates with both the bulk modulus and the C44 elastic constant, as delineated by the following equation:

$$\:{\mu\:}_{M}=\frac{B}{{C}_{44}}$$
(7)

Machinability holds paramount importance for materials that are earmarked for industrial applications. It governs various factors, including the selection of cutting tools, the optimal cutting speed, and the geometry of the cutting tool, etc. Enhanced machinability results in heightened lubricating properties, diminished friction values, and higher plastic strain. Pressure-induced variations in machinability have been investigated in this study and are presented in Table 5. A minor variation in the machinability index has been observed under increasing hydrostatic pressure for the LiBeCl3 compound. Conversely, higher \(\:{\mu\:}_{M}\) values are observed for LiMgCl3 under high-pressure circumstances, suggesting exceptional lubricating properties of this compound.

Vickers hardness is indeed a crucial mechanical property, reflecting a material’s resistance to deformation. Understanding a material’s elastic and plastic behaviors significantly depends on knowing its hardness value. There’s a close relationship between hardness and Poisson’s ratio, which is established by the following relation109:

$$\:{H}_{\nu\:}=\frac{\left(1-2\nu\:\right)E}{6\left(1+\nu\:\right)}$$
(8)

Table 5 suggests that the hardness of LiMCl3 (M = Mg, Be) compounds typically increases with rising pressure. Notably, LiMgCl3 shows a significant increase under high-pressure conditions. In contrast, the hardness LiBeCl3 demonstrates a comparatively milder increasing trend, suggesting lower hardness compared to LiMgCl3.

Fig. 13
figure 13

3D anisotropic representation of (a) Young’s modulus, (b) shear modulus, and (c) Poisson’s ratio of LiMgCl3 and LiBeCl3 under 0 GPa and 100 GPa pressures.

The anisotropy factor of a crystal is crucial as it strongly correlates with the likelihood of inducing microcracks in materials. The performance of a compound in a particular technological application depends significantly on its level of anisotropy110. As the investigated compounds possess cubic symmetry, A1, A2, and A3 are equal. The anisotropy of a material can be evaluated using its elastic constants through the following relation111,112:

$$\:A=\frac{2{C}_{44}}{{C}_{11}-{C}_{12}}$$
(9)

When the anisotropic factor value is 1, a material is considered isotropic, while deviation from this unity value indicates the degree of anisotropy present in the material. Anisotropic factor values of LiMCl3 under hydrostatic pressures are presented in Table 5. It is evident that the degree of anisotropy increases with pressure for LiMgCl3, whereas the opposite trend has been noticed in LiBeCl3 where the value of the anisotropy factor tends to approach towards unity as pressure rises. To provide a clearer visualization, Fig. 13 presents the 3D contour plots, illustrating the directional dependence of the anisotropy factor on Young’s modulus, shear modulus, and Poisson’s ratio for LiMCl3 (M = Mg, Be) compounds under pressures of 0 GPa and 100 GPa. Typically, an isotropic material displays a spherical shape in these plots. However, any deviations from this spherical shape indicate the degree of anisotropy of a material. For LiMgCl3, a significant deviation from the spherical shape is observed at 100 GPa, indicating a higher degree of anisotropy. In contrast, LiBeCl3 shows a more spherical shape at 100 GPa, implying that this compound becomes more isotropic under high-pressure circumstances.

To further elucidate the anisotropy nature of LiMCl3, the universal anisotropy factor (\(\:{A}^{U}\)) has been used. It can also be obtained through the following relation113:

$$\:{A}^{U}=5\left(\frac{{G}_{v}}{{G}_{R}}-1\right)$$
(10)

The value of \(\:{A}^{U}\) for isotropic compounds is zero whereas any deviation from this value indicates the degree of anisotropy. Pressure-induced \(\:{A}^{U}\) for different hydrostatic pressure has been calculated and listed in Table 5. It is evident that LiMgCl3 exhibits increased anisotropy under rising hydrostatic pressures, whereas LiBeCl3 becomes more isotropic under higher pressure conditions. However, these observations are also supported by Fig. 12.

Conclusion

In summary, the physical properties of the investigated compounds LiMgCl3 and LiBeCl3 change under varying hydrostatic pressure, ranging from 0 GPa to 100 GPa. The lattice parameters and unit cell volume decrease with increasing pressure, likely due to the reduction in bond length between constituent atoms. The electronic properties, including band structure, TDOS, and PDOS, are also examined under different pressure conditions. LiMgCl3 exhibits a transition from an ultrawide bandgap to a narrow bandgap, while LiBeCl3 transitions from a semiconductor to a metallic state under 100 GPa pressure. This reduction in energy bandgap enhances the efficiency of these materials in optoelectronic applications. Improved dielectric function, higher reflectivity, and refractivity are observed under high-pressure conditions, with absorption peaks shifting upwards in the UV region, indicating their potential use in optoelectronic devices. Additionally, the elastic constants of both materials suggest ductile behavior, which increases with applied pressure. The anisotropy factor shows an increasing trend for LiMgCl3 with rising pressure, while it decreases for LiBeCl3, indicating different anisotropic behaviors under pressure. This study highlights the potential application of alkali earth metal-based perovskites, particularly Li-based compounds, in future optoelectronic device applications.