[Tex/LaTex] TeX-studio compilation error: .bbl file doesn’t regenerate

bblbibliographiescitingtexstudio

I am using TeXstudio to compile, the problem I am having is that I cannot regenerate the file when I add references to my text. The .bbl file doesn't regenerate itself and it is totally empty. It looks like this:

\begin{thebibliography}{-------}
\providecommand{\natexlab}[1]{#1}

\end{thebibliography}

The references are cited in .bib file and the .tex file; how to correctly compile this so that the .bbl file gets regenerated and successfully build my file?

The exact error which shows up is:

Something's wrong--perhaps a missing \item. \end{thebibliography}

A snippet of my .tex file:

\documentclass[applsci,article,submit,moreauthors,pdftex,10pt,a4paper]{Definitions/mdpi} 
\begin{document}
\cite{BOURDIN2000797} \cite{MIEHE20102765,doi:10.1002/nme.2861,MOLNAR201727,MSEKH2015472}.\cite{BOURDIN2000797}.
%=====================================
% References, variant B: external bibliography
%=====================================
\externalbibliography{yes}
\bibliography{trial.bib}
\end{document}

My .bib file looks like:

@article{BOURDIN2000797,
    title = "Numerical experiments in revisited brittle fracture",
    journal = "Journal of the Mechanics and Physics of Solids",
    volume = "48",
    number = "4",
    pages = "797 - 826",
    year = "2000",
    issn = "0022-5096",
    doi = "https://doi.org/10.1016/S0022-5096(99)00028-9",
    url = "http://www.sciencedirect.com/science/article/pii/S0022509699000289",
    author = "B. Bourdin and G.A. Francfort and J-J. Marigo",
    keywords = "A. Fracture, Fracture toughness, C. Energy methods, Variational calculus, Finite elements",
}

@article{MOLNAR201727,
    title = "2D and 3D Abaqus implementation of a robust staggered phase-field solution for modeling brittle fracture",
    journal = "Finite Elements in Analysis and Design",
    volume = "130",
    pages = "27 - 38",
    year = "2017",
    issn = "0168-874X",
    doi = "https://doi.org/10.1016/j.finel.2017.03.002",
    url = "http://www.sciencedirect.com/science/article/pii/S0168874X16304954",
    author = "Gergely Molnár and Anthony Gravouil",
    keywords = "Brittle fracture, Crack propagation, Abaqus UEL, Phase-field, Staggered solution, Finite element method",
}

@article{MSEKH2015472,
    title = "Abaqus implementation of phase-field model for brittle fracture",
    journal = "Computational Materials Science",
    volume = "96",
    pages = "472 - 484",
    year = "2015",
    note = "Special Issue Polymeric Composites",
    issn = "0927-0256",
    doi = "https://doi.org/10.1016/j.commatsci.2014.05.071",
    url = "http://www.sciencedirect.com/science/article/pii/S0927025614004133",
    author = "Mohammed A. Msekh and Juan Michael Sargado and Mostafa Jamshidian and Pedro Miguel Areias and Timon Rabczuk",
    keywords = "Finite element method, Abaqus user subroutines, Phase-field model, Brittle fracture",
}

@article{MIEHE20102765,
    title = "A phase field model for rate-independent crack propagation: Robust algorithmic implementation based on operator splits",
    journal = "Computer Methods in Applied Mechanics and Engineering",
    volume = "199",
    number = "45",
    pages = "2765 - 2778",
    year = "2010",
    issn = "0045-7825",
    doi = "https://doi.org/10.1016/j.cma.2010.04.011",
    url = "http://www.sciencedirect.com/science/article/pii/S0045782510001283",
    author = "Christian Miehe and Martina Hofacker and Fabian Welschinger",
    keywords = "Fracture, Crack propagation, Phase fields, Gradient-type damage, Incremental variational principles, Finite elements, Coupled multi-field problem",
}

@article{doi:10.1002/nme.2861,
    author = {Miehe C. and Welschinger F. and Hofacker M.},
    title = {Thermodynamically consistent phase‐field models of fracture: Variational principles and multi‐field FE implementations},
    journal = {International Journal for Numerical Methods in Engineering},
    volume = {83},
    number = {10},
    pages = {1273-1311},
    keywords = {fracture, crack propagation, phase‐fields, gradient‐type damage, incremental variational principles, finite elements, coupled multi‐field problems},
    doi = {10.1002/nme.2861},
    url = {https://onlinelibrary.wiley.com/doi/abs/10.1002/nme.2861},
    eprint = {https://onlinelibrary.wiley.com/doi/pdf/10.1002/nme.2861},
}

Best Answer

The file name in \bibliography must be given without the .bib file extension, so the correct form would be

\bibliography{trial}

You will also want to check the author field in doi:10.1002/nme.2861. Family and given names must be separated with a comma if they are given in reversed order, so

author = {Miehe, C. and Welschinger, F. and Hofacker, M.},

would be correct.

Furthermore, have a look at your doi fields and make sure they only include the DOI and not the entire URL of the resolver, so in MIEHE20102765 you should have

doi = "10.1016/j.cma.2010.04.011",
Related Question