Unused Boundary Condition Error while solving coupled PDEs #698
Replies: 2 comments
-
It looks as if you used the wrong syntax for setting the boundary conditions. Generally, the By the way, it would help tremendously if you provided the code of an actual example demonstrating the problem instead of screenshots! |
Beta Was this translation helpful? Give feedback.
-
Thank you so so much @david-zwicker it worked. I actually saw that on the bc_ops documentation, but I did not know how to implement it in my case. Thanks again. And oops, my bad, here is the code (and some further questions below):
Right now, the code works, but it takes a lot of time, thus, I would like to switch to an implicit solver. From the documentation, the way to implement this is via
But I do not know how to implement this in my solution line below (more so, especially how to provide good initial guesses to reduce computational time).
I would really appreciate your inputs on this and apologies if this seems a bit trivial. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi David and Team.
I encountered an issue when trying to solve the coupled PDE equation below
It's a 1D energy equation for a porous gas-solid media and when I implemented the code below, I got the error "unused boundary conditions" and the equation was not solved.
Code
Error

I have searched the documentation to see where the source of error could be or to find a template for the coupled equations, but I haven't found any so far.
I am not sure if I am cascading the PDEs in the right format or if the problem is with the field definition or how I specified the bc's (bc didn't work so I used bc_ops)....
For better context, the boundary conditions at the left/top is Dirichlet for fluid and Neumann for solid and at the right is Neumann for both fluid and solid and I do not know how to implement that.
I would appreciate it if you point me in the right direction on this one. Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions