Group Abstract Group Abstract

Message Boards Message Boards

0
|
9.1K Views
|
8 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Please help to understand why NDSolve is not solving a nonlinear PDE in 2D?

Attachments:
POSTED BY: David Quesada
8 Replies

No, I don't think that the non-linearity has something to do with the error.

And that is really mystic. I reduced the problem to one dimension AND removed the derivative of C2 in the boundary condition, but nevertheless the error message persists ???????

Look at the notebook.

Regards Hans

Attachments:
POSTED BY: Hans Dolhaine
POSTED BY: David Quesada

Ok. So the error message was helpful in finding the error in the pde's. Concerning the numerical problems I learned in former times, that sometimes a rescaling of the variables (concentration, time and lengths), so that constants have about the same order of magnitude, turns out to make things running smoothly. But I can't make a proposal having not looked intensely at your system.

Regards Hans

POSTED BY: Hans Dolhaine
POSTED BY: David Quesada

Hmmmm - I boiled it a bit down and get an error message that boundary conditions and equations are not compatible. It says that the order of the derivatives in the boundary conditions must be smaller than in the equations. This is in my opinion the case, but....

Look at the notebook.

Regards Hans

Attachments:
POSTED BY: Hans Dolhaine
POSTED BY: David Quesada

Hello - the content of your notebook looks quite complicated. Could you give an abbreviated form which points out your problem?

Regards Hans

POSTED BY: Hans Dolhaine

Hans, thank you for your time. Here is the block dedicated only to the reaction diffusion solution. Comments were added to the end of each line to be understood. The workflow is as follows: Definition of the region (rectangular region) Definition of the reaction functions for each specie C1 and C2 Definition of the Diffusion operator (Dt C1 - Laplacian[C1]==f[C1,C2]) eqn1=Derivative by time of C1 - Laplacian2D[C1]== reaction function f[C1,C2] eqn2=Deivative by time of C2 - Laplacian2D[C2]==reaction function g[C1,C2] NDSolve is called for solution.

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