I admittedly know little about Mendel, other than what I have read in passing, but FWIW, here’s a short summary by Mike Flynn:
People sometimes wonder where Mendel found the time to do all this, considering his monastic responsiblities. I have even seen it alleged that the abbot shut him down, a nice example of “model-based history”*. But the answer is easy. His research
was one of his monastic responsibilities. The monastery had been conducting hybridization research even before Mendel arrived. The Augustinians freed up his time for the research, allocated large plots of land for his research, and built a greenhouse where he could establish a control group for his studies. The Order did not sorta kinda “give Mendel a research grant” to pursue his personal hobby as some historically ill-informed have grudgingly allowed: The research was part and parcel of the Order’s program. Mendel himself had trained as a physicist, not a biologist, so this would not likely have been his own personal choice. Mendel was simply doing the scientific research that his Order asked him to do.**
Mendel’s results were published in the* Proceedings of the Natural History Society of Brünn* in 1866. No-one noticed. Over the next 35 years, his work was cited… three times! Oh well. In the early 1900s, Mendel’s work was rediscovered by Correns, deVries, and others, and developed into an entirely new discipline within biology – genetics.
*model-based history. This is where one starts with an idee fixe and deduces “what must have happened” in the light of that prior assumption. This dispenses with the laborious requirement for actual empirical evidence.
** Oddly, Mendel’s work and the support from his Order are seldom mentioned during debates about church-science relationships. See first note (*).
tofspot.blogspot.com/2011/10/de-evolutione-evolutionis.html
As for Galileo, from the same author quoted above:
The Great Ptolemaic Smackdown