Replies: 3 comments 2 replies
-
Thank you for the report. I think you specified the boundary conditions correctly. In fact, the image you posted looks as if |
Beta Was this translation helpful? Give feedback.
-
Thanks for the response. I didn't realize the grid was using the center point of intervals. I am confused about what specifying The docs say the And finally, how would I specify different boundary conditions for each field? I couldn't find any description of how to do that in the docs. Thanks again and let me know if I should clarify anything. |
Beta Was this translation helpful? Give feedback.
-
Okay thanks for the info. Happy to move this to a discussion. I was expecting a linear fit since the interpolate |
Beta Was this translation helpful? Give feedback.
-
Hi all,
This package seems great! I've been looking for something like this for a while so I'm happy to try it out.
I want to simulate the PDE pictured below.
The sigma field is just some source term that I specify manually. (added equation for sigma so PDE class would recognize variable)
When I integrate this equation
I find that the left boundary condition on the field u is not satisfied (didn't check derivative BC on right side yet). I want u(0) = 0 but when I inspect the solution fields I find that u(0) is not actually zero.
It seems that the BCs have been ignored or I haven't specified them properly. I tried making a tuple for each field
bc = [({"value":0},{"derivative": -0.047}), ({"value":0},{"value":10})]
(first tuple has u BCs and second tuple has sigma BCs) but when I do that I get the following errorI've looked through the docs for info on specifying BCs for both fields in a coupled PDE but I wasn't able to find any. Do you know how I can solve this issue?
Beta Was this translation helpful? Give feedback.
All reactions