An anisotropic model for stars
A stellar model with anisotropic pressure is constructed and analyzed, the metric components that describe the geometry and the source of matter satisfy Einstein’s equations and both are finite inside the star. In addition, density and pressure are decreasing monotone functions of the radial distance. The speed of sound is positive and less than the speed of light, furthermore the model is potentially stable. The model allows describing compact objects with compactness of [Formula: see text] and as a result of the anisotropic value there is a range of values of the central density, in particular for the maximum value of compactness a star with [Formula: see text] and a value of anisotropic parameter [Formula: see text] we get a stellar radius of [Formula: see text] and a central density [Formula: see text]. The above makes the solution a physically realistic model that can be used to describe dense objects such as neutron stars whose characteristic density is of the order of nuclear density.