Replies: 1 comment 4 replies
-
I'm not quite sure what equation you want to solve, but In any case, the error |
Beta Was this translation helpful? Give feedback.
-
I'm not quite sure what equation you want to solve, but In any case, the error |
Beta Was this translation helpful? Give feedback.
-
Hi, I was happy to discover
py-pde
and am just getting started. I ran into some code that I think should work but does not. If anyone can help me see my mistake I'd really appreciate it:The result should be a linear decrease in
C
from 1 at the left to 0 at the right and uniform in the y-direction. The code above produces an error,NameError: name 'laplace' is not defined
. Running without thebc=bcs
argument returns the trivial result C=1. Usingbc_y = [{"derivative":0}, {"derivative":0}]
seems to blow up.I know I can use
solve_laplace_equation
for this, but I want to use this approach for more complex user-defined problems.Beta Was this translation helpful? Give feedback.
All reactions