As of 1 April 2026, the PSJD database will become an archive and will no longer accept new data. Current publications from Polish scientific journals are available through the Library of Science: https://bibliotekanauki.pl
A Bianchi type-I cosmological model in the presence of a magnetic flux along a cosmological string is investigated. The objective of this study is to generate solutions to the Einstein equations using a few tractable assumptions usually accepted in the literature. The analytical solutions are supplemented with numerical and qualitative analysis. In the frame of the present model the evolution of the Universe and other physical aspects are discussed.