#### Abstract

We discuss the collapsing and expanding solutions of anisotropic charged cylinder in the context of theory ( represents the Ricci scalar and denotes the trace of energy-momentum tensor). For this purpose, we take an auxiliary solution of Einstein-Maxwell field equations and evaluate expansion scalar whose negative values lead to collapse and positive values give expansion. For both cases, the behavior of density, pressure, anisotropic parameter, and mass is explored and the effects of charge as well as model parameter on these quantities are examined. The energy conditions are found to be satisfied for both solutions.

#### 1. Introduction

Gravitational force is amenable for governing many astrophysical phenomena like formation of stars, keeping stars together in galaxies, gravitational collapse, and restricting the heavenly bodies in their respective orbits. A star is in equilibrium state under the balance of pressure (directed outward) and gravity (directed inward). It undergoes collapse if gravity exceeds pressure and experiences expansion when pressure overcomes gravity. During the life, a star experiences both of these phenomena. Oppenheimer and Snyder [1] are pioneers to study the gravitational collapse for dust matter. Misner and Sharp worked on the collapse of a star considering isotropic [2] as well as anisotropic fluid [3].

After that, many researchers studied the process of collapse for different configurations. Stark and Piran [4] examined the gravitational waves emitted by the gravitational collapse of rotating relativistic polytropes. Herrera* et al*. [5] examined the dynamical instability of spherical symmetric collapsing fluid suffering heat dissipation and showed that dissipation increases the instability. Harada [6] investigated the final outcome of gravitational collapse of a sphere with perfect fluid distribution and discussed the limits when the singularity is naked or not. Joshi and Dwivedi [7] explored the final outcome of spherical symmetric dust collapse. Depending upon the initial pressure and density distribution, they discussed different new black hole solutions.

The gravity is a direct generalization of general relativity (GR) obtained by replacing with in the Einstein-Hilbert action. Many astrophysical and cosmological phenomena have been explored within the scenario of theory. The contributions of terms can lead to different consequences on various phenomena. Sharif and Kausar [8] discussed the perfect fluid collapse in this theory and solved the equations assuming constant Ricci scalar. They showed that terms play the role of antigravitational force. Cembranos* et al.* [9] worked on spherical dust collapse and showed that the contribution of terms slows down the collapsing process. Hence in general, it can be deduced that the inclusion of higher order curvature terms reduces the collapse rate. Also in GR, a gravitational wave has two polarization modes while in theory it is shown that gravitational wave has two extra modes compared to GR [10].

Harko* et al*. [11] proposed a more generalized gravitational theory known as gravity. The curvature-matter coupling produces a deviation from geodesic motion which may yield interesting results and help to explore dark side of the universe [12]. Shabani and Farhoudi [13] investigated cosmological viability of some gravity models using solar system constraints. Moraes* et al.* [14] studied the equilibrium configurations of neutron and quark stars in this theory concluding that mass can cross observational limits. Noureen and Zubair [15] investigated the stability of anisotropic spherical star in the framework of yielding some constraints on physical quantities. Carvalho* et al.* [16] analyzed white dwarfs using an equation of state describing ionized atoms embedded in a relativistic Fermi gas of electrons in curvature-matter coupling scenario. They observed that white dwarfs have larger radius and mass in gravity than those observed in GR and theory.

Recent detection of gravitational waves has brought motivation to study the collapse phenomenon with the existence of gravitational waves in the exterior. It is well known by Bhirkoff’s theorem that a spherical symmetric vacuum spacetime cannot have gravitational radiation. In this context, the next assumption is cylindrical system, because Einstein and Rosen found exact solution of the field equations which models the propagation of cylindrical gravitational waves. Sharif and Bhatti [17] discussed charged expansion-free cylindrical system and found that stability is controlled by charge, density, and pressures. Yousaf* et al.* [18] discussed the stability of cylindrical stellar system through perturbation technique and found its dependence on the stiffness parameter, matter variables, and dark source terms. Sharif and Farooq investigated the dynamics of charged cylindrical collapse in gravity with perfect [19] as well as bulk viscous dissipative fluid [20] and concluded that collapse rate slows down due to dark source terms.

Rosseland and Eddington [21] were the first who figured out the possibility that stars can have electric charge. After that, the presence of electromagnetic field in self-gravitating systems is explored by many researchers. The effects of charge on spherical collapse [22] and on the stability of compact objects [23] have been investigated with the conclusion that charge halts the collapse and increases the stability regions. Bhatti and Yousaf [24] explored the effects of electromagnetic field on plane symmetric anisotropic dissipative fluid configuration in Palatini gravity. They concluded that matter inhomogeneity is enhanced with charge while it is decreased due to modified gravity terms. Mansour* et al.* [25] analyzed the features of compact stars in the presence of weak electromagnetic field in gravity.

Glass [26] studied the collapsing and expanding solutions for a nonstatic anisotropic spherical source within the scenario of GR. Abbas extended this work for plane symmetric configuration [27], for charged spherical source [28], and for charged cylindrical geometry [29] in GR as well as for sphere in gravity [30]. We discussed these solutions for charged spherical configuration in theory [31]. In this paper, we investigate the effects of charge on the evolution of a nonstatic cylindrical source in gravity. The paper is planned as follows. In the coming section, we discuss the outline of work done; then in the next one, we formulate the Einstein-Maxwell equations for gravity model (where is coupling constant also called model parameter) and discuss the cases of collapse and expansion. In the last section, we summarize our results.

#### 2. Physical Goals

In this section, we first discuss physical goals of the research work presented in this paper and then elaborate the technique to achieve these objectives. Here, we would like to explore physical characteristics of a cylindrical star during the phases of collapse and expansion in the dark energy dominated era. When a star starts to loose the hydrostatic equilibrium, firstly, its outer layers expand and it becomes a red-giant. However, after some time, the star suffers a supernova explosion and experiences a collapse. In order to discuss the whole scenario in an expanding universe, we consider theory of gravity as discussed in the Introduction as an alternative to GR. Also, to extend our discussion, we observe the effects of electromagnetic field and consider a charged star. We aim to discuss the behavior of density, pressures, pressure anisotropy, and mass of the star as well as check the energy conditions for the obtained solutions. We also investigate the effects of curvature-matter coupling and presence of charge on the collapse and expansion phases of the star’s life.

For this purpose, we generate collapsing and expanding solutions for our cylindrically symmetric model. We then analyze the physical parameters graphically such that the density and mass remain positive. Also, the obtained values of density and pressures must satisfy the energy conditions for the viability of the solution; otherwise there is a possibility of existence of exotic fluid that is an unrealistic situation. The value of curvature-matter coupling constant is taken such that our model satisfies the viability conditionswhich yield the constraint for the considered model. In the graphical analysis, free parameters appearing in the solution are fixed such that our solution is physically acceptable; i.e., mass and density are positive and energy conditions are satisfied. In order to examine the effects of electromagnetic field and curvature-matter coupling constant, we vary the values of the total charge and in the plots and check the corresponding increase and decrease in the respective quantity.

#### 3. Einstein-Maxwell Field Equations

The gravity action with the contribution of electromagnetic field is defined asThe electromagnetic Lagrangian density has the form is an arbitrary constant, represents the electromagnetic field tensor, and represents the four potentials. The field equations for the above action arewhere and denote the derivatives of with respect to and , respectively. The expression for is given byand the electromagnetic energy-momentum tensor is defined byThe nonstatic cylindrically symmetric spacetime is taken asThe energy-momentum tensor for anisotropic fluid is given bywhere denotes the four velocities, , are unit four-vectors, stands for density, and , , are the pressures in , , and directions, respectively. The four-vectors , , and have the expressionswhich satisfy the following relations:

The Maxwell equations are given bywhere represents the four currents. In comoving frame, the four potentials and four currents are defined as, (both are functions of and ) represent electric scalar potential and charge density, respectively. The Maxwell equations for the metric (6) yieldIntegration of (12) giveswhere is the total charge of the cylinder. We take proposed by Harko* et al.* [11] to explore the effects of curvature-matter coupling on collapsing and expanding solutions. This model has frequently been used in literature [32–35] which yields a power-law type scale factor and is able to discuss accelerated expansion of the universe. It corresponds to CDM model with trace dependent cosmological constant or gravity discussed by Poplawski [36]. The above-mentioned expression of and simplify the field equations aswhich produces the following set of equations:where dot and prime represent differentiation with respect to and , respectively.

A simultaneous solution of the field equations gives the following explicit expressions of density and pressure components:The anisotropic parameter is defined asTo investigate the collapse and expansion of considered cylindrical source, the expansion scalar is evaluated asand an auxiliary solution of (17) iswhere and are arbitrary constants. The above solution leads toThe positive values of provide expansion and its negative values correspond to collapse. The value of depends on , and in which and are always positive implying that we have collapse for and expansion for . We explore these cases one by one in the following subsections.

##### 3.1. Collapse for

For collapsing solution, we find the unknown metric function in the solution (27) such that the collapse leads to the formation of trapped surfaces. The mass function for the cylindrically symmetric charged source is obtained asEquation (27) simplifies the mass expression asFor trapped surface formation [29], which yieldswhere is an integration function and the collapsing solution becomes

For the sake of simplicity, we consider as a linear function of , i.e., , and obtain the following expressions of density and pressures: For the solution (32)-(34), the anisotropic parameter and mass function become

For the collapsing case, the graphical representation of different parameters is given in Figures 1–7. We observe that the quantities are changing with respect to temporal coordinate while no change is observed with respect to radial coordinate. The change in different quantities with respect to time is given in Table 1 and the effects of charge as well as model parameter are summarized in Table 2.

To observe physical viability of our solution, we plot the null (NEC), weak (WEC), strong (SEC), and dominant (DEC) energy conditions for the curvature-matter coupled gravity [37]:(i)NEC: .(ii)WEC: .(iii)SEC: .(iv)DEC: .

The term is due to nongeodesic motion of massive particles. We evaluate asFor the collapse solution, we haveAll the energy conditions defined above are plotted in Figures 8–11; the repeated expressions are shown only once. From these plots, it can be easily seen that all the energy conditions are satisfied for the considered values of free parameters of the collapse solution.

##### 3.2. Expansion for

In this case, we require an expression of the metric coefficient for expanding solution. For convenience, We assume it a linear combination of and such that the expansion scalar remains positive for the resulting solution as shown in Figure 12. Thus the expanding solution is given byConsequently, the expressions of , , , and take the formThe anisotropic parameter and mass function are obtained asThe evolution of physical parameters during expansion is represented through Figures 13–18. It is found that the quantities vary with both time and radial coordinates. The graphical analysis is summarized in Tables 3 and 4.

The acceleration term in this case becomesThe graphs for energy conditions for expanding solutions are given in Figures 19–22 showing that all the energy conditions are satisfied.

#### 4. Concluding Remarks

Accelerated expansion of the universe is an observed phenomenon which can affect astrophysical processes. To study the consequences of the expanding universe on collapsing and expanding scenarios of a stellar object, we consider charged anisotropic cylindrical source in framework. The solutions of Einstein-Maxwell field equations governing the phenomena of collapse and expansion during stellar evolution are discussed. We explore the role of electromagnetic field and model parameter on the physical features.

In case of collapse solution, the expansion scalar, density, pressures (, and ), anisotropy, and mass do not change with radial coordinate. For expanding solution, the change remains the same for both coordinates. The behavior of these parameters with respect to time remains the same for both cases, except . The anisotropy is positive for both cases which enhances the compactness of the system as discussed in [38]. In both cases, the increase in total charge has the same effects on physical quantities. The effect of model parameter is different for and in both cases while it is same for the remaining quantities. We conclude that the collapse rate increases for the collapse solution while the expansion rate decreases for the expanding solution. It is found that the energy conditions are satisfied in both cases showing physical viability of our solutions for the considered values of constants.

Finally, we compare our results with those found in GR or [29]. For our collapse solution, the change in physical quantities is related with increase in time not with radius while in GR the quantities vary with radial coordinate but do not vary with temporal one. In case of expanding cylinder, the physical parameters vary with increase in both time and radius for our solution while in GR the solution only induces a change with respect to . In both cases, the anisotropy decreases for our solutions while it increases in GR. The increase in anisotropy can distort the geometry of the system; i.e., solutions in GR can deform the shape of the system. On the other hand, for our solutions the anisotropy decreases leading to geometry preservation which is due to the dark source terms. It is worthwhile to mention here that our solutions satisfy the energy condition for chosen values of constants which are not shown in the similar works [26–29].

#### Data Availability

No data were used to support this study.

#### Conflicts of Interest

The authors declare that they have no conflicts of interest.

#### Acknowledgments

We would like to thank the Higher Education Commission, Islamabad, Pakistan, for its financial support through the* Indigenous Ph.D. 5000 Fellowship Program Phase-II, Batch-III*.