1 Introduction

According to recent observations, the accelerating expansion of the universe is one of the most astounding discovery in this new generation of astrophysics. Relativistic consequences need to be taken into consideration in the investigation of the gravitational stellar system. Vivid examples of celestial gravitational system are black holes, neutron stars, quark stars, white dwarfs in which these impacts have vital results. So it becomes important to take feasible gravitational theories into account to study these systems. The results originating from type Ia Supernova and cosmic microwave background radiations [1,2,3] have made a remarkable revolution in the recent decades, therefore opening a platform for research. These observations show that there is an accelerating expansion in our universe. According to the recent investigations, the outcomes developing from the Planck satellite [4,5,6], the BICEP2 experiment [7,8,9], the wilkinson microwave anisotropy probe [10, 11] and sloan digital sky surveys [12], it turns out that 68% of universe is composed of dark energy, 27% is the dark matter and the rest is ordinary matter which is around 5%. This has inspired many researchers to discover the mysterious nature of dark energy that is assumed to pass through the entire space with due course of expansion. Dark energy holds a huge amount of negative stress with repulsiveness but its essential capabilities are still not recognised.

Modified gravitational theories are introduced after generalizing the Einstein–Hilbert action to contemplate the idea of dark energy. These modified gravitational theories act as a replacement to solve the unsolved mystery of the universe which is believed to be the actual reason of the expansion in our cosmos. Nojiri and Odintsov [13] explained that how these modified gravitational theories are important in investigating the evolutionary phases of the universe. Modified gravity theories like f(R), f(RT), \(f(\mathcal {G})\) and \(f(\mathcal {G}, T)\) etc., have been constructed [14,15,16,17,18,19,20,21,22,23,24,25,26] after being motivated by the usual Einstein’s theory.

Modified Gauss–Bonnet gravity has picked up prominence over the recent years and it is hoped that cosmic expansion may be observed in \(f(\mathcal {G})\) gravity due to the presence of de-Sitter point [27,28,29,30,31,32]. The outstanding quality of this theory is that the presence of Gauss–Bonnet term may avert vague involvements and uniforms the gravitational action [33]. Further, \(f(R, \mathcal {G})\) theory was introduced [34] by presenting Ricci scalar alongside Gauss–Bonnet invariant. In a similar way, \(f(\mathcal {G}, T)\) theory [26] was developed that contains the Gauss–Bonnet invariant and the trace of energy momentum tensor. Some fascinating work has been done recently. Shamir and Ahmad [35] developed some cosmological feasible \(f(\mathcal {G}, T)\) gravity models using Noether symmetry approach and determined some exact solutions for flat Friedmann-Robertson-Walker (FRW) universe with \(f(\mathcal {G}, T)\) corrections. Sharif and Ikram [36] discussed some important cosmological solutions in \(f(\mathcal {G}, T)\) gravity and studied the stability of specific models with linear perturbations in FRW universe. The same authors [37] investigated the stability of Einstein universe through linear perturbations in \(f(\mathcal {G}, T)\) gravity for conserved and non conserved stress energy tensor and deduced that if the model parameters are picked appropriately, then Einstein universe exists for all possibilities of the equation of state parameter. Shamir and Ahmad [38] examined Noether symmetries of locally rotationally symmetric (LRS) Bianchi type I universe and used anisotropic effect to discuss cosmological models in \(f(\mathcal {G}, T)\) gravity. Shamir [39] investigated the exact solutions of field equations in \(f(\mathcal {G}, T)\) gravity for LRS Bianchi type I spacetime with anisotropic background. Recently, Bhatti and his collaborator [40] studied the evolution of compact stars in \(f(\mathcal {G}, T)\) theory of gravity with some specific \(f(\mathcal {G}, T)\) models and concluded that the compactness of the star increases for different models of modified gravity.

Some interesting work has been done in exploring the effects of anisotropic pressure in the investigation of structure formalism of the stellar frameworks. Bower and Liang [41] investigated the stability of locally anisotropic fluid configurations to study the impacts of radial and tangential pressure variables. Chan et al. [42] explored the impacts of anisotropy for the development of dynamic instabilities of relativistic matter configurations and derived that the presence of anisotropy in the stellar framework has significantly changed the structures of celestial system. Chakraborty et al. [43] examined pressure anisotropy distributions on quasi spherical model and concluded that such configurations of pressure could deter the occurrence of naked singularity. Hillebrandt and Steinmetz [44] used the numerical method to explore the stable schemes of anisotropic compact stars and discovered some stability regions in resemblance with isotropic models. Herrera and Santos [45] analyzed the exposure of locally anisotropic pressure and its effects on self gravitating systems. Bamba et al. [46] investigated the dynamics of collapsing stellar system and found that \(R^\alpha \) corrections provide a singularity free cosmological model. Herrera et al. [47] studied the stability of shear free condition for spherically symmetric anisotropic fluid distributions and found that locally anisotropic pressure and density inhomogeneity have an effect on the stability of shear free condition. Sharif and Yousaf [48] found some exact systematic models for the spherically symmetric anisotropic structure with the effect of shear free condition. Tewari et al. [49] studied anisotropic fluid distributions for a spherically symmetric model and presented some relativistic models that could be useful to comprehend different characteristics of compact star models.

Structural variables, such as energy density, locally anisotropic pressure and Weyl tensor can be used to explore the evolutionary development of stellar models. A framework starts collapsing once it encounters an inhomogeneous stellar state. The anisotropy and irregularities in the energy density possess significant role in the collapsing systems and consequently in creating theory of relativistic stellar structure development. Penrose and Hawking [50] investigated energy density irregularities of spherical relativistic stars through Weyl scalar. Herrera et al. [51] discussed energy density inhomogeneity and local anisotropy for spherical compact stellar object. Herrera et al. [52] studied the gravitational arrow of time by relating Weyl scalar with energy density inhomogeneity and anisotropic pressure. In another context, Herrera and his collaborators [53] examined the structure and evolution of compact stars with the help of some structure scalars obtained from the orthogonal splitting of curvature tensor. Sharif and Yousaf [54] explored the role of structure scalars for cylindrical self gravitating systems by taking f(R) model into account. The same authors [55] described the stability of the energy density in matter fluid configurations by considering three parametric models in Palatini f(R) gravity. Yousaf et al. [56] explored the evolutionary phases of stellar systems in f(RT) theory of gravity through structure scalars. Thus it seems interesting to investigate structure scalars in modified gravity, in particular, \(f(\mathcal {G},T)\) gravity.

The main focus of this work is to investigate the influence of \(f(\mathcal {G}, T)\) gravity in the construction of structure scalars. Furthermore, we examine the role of these scalar variables in the expansion and evolution equations for dissipative spherical distributions of anisotropic stellar systems. The format of this paper is as follows: in Sect. 2, we discuss the field equations of modified gravity with anisotropic fluid distributions and then link the Weyl scalar with structural variables. Modified scalar functions are constructed and their role in the study of self gravitating systems is discussed in Sect. 3. Section 4 demonstrates the role of these scalar functions for relativistic dust cloud with constant \(\mathcal {G}\) and T. The main outcomes of the present work are discussed in the last section.

2 Modified field equations

Modified Gauss–Bonnet theories of gravity have a wide space to investigate new outcomes creating new ways to deal with different research issues. It has been shown that modified Gauss–Bonnet gravity has many advantages as compared to other gravitational theories [32]. Moreover, the gravity theory is quite interesting to explain the cosmic acceleration of universe with more freedom and instabilities do not exist in this theory. In particular, the recently introduced \(f(\mathcal {G},T)\) gravity has gained popularity due to the addition of matter content along with Gauss–Bonnet invariant in the shape of a bivariate function. The general action of \(f(\mathcal {G},T)\) gravity can be obtained by modifying usual Einstein Hilbert action as [26]

$$\begin{aligned} \mathcal {S}_{f(\mathcal {G},T)}= & {} \frac{1}{2\kappa ^2}\int d^4x \sqrt{-g}[R+f(\mathcal {G},T)]\nonumber \\&+\int d^4x\sqrt{-g}\mathcal {L}_m, \end{aligned}$$
(1)

where T is the trace of energy momentum tensor, g is the determinant of metric tensor, R indicates the Ricci Scalar, \(\mathcal {L}_M\) represents the Lagrangian coupled with matter and \(\kappa \) symbolizes the coupling constant. The energy momentum tensor can be determined as [57]

$$\begin{aligned} T_{\alpha \beta }=-\frac{2}{\sqrt{-g}}\frac{\delta (\sqrt{-g}\mathcal {L}_m)}{\delta g^{\alpha \beta }}. \end{aligned}$$
(2)

If we suppose that \(\mathcal {L}_M\) only depends on the components of \(g_{\alpha \beta }\) but does not rely on its derivatives, then Eq. (2) simplifies to

$$\begin{aligned} T_{\alpha \beta }=g_{\alpha \beta }\mathcal {L}_m - 2\frac{\partial \mathcal {L}_m}{\partial g_{\alpha \beta }}. \end{aligned}$$
(3)

Varying the action (1) with respect to \(g_{\alpha \beta }\), we get the following field equations of \(f(\mathcal {G},T)\) gravity

$$\begin{aligned} R_{\alpha \beta }-\frac{1}{2}Rg_{\alpha \beta }= & {} T_{\alpha \beta }-(T_{\alpha \beta }+\Theta _{\alpha \beta })f_T(\mathcal {G},T) \nonumber \\&+ \ \frac{1}{2}g_{\alpha \beta }f(\mathcal {G},T)-(2RR_{\alpha \beta } \nonumber \\&- \ 4R^\xi _\alpha R_{\xi \beta } -4R_{\alpha \xi \beta \eta }R^{\xi \eta }\nonumber \\&+ \ 2R_{\alpha }^{\xi \eta \delta }R_{\beta \xi \eta \delta })f_\mathcal {G}(\mathcal {G},T) -(2Rg_{\alpha \beta }\nabla ^2 \nonumber \\&- \ 2R\nabla _\alpha \nabla _\beta -4g_{\alpha \beta }R^{\xi \eta }\nabla _\xi \nabla _\eta \nonumber \\&- \ 4R_{\alpha \beta }\nabla ^2+4R^\xi _\alpha \nabla _\beta \nabla _\xi + \ 4R^\xi _\beta \nabla _\alpha \nabla _\xi \nonumber \\&+ \ 4R_{\alpha \xi \beta \eta }\nabla ^\xi \nabla ^\eta )f_\mathcal {G}(\mathcal {G},T), \end{aligned}$$
(4)

where \(f_\mathcal {G}(\mathcal {G},T)=\frac{\partial f(\mathcal {G},T)}{\partial \mathcal {G}}\), \(f_T(\mathcal {G},T)=\frac{\partial f(\mathcal {G},T)}{\partial T}\), and \(\nabla ^2=\square =\nabla _\alpha \nabla ^\alpha \) represents the d’Alembert operator. Einstein field equations are retrieved by putting \(f(\mathcal {G}, T)=0\) in Eq. (4). Moreover, field equations for \(f(\mathcal {G}, T)\) gravity lessens to field equations for \(f(\mathcal {G})\) gravity by superseding \(f(\mathcal {G}, T)\) with \(f(\mathcal {G})\). The trace of Eq. (4) is given as

$$\begin{aligned}&R+T-(T+\Theta )f_T(\mathcal {G}, T)+2f(\mathcal {G}, T)\\&\quad +2\mathcal {G}f_\mathcal {G}(\mathcal {G}, T)-2R\nabla ^2f_\mathcal {G}(\mathcal {G}, T) \\&\quad +4R^{\alpha \beta }\nabla _\alpha \nabla _\beta f_\mathcal {G}(\mathcal {G}, T)=0. \end{aligned}$$

The divergence of Eq. (4) is found as

$$\begin{aligned} \nabla ^\alpha T_{\alpha \beta }= & {} \frac{f_T(\mathcal {G}, T)}{1-f_T(\mathcal {G}, T)}\Bigg [(T_{\alpha \beta }+\Theta _{\alpha \beta })\nabla ^\alpha (ln f_T(\mathcal {G}, T))\\&+\nabla ^\alpha \Theta _{\alpha \beta } -\frac{1}{2}g_{\alpha \beta }\nabla ^\alpha T \Bigg ], \end{aligned}$$

where \(\Theta _{\alpha \beta }\) can be obtained as follows

$$\begin{aligned} \Theta _{\alpha \beta }=g^{\xi \eta }\frac{\delta T_{\xi \eta }}{\delta g_{\alpha \beta }}. \end{aligned}$$
(5)

There is a probability that this gravitational theory might be suppressed by the impacts of divergences. These divergences arise due to the existence of higher order energy momentum tensor derivatives which are normally associated with the field equations. This has risen as an issue to all such modified gravitational theories which involve these energy momentum tensor higher order derivatives. The divergence equation shows that conservation equation of energy momentum tensor is not obeyed as in the usual Einstein’s theory. However, one may characterize some new restrictions to this condition to achieve the standard conservation equation for energy momentum tensor. Varying Eq. (3) to get a functional expression for \(\Theta _{\alpha \beta }\), it follows

$$\begin{aligned} \frac{\delta T_{\alpha \beta }}{\delta g^{\xi \eta }}= & {} \frac{\delta g_{\alpha \beta }}{\delta g^{\xi \eta }}\mathcal {L}_m + g_{\alpha \beta }\frac{\partial \mathcal {L}_m }{\partial g^{\xi \eta }} -2\frac{\partial ^2\mathcal {L}_m}{\partial g^{\xi \eta }\partial g^{\alpha \beta }}. \end{aligned}$$
(6)

Substituting Eq. (6) in Eq. (5), we get

$$\begin{aligned} \Theta _{\alpha \beta }=-2T_{\alpha \beta }+g_{\alpha \beta }\mathcal {L}_m -2g^{\xi \eta }\frac{\partial ^2\mathcal {L}_m}{\partial g^{\alpha \beta }\partial g^{\xi \eta }}. \end{aligned}$$
(7)

We consider a non-static spherically distribution of the fluid combined with locally anisotropic fluid and shear viscosity dispersing in the form of heat flow and null radiation. Thus, we consider the energy momentum tensor of the form [58].

$$\begin{aligned} T_{\alpha \beta }= & {} P_\perp h_{\alpha \beta } + \mu V_{\alpha } V_\beta + \Pi \chi _\alpha \chi _\beta + \epsilon \ell _\alpha \ell _\beta \nonumber \\&+\, q (\chi _\beta V_\alpha + \chi _\alpha V_\beta ) - 2\eta \sigma _{\alpha \beta }, \end{aligned}$$
(8)

where \(P_{\perp }\) and \(P_r\) are the tangential and radial pressure, \(\mu \) represents the energy density, \(h_{\alpha \beta }\) expresses the projection tensor, \(q_\alpha \) indicates the thermal flow, \(\chi _\alpha \) is the unit four vector in the radial direction, \(\eta \) signifies the coefficient of shear tensor, \(\sigma _{\alpha \beta }\) is the shearing viscous tensor, and \(\Pi \) is the difference of \(P_r\) and \(P_{\perp }\). The matter Lagrangian can be assumed as \(\mathcal {L}_m=-\mu \) and in this case Eq. (7) takes the form [56]

$$\begin{aligned} \Theta _{\alpha \beta }=-2T_{\alpha \beta }-\mu g_{\alpha \beta }. \end{aligned}$$
(9)

The field equations can be rewritten in an alternative form as

$$\begin{aligned} G_{\alpha \beta } = T_{\alpha \beta }^{eff}, \end{aligned}$$
(10)

where

$$\begin{aligned} T_{\alpha \beta }^{eff}= & {} (1+f_T)T_{\alpha \beta }+\mu g_{\alpha \beta }f_T \nonumber \\&+ \ \frac{1}{2}g_{\alpha \beta }f(\mathcal {G},T)-(2RR_{\alpha \beta } -4R^\xi _\alpha R_{\xi \beta } \nonumber \\&- \ 4R_{\alpha \xi \beta \eta }R^{\xi \eta }+2R_{\alpha }^{\xi \eta \delta }R_{\beta \xi \eta \delta })f_\mathcal {G}(\mathcal {G},T) \nonumber \\&- \ (2Rg_{\alpha \beta }\nabla ^2 -2R\nabla _\alpha \nabla _\beta - 4g_{\alpha \beta }R^{\xi \eta }\nabla _\xi \nabla _\eta \nonumber \\&- \ 4R_{\alpha \beta }\nabla ^2+4R^\xi _\alpha \nabla _\beta \nabla _\xi + 4R^\xi _\beta \nabla _\alpha \nabla _\xi \nonumber \\&+ \ 4R_{\alpha \xi \beta \eta }\nabla ^\xi \nabla ^\eta )f_\mathcal {G}(\mathcal {G},T), \end{aligned}$$
(11)

which is the effective stress energy tensor comprising of matter and dark energy components.

We consider a non-static spherically symmetric space-time

$$\begin{aligned} ds^2= & {} -A^2(t,r)dt^2 + H^2(t,r)dr^2 \nonumber \\&+\ C^2(t,r)d\theta ^2 + C^2(t,r) \sin ^2 \theta d\phi ^2. \end{aligned}$$
(12)

The quantities \(\ell ^\alpha \) and \(V^{\alpha }\) in Eq. (8) indicate null four vector and four velocity of the fluid. The four vectors \(\ell ^\alpha =\frac{1}{A}\delta ^\alpha _0+\frac{1}{H}\delta ^\alpha _1\), \(\chi ^\alpha \), and \(V^\alpha =\frac{1}{A}\delta ^\alpha _0\) satisfy

$$\begin{aligned} \chi ^\alpha \chi _\alpha= & {} 1,\quad V^\alpha V_\alpha = -1,\quad \ell ^\alpha \ell _\alpha =0\nonumber \\ \chi ^\alpha V_\alpha= & {} 0,\quad V^\alpha q_\alpha = 0,\quad \ell ^\alpha V_\alpha =-1. \end{aligned}$$
(13)

The shear \(\sigma _{\alpha \beta }\) and expansion \(\Theta \) of the fluid are given by [47]

$$\begin{aligned}&\Theta = V^\alpha ~_{;\alpha }, \end{aligned}$$
(14)
$$\begin{aligned}&\sigma _{\alpha \beta } = V_{(\alpha ;\beta )}+a_{(\alpha }V_{\beta )} -\frac{1}{3}\Theta h_{\alpha \beta }, \end{aligned}$$
(15)

where \(a_\alpha \) is the 4-acceleration and \(h_{\alpha \beta }=g_{\alpha \beta }+V_{\alpha }V_{\beta }\). The non zero components of the shear tensor are

$$\begin{aligned} \sigma _{11} = \frac{2}{3}H^2\sigma , \quad \sigma _{22} = \frac{\sigma _{33}}{sin^2\theta }=-\frac{1}{3}C^2\sigma , \end{aligned}$$
(16)

and the scalars indicating shearing motion and expansion of the fluid are given as follows

$$\begin{aligned} \sigma= & {} \frac{1}{A}\Bigg (\frac{\dot{H}}{H}- \frac{\dot{C}}{C}\Bigg ),\quad \Theta = \frac{1}{A} \Bigg (\frac{2\dot{C}}{C} + \frac{\dot{H}}{H}\Bigg ), \end{aligned}$$
(17)

where dot represents the partial derivative with respect to t. The field equations for the line element (12) take the form

$$\begin{aligned} G_{00}= & {} A^2\Bigg [\mu + \epsilon +\epsilon f_T - \frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg ) - \frac{\psi _{00}}{A^2}\Bigg ], \end{aligned}$$
(18)
$$\begin{aligned} G_{01}= & {} AH\Bigg [-(1+f_T)(q+\epsilon )- \frac{\psi _{01}}{AH}\Bigg ], \end{aligned}$$
(19)
$$\begin{aligned} G_{11}= & {} H^2\Bigg [\mu f_T + (1+f_T)\left( P_r + \epsilon - \frac{4}{3}\eta \sigma \right) \nonumber \\&+\frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg )- \frac{\psi _{11}}{H^2}\Bigg ], \end{aligned}$$
(20)
$$\begin{aligned} G_{22}= & {} C^2\Bigg [(1+f_T)\left( P_\perp + \frac{2}{3}\eta \sigma \right) +\mu f_T \nonumber \\&+ \frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg )-\frac{\psi _{22}}{C^2}\Bigg ], \end{aligned}$$
(21)

where \(\psi _{00}\), \(\psi _{01}\), \(\psi _{11}\) and \(\psi _{22}\) are given in the appendix. The Misner–Sharp mass function is given by [59]

$$\begin{aligned} m(t,r)=\frac{C}{2} \Bigg (1+\frac{\dot{C}^2}{A^2}-\frac{C'^2}{H^2}\Bigg ), \end{aligned}$$
(22)

where prime indicates differentiation with respect to r. The four-velocity U of the collapsing fluid can be obtained by taking variations of areal radius with respect to proper time.

$$\begin{aligned} U=D_T C=\frac{\dot{C}}{A}. \end{aligned}$$
(23)

Using Eqs. (18)–(23), the change in mass function with respect to time and radius is given as

$$\begin{aligned} D_Tm= & {} -\frac{1}{2}\Bigg [U\Bigg ((1+f_T)\left( \bar{P_r}-\frac{4}{3}\eta \sigma \right) +\mu f_T\nonumber \\&+ \frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg )-\frac{\psi _{11}}{H^2}\Bigg )\nonumber \\&+E\Bigg ((1+f_T)\bar{q}+\frac{\psi _{01}}{AH}\Bigg )\Bigg ]C^2, \end{aligned}$$
(24)
$$\begin{aligned} D_Cm= & {} \frac{C^2}{2}\Bigg [\bar{\mu }+\epsilon f_T-\frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg )-\frac{\psi _{00}}{A^2}\nonumber \\&+\frac{U}{E} \Bigg ((1+f_T)\bar{q}+\frac{\psi _{01}}{AH}\Bigg ) \Bigg ], \end{aligned}$$
(25)

where \(\bar{\mu }=\mu +\epsilon \), \(\bar{P}_r=P_r+\epsilon \), \(\bar{q}=q+\epsilon \) and \(D_C=\frac{1}{C'}\frac{\partial }{\partial r}\). Now taking integral on both sides of Eq. (25), we obtain

$$\begin{aligned} m= & {} \int _{0}^{C}\frac{C^2}{2}\Bigg [\bar{\mu }+\epsilon f_T-\frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg )-\frac{\psi _{00}}{A^2}\nonumber \\&+\frac{U}{E}\Bigg ((1+f_T)\bar{q}+\frac{\psi _{01}}{AH}\Bigg )\Bigg ]dC, \end{aligned}$$
(26)

where \(E\equiv \frac{C'}{H}\). Then Eq. (22) can be revised as

$$\begin{aligned} E\equiv \frac{C'}{H}=\Bigg [U^2-\frac{2m}{C}+1 \Bigg ]. \end{aligned}$$
(27)

The particular combinations of \(f(\mathcal {G}, T)\) corrections, structural variables and energy density through Misner–Sharp mass formulation can be obtained from Eq. (26)

$$\begin{aligned} \frac{3m}{C^3}= & {} \frac{3}{2C^3} \int _{0}^{r}\Bigg [\bar{\mu }+\epsilon f_T -\frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg )- \frac{\psi _{00}}{A^2}\nonumber \\&+\frac{U}{E}\Bigg ((1+f_T)\bar{q}+\frac{\psi _{01}}{AH}\Bigg )\Bigg ]C^2C'dr, \end{aligned}$$
(28)

The usual components of Weyl tensor can be split in electric and magnetic parts but the magnetic part of Weyl tensor becomes zero due to spherical symmetry [47]. So the Weyl tensor can be represented in terms of its electric part. The electric part of Weyl tensor is defined as

$$\begin{aligned} E_{\alpha \beta }=C_{\alpha \phi \beta \phi }V^\phi V^\varphi . \end{aligned}$$

The electric part of Weyl tensor can be rewritten as

$$\begin{aligned} E_{\alpha \beta }=\varepsilon \Bigg [\chi _\alpha \chi _\beta - \frac{1}{3}(g_{\alpha \beta }+V_\alpha V_\beta )\Bigg ], \end{aligned}$$

where \(\varepsilon \) is the Weyl scalar and is given as

$$\begin{aligned} \varepsilon= & {} \frac{1}{2A^2}\Bigg [\frac{\ddot{C}}{C}-\frac{\ddot{H}}{H} - \Bigg (\frac{\dot{C}}{C} -\frac{\dot{H}}{H} \Bigg )\Bigg (\frac{\dot{A}}{A} +\frac{\dot{C}}{C} \Bigg ) \Bigg ] -\frac{1}{2C^2} \nonumber \\&+\frac{1}{2H^2}\Bigg [\frac{A''}{A}-\frac{C''}{C} + \Bigg (\frac{H'}{H} +\frac{C'}{C} \Bigg )\Bigg (\frac{C'}{C} -\frac{A'}{A} \Bigg ) \Bigg ].\nonumber \\ \end{aligned}$$
(29)

Using Eqs. (18)–(22) and (28), we can rewrite (29) as

$$\begin{aligned} \varepsilon= & {} \frac{1}{2}\Bigg [\bar{\mu } + \epsilon f_T- (1+f_T)(\bar{\Pi }-2\eta \sigma )\nonumber \\&-\frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg )-\frac{\psi _{00}}{A^2} +\frac{\psi _{11}}{H^2} -\frac{\psi _{22}}{C^2}\Bigg ] \nonumber \\&-\frac{3}{2C^3} \int _{0}^{r}\Bigg [\bar{\mu }+\epsilon f_T -\frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg )\nonumber \\&- \frac{\psi _{00}}{A^2} +\frac{U}{E}\Bigg ((1+f_T)\bar{q}+\frac{\psi _{01}}{AH}\Bigg )\Bigg ]C^2C'dr, \end{aligned}$$
(30)

where \(\bar{\Pi }=\bar{P}_r-P_{\perp }\). The above expression gives a relationship between Weyl scalar, \(f(\mathcal {G}, T)\) extra curvature variables and structural properties of matter configurations. Equation (30) has been determined by taking regular matter configurations at the centre, i.e., \(m(t, 0)=C(t, 0)=0\).

3 Modified scalar variables and \(f(\mathcal {G}, T)\) gravity

One can choose different \(f(\mathcal {G}, T)\) gravity models for further analysis. However, for the sake of simplicity, we consider the following \(f(\mathcal {G}, T)\) configuration [35]

$$\begin{aligned} f(\mathcal {G},T)=f_1(\mathcal {G})+f_2(T), \end{aligned}$$
(31)

where \(f_1(\mathcal {G})=\alpha \mathcal {G}^n\), where \(\alpha \) is an arbitrary real constant. This power law model was given by Cognola et al. [27] and it is intriguing since the odds of seeming finite time future singularities vanish. Moreover, the value of \(f_2(T)=\lambda T\) with \(\lambda \) as real number. Now we present some important tensors defined by [60]

$$\begin{aligned}&Y_{\alpha \beta } = R_{\alpha \gamma \beta \delta } V^\gamma V^\delta , \\&X_{\alpha \beta }= ^* R_{\alpha \gamma \beta \delta } ^{*} V^\gamma V^\delta = \frac{1}{2} \eta ^{\epsilon \rho }_{\alpha \gamma } R^{*}_{\epsilon \rho \beta \delta } V^{\gamma } V^{\delta }, \end{aligned}$$

where \(R^*_{\alpha \beta \gamma \delta }=\frac{1}{2}\eta _{\epsilon \rho \gamma \delta }R^{\epsilon \rho }_{\alpha \beta }\). To develop the formalism for structure scalars in \(f(\mathcal {G},T)\) gravity, we orthogonally split the Riemann curvature tensor.

$$\begin{aligned} X_{\alpha \beta }= & {} X_{\alpha \beta }^{(m)}+X_{\alpha \beta }^{(D)} = \frac{1}{3}\Bigg [\bar{\mu }+\epsilon f_T - \frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg ) - \frac{\psi _{00}}{A^2} \Bigg ]h_{\alpha \beta } \nonumber \\&- \frac{1}{2}\Bigg [(1+f_T)(\bar{\Pi }-2\eta \sigma )-\frac{\psi _{11}}{H^2} +\frac{\psi _{22}}{C^2}\Bigg ]\nonumber \\&\times \Bigg (\chi _\alpha \chi _\beta - \frac{1}{3}h_{\alpha \beta } \Bigg )-E_{\alpha \beta }, \end{aligned}$$
(32)
$$\begin{aligned} Y_{\alpha \beta }= & {} Y_{\alpha \beta }^{(m)}+Y_{\alpha \beta }^{(D)} = \frac{1}{6}\Bigg [\bar{\mu }+\epsilon f_T +3\mu \lambda \nonumber \\&+(1+f_T)(3P_r - 2\bar{\Pi })- \frac{\psi _{00}}{A^2} - \frac{\psi _{11}}{H^2} \nonumber \\&- \frac{2\psi _{22}}{C^2}+ \frac{\mathcal {G}}{2}\Bigg (\frac{f}{\mathcal {G}}-f_\mathcal {G}\Bigg )\Bigg ] h_{\alpha \beta } \nonumber \\&-\frac{1}{2}\Bigg [(1+f_T)(\bar{\Pi } -2\eta \sigma ) - \frac{\psi _{11}}{H^2} + \frac{\psi _{22}}{C^2}\Bigg ]\nonumber \\&\times \Bigg (\chi _\alpha \chi _\beta - \frac{1}{3}h_{\alpha \beta } \Bigg )+E_{\alpha \beta }. \end{aligned}$$
(33)

These tensors are composed of their trace and trace-less parts given as

$$\begin{aligned} X_{\alpha \beta }= & {} \frac{1}{3}TrXh_{\alpha \beta }+X_{\langle \alpha \beta \rangle },\quad Y_{\alpha \beta } = \frac{1}{3}TrYh_{\alpha \beta }+Y_{\langle \alpha \beta \rangle },\nonumber \\ \end{aligned}$$
(34)

where

$$\begin{aligned} X_{\langle \alpha \beta \rangle }= & {} h_\alpha ^\rho h_\beta ^\gamma \Bigg (X_{\rho \gamma } -\frac{1}{3} TrXh_{\rho \gamma } \Bigg ),\nonumber \\ Y_{\langle \alpha \beta \rangle }= & {} h_\alpha ^\rho h_\beta ^\gamma \Bigg (Y_{\rho \gamma } -\frac{1}{3} TrYh_{\rho \gamma } \Bigg ). \end{aligned}$$
(35)

We can rewrite \( X_{\langle \alpha \beta \rangle }\) and \( Y_{\langle \alpha \beta \rangle }\) in another way

$$\begin{aligned} X_{\langle \alpha \beta \rangle }= & {} X_{TF} \Bigg (\chi _\alpha \chi _\beta - \frac{1}{3}h_{\alpha \beta } \Bigg ),\nonumber \\ Y_{\langle \alpha \beta \rangle }= & {} Y_{TF} \Bigg (\chi _\alpha \chi _\beta - \frac{1}{3}h_{\alpha \beta } \Bigg ). \end{aligned}$$
(36)

Equations (32) and (33) can be written separately as trace and trace-free components

$$\begin{aligned} TrX \equiv X_T = \bar{\mu }+\epsilon \lambda - \frac{\alpha (1-n)}{2} \mathcal {G} ^n - \frac{\lambda }{2}T - \frac{\hat{\psi }_{00}}{A^2}, \end{aligned}$$
(37)
$$\begin{aligned} TrY \equiv Y_T= & {} \frac{1}{2}\Bigg [\bar{\mu }+\epsilon \lambda + 3\mu \lambda + 3(1+\lambda )\bar{P_r} \nonumber \\&- \ 2(1+\lambda )\bar{\Pi } -\frac{\hat{\psi }_{00}}{A^2}-\frac{\hat{\psi }_{11}}{H^2} \nonumber \\&- \ \frac{2 \hat{\psi }_{22}}{C^2} +\alpha (1-n) \mathcal {G}+\lambda T \Bigg ], \end{aligned}$$
(38)
$$\begin{aligned} X_{TF}= & {} -\varepsilon -\frac{1}{2} \Bigg [(1+\lambda )(\bar{\Pi }-2\eta \sigma ) - \frac{\hat{\psi }_{11}}{H^2}+\frac{ \hat{\psi }_{22}}{C^2}\Bigg ], \end{aligned}$$
(39)
$$\begin{aligned} Y_{TF}= & {} \varepsilon -\frac{1}{2} \Bigg [(1+\lambda )(\bar{\Pi }-2\eta \sigma ) - \frac{\hat{\psi }_{11}}{H^2}+\frac{ \hat{\psi }_{22}}{C^2}\Bigg ], \end{aligned}$$
(40)

where the hat represents the dark source variables computed after using \(f(\mathcal {G}, T)\) model. Using Eqs. (28), (30) and (31) \(X_{TF}\) and \(Y_{TF}\) become

$$\begin{aligned} X_{TF}= & {} -\frac{1}{2} \Bigg [\bar{\mu }+\epsilon \lambda -\frac{\alpha (1-n)}{2}\mathcal {G}^n-\frac{\lambda }{2}T-\frac{\hat{\psi }_{00}}{A^2}\Bigg ]\nonumber \\&+\ \frac{3}{2C^3}\int _{0}^{r}\Bigg [\bar{\mu }+\epsilon \lambda - \frac{\alpha (1-n)}{2}\mathcal {G}^n-\frac{\lambda }{2}T\nonumber \\&-\frac{\hat{\psi }_{00}}{A^2}+\frac{U}{E}\Bigg ((1+\lambda )\bar{q} +\frac{\hat{\psi }_{01}}{AH}\Bigg )\Bigg ]C^2C'dr, \end{aligned}$$
(41)
$$\begin{aligned} Y_{TF}= & {} \frac{1}{2} \Bigg [\bar{\mu }+\epsilon \lambda -2(1+\lambda )(\bar{\Pi }-2\eta \sigma )-\frac{\alpha (1-n)}{2}\mathcal {G}^n\nonumber \\&-\frac{\lambda }{2}T-\frac{\hat{\psi }_{00}}{A^2} + \ \frac{2\hat{\psi }_{11}}{H^2}-\frac{2\hat{\psi }_{22}}{C^2}\Bigg ] \nonumber \\&-\frac{3}{2C^3}\int _{0}^{r}\Bigg [\bar{\mu }+\epsilon \lambda -\frac{\alpha (1-n)}{2}\mathcal {G}^n-\frac{\lambda }{2}T-\frac{\hat{\psi }_{00}}{A^2}\nonumber \\&+ \ \frac{U}{E}\Bigg ((1+\lambda )\bar{q}+\frac{\hat{\psi }_{01}}{AH}\Bigg )\Bigg ]C^2C'dr. \end{aligned}$$
(42)

After using some effective fluid variables Eqs. (37)–(40) can be written as

$$\begin{aligned} X_{TF}= & {} -\frac{1}{2} \Bigg [\mu _{eff}+\epsilon \lambda -\frac{\alpha (1-n)}{2}\mathcal {G}^n-\frac{\lambda }{2}T \Bigg ] \nonumber \\&+ \ \frac{3}{2C^3}\int _{0}^{r}\Bigg [\mu _{eff}+\epsilon \lambda - \ \frac{\alpha (1-n)}{2}\mathcal {G}^n \nonumber \\&-\frac{\lambda }{2}T +\frac{U}{E}\Bigg ((1+\lambda )\bar{q} + \frac{\hat{\psi }_{01}}{AH}\Bigg )\Bigg ]C^2C'dr, \end{aligned}$$
(43)
$$\begin{aligned} Y_{TF}= & {} \frac{1}{2} \Bigg [\mu _{eff}+\epsilon \lambda -\frac{\alpha (1-n)}{2}\mathcal {G}^n-\frac{\lambda }{2}T\nonumber \\&-2(1+ \lambda )\Pi ^{eff}+2\lambda \Bigg (\frac{\hat{\psi }_{22}}{C^2}-\frac{\hat{\psi }_{11}}{H^2} \Bigg ) \Bigg ] \nonumber \\&- \ \frac{3}{2C^3}\int _{0}^{r}\Bigg [\mu _{eff}+\epsilon \lambda -\frac{\alpha (1-n)}{2}\mathcal {G}^n-\frac{\lambda }{2}T \nonumber \\&+ \ \frac{U}{E}\Bigg ((1+\lambda )\bar{q}+\frac{\hat{\psi }_{01}}{AH}\Bigg )\Bigg ]C^2C'dr, \end{aligned}$$
(44)
$$\begin{aligned} X_T= & {} \mu _{eff}+\epsilon \lambda - \frac{\alpha (1-n)}{2} \mathcal {G} ^n-\frac{\lambda }{2}T, \end{aligned}$$
(45)
$$\begin{aligned} Y_T= & {} \frac{1}{2}\Bigg [\mu _{eff}(1+3\lambda )-2\epsilon \lambda + 3(1+\lambda )P_r^{eff} \nonumber \\&- \ 2(1+\lambda )\Pi ^{eff} + \ \lambda \times \Bigg (3\frac{\hat{\psi }_{00}}{A^2}+\frac{\hat{\psi }_{11}}{H^2}+\frac{2 \hat{\psi }_{22}}{C^2}\Bigg ) \nonumber \\&+ \ \alpha (1-n) \mathcal {G}+\lambda T \Bigg ], \end{aligned}$$
(46)

where \(\mu _{eff}\equiv \bar{\mu }-\frac{\hat{\psi }_{00}}{A^2}\) , \(P_r^{eff}\equiv \bar{P_r}-\frac{\hat{\psi }_{11}}{H^2}-\frac{4}{3}\eta \sigma \), \(P_\perp ^{eff}\equiv P_\perp -\frac{\hat{\psi }_{22}}{C^2}+\frac{2}{3}\eta \sigma \) , \(\Pi ^{eff}\equiv P_r^{eff}-P_\perp ^{eff}= \Pi - 2\eta \sigma + \frac{\hat{\psi }_{22}}{C^2}-\frac{\hat{\psi }_{11}}{H^2}\) are effective fluid variables.

The dynamical development of relativistic compact frameworks have a resemblance with these structure scalars. \(X_T\) has important significance in the definition of stellar power density coupled with terms of dark energy source. The evolution equation [53] involving tidal forces and fluid parameter variables is

$$\begin{aligned}&\Bigg [X_{TF}+\frac{1}{2}\Bigg (\mu _{eff}+\epsilon \lambda -\frac{\alpha (1-n)}{2} \mathcal {G} ^n-\frac{\lambda }{2}T\Bigg )\Bigg ]'\nonumber \\&\quad =-X_{TF}\frac{3C'}{C} +\frac{\Theta -\sigma }{2}\Bigg [\frac{\hat{\psi }_{01}}{AH}+\bar{q}H(1+\lambda )\Bigg ]. \end{aligned}$$
(47)

The above expression shows that without dark source terms and radiating variables, we can have the following result

$$\begin{aligned} \bar{\mu }'_{eff}=0\Leftrightarrow X_{TF}=0, \end{aligned}$$

which shows that \(X_{TF}\) is an inhomogeneity factor. Other structure scalars describe expansion rate and shear evolution. The Raychaudhuri equation in our case is

$$\begin{aligned} -Y_T = V^\alpha \Theta _{;\alpha }+\frac{2}{3}\sigma ^2+\frac{\Theta ^2}{3}-a^{\alpha }_{;\alpha }, \end{aligned}$$
(48)

and

$$\begin{aligned} Y_{TF}= & {} a^2 + \chi ^\alpha a_{;\alpha } - \frac{aC'}{HC}-\frac{2}{3}\Theta \sigma -V^\alpha \sigma _{;\alpha }\nonumber \\&-\frac{1}{3}\sigma ^2. \end{aligned}$$
(49)

4 Evolution equations with constant \(\mathcal {G}\) and T

Now we will discuss the modified structure scalars for the dust cloud with Gauss–Bonnet invariant and \(T\equiv T^\alpha _\alpha \). The quantity of mass in this case is

$$\begin{aligned} m=\frac{1}{2}\int _{0}^{r}(\mu )C^2C'dr-\frac{\alpha (1-n)\tilde{\mathcal {G}}+\lambda \tilde{T}}{4}\int _{0}^{r}C^2C'dr,\nonumber \\ \end{aligned}$$
(50)

where tilde indicates that these terms are considered with reference to the constant background. After doing some calculations, the mass function and \(\varepsilon \) for dust cloud become

$$\begin{aligned}&\frac{3m}{C^3}=\frac{1}{2}\Bigg [\mu -\frac{1}{C^3}\int _{0}^{r}\mu 'C^3dr\Bigg ]-\frac{\alpha (1-n)\tilde{\mathcal {G}}+\lambda \tilde{T}}{2}, \end{aligned}$$
(51)
$$\begin{aligned}&\varepsilon = \frac{1}{2C^3}\int _{0}^{r}\mu 'C^3dr-\frac{\alpha (1-n)\tilde{\mathcal {G}}+\lambda \tilde{T}}{4}. \end{aligned}$$
(52)

Equations (51) and (52) are equivalent to Eqs. (28) and (30). The structure scalars for dust cloud are

$$\begin{aligned}&\tilde{X}_T = \mu - \frac{\alpha (1-n)\tilde{\mathcal {G}}}{2}-\frac{\lambda \tilde{T}}{2}, \end{aligned}$$
(53)
$$\begin{aligned}&\tilde{Y}_T = \frac{1}{2}\Bigg [\mu +\alpha (1-n)\tilde{\mathcal {G}}+\lambda \tilde{T}\Bigg ], \end{aligned}$$
(54)
$$\begin{aligned}&-\tilde{X}_{TF}=\tilde{Y}_{TF}=\varepsilon . \end{aligned}$$
(55)

The equations describing evolution and shear expansion become

$$\begin{aligned}&-\tilde{Y}_T = V^\alpha \Theta _{;\alpha }+\frac{2}{3}\sigma ^2+\frac{\Theta ^2}{3}-a^{\alpha }_{;\alpha }, \end{aligned}$$
(56)
$$\begin{aligned}&\tilde{Y}_{TF} = \varepsilon = -\frac{2}{3}\Theta \sigma -V^\alpha \sigma _{;\alpha }-\frac{1}{3}\sigma ^2. \end{aligned}$$
(57)

The differential equation showing the inhomogeneity factor is

$$\begin{aligned} \Bigg [\tilde{X}_{TF}+\frac{1}{2}\mu -\frac{\alpha (1-n)\tilde{\mathcal {G}}+\lambda \tilde{T}}{4}\Bigg ]'=-\tilde{X}_{TF}\frac{3C'}{C} \end{aligned}$$
(58)

from which it follows \(\bar{\mu }'_{eff}=0\Leftrightarrow X_{TF}=0\) describing \(X_{TF}\) as the inhomogeneity factor.

5 Discussion

In this paper, the dynamical system of compact objects has been discussed by considering \(f(\mathcal {G}, T)\) gravity. We take non-static spherically symmetric system coupled with anisotropic stresses radiating through heat flux and streaming approximations. After doing some fundamental calculations, we have affiliated Weyl scalar with structural variables. Further, we investigate the factors affecting the tidal forces in the development of collapsing spherical matter distribution in \(f(\mathcal {G}, T)\) gravity. For this, we split the particular model of \(f(\mathcal {G}, T)\) gravity which is given as \(f(\mathcal {G},T)=f_1(\mathcal {G})+f_2(T)\). We have searched the role of \(f(\mathcal {G}, T)\) terms given by dark energy source in the explanation of scalar functions. These scalars are calculated by orthogonally decomposing the Riemann curvature tensor. We have discovered that these scalar functions control the evolutionary systems in our celestial body.

  • Equation (37) which is itself a structure scalar expresses the energy density together with the dark source variables in spherically symmetric dissipative anisotropic fluid distributions.

  • \(Y_T\) comes out to be the mass density for dynamical system and this quantity is being controlled by means of anisotropic pressure together with dark source terms. The mass density is clearly linked with pressure anisotropy, radiating and non-radiating distributions along side \(f(\mathcal {G}, T)\) gravity corrections. In Eq. (38) \(Y_T\) has a connection with non-dissipative energy density due to the existence of \(3\mu \lambda \) term.

  • For pressure anisotropy expansion free constraint is required. Equations (48) and (56) show that \(Y_T\) controls the evolution of expansion scalar. As a result, \(Y_T\) is significant to recognize the exposure of vacuum cavity inside the stellar object. It can be seen from Eq. (46) that \(Y_T\) has a direct link with pressure anisotropy as well as \(f(\mathcal {G}, T)\) corrections.

  • The impact of shear, local pressure anisotropy and tidal forces together with dark energy can be seen in Eq. (40). The shear evolution has been fully controlled by this scalar function \(Y_{TF}\). One needs to analyse the action of \(Y_{TF}\) in order to interpret the role of shear on dynamical stages of radiating compact object.

  • \(X_{TF}\) controls the energy density inhomogeneity for the anisotropic fluid as well as for dust perfect fluid [52] but in Eq. (47) dissipative fluid parameters along with \(f(\mathcal {G}, T)\) corrections cause an interruption in the contribution of \(X_{TF}\). Although, if expansion scalar becomes equivalent to shear scalar, then due to presence of \(f(\mathcal {G}, T)\) corrections some interruptions will appear in the development of inhomogeneity in relativistic systems. Hence, \(X_{TF}\) controls the energy density irregularities with dark source variables.

  • In dust cloud with constant \(\mathcal {G}\) and T, it is found that in \(X_{TF}\) there are tidal forces that produced irregularities in the homogeneous stellar structures.

The above discussion proves that in modified gravity these structure scalars play an important essential role in the dynamics of self gravitating systems.