Message Boards Message Boards

Repeated solving of PDE with changing (boundary) conditions by NDSolve

Posted 4 years ago

Dear all,

I am new to this forum and it would be glad to get some help of your guys. I am trying to solve a system of PDEs but for a better understanding and clarity I created a simplified test case, see attached file. So please do not care about the physical meaning, it is just a test case.

What is the problem:

I have got several systems of PDEs and I using NDSolve to get the solutions. The system of PDE changes depending on the solution. Hence, I am using the output of the first system of PDEs as an input for the second system of PDEs. The output of the second system of PDEs is the input of the first system of PDEs and so on. I would like to do this several times. Of course, I can do copy paste but this is not efficient. The first initial condition is a good guess.

I need the solution of each loop of each system of PDEs. I tried to understand the following functions ?Nest?, ?Module?, ?Do?, ?For? etc. but I did not get a working solution.

Thanks in advance for your help!

POSTED BY: Ferdinand C
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract