Currently I have reached the final stage of my Ph.D study in Germany. Nevertheless, I want to find a new supervisor within the same university or in other German university for Ph.D defense, is this possible?
Long story short, due to the fact that my current supervisor could provide hardly any technical advice nor funding support for my PhD project in the last 2-3 years, the relationship between us became unpleasant and I seldom communicate with him (what can I expect?). Few months ago he told me that he would cancel the duty of supervision because of poor communication, but I can still defense my thesis under his name. I guess the actual reason why he was mad because I was not giving him the source codes of my work (literally for free).
Now my Ph.D thesis is almost finished (time mainly spent on numerical solvers programming based on open-source codes), and I want to find some professor who could at least give me some advice for my final work, and finish my Ph.D defense within 3-6 months. Assuming my future supervisor would agree with this (potentially continue working with him/her after the defense), but does this violate some regulations for Ph.D degree which requires someone staying in the university for a minimum period of time (e.g. enrolled semesters).