Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.
How to impose a Neumann boundary condition for one dependent variable, but not for others?
Posted 19 feb 2016, 15:24 GMT-5 Modeling Tools & Definitions, Parameters, Variables, & Functions Version 5.1 2 Replies
Please login with a confirmed email address before reporting spam
grad(u1x) = f1(u1, u2, u1x, u2x)
grad(u2x) = f2(u1, u2, u1x, u2x)
At the boundary x=0, I want to impose a Dirichlet boundary condition for u1, and a Neumann boundary condition for u2:
u1(0) = 1
u2x(0) = 1
To impose a Neumann boundary condition, we can select "Physics">"Boundaries">"Flux/Source", and fill in the "Boundary Flux/Source" section. But we have to fill in the two text fields for u1 and u2 at the same time; I cannot find a way to impose a Neumann boundary condition for u2 only, but not for u1.
Note that u1(0)=1 does not mean u1x(0)=0, for example, if the near boundary behavior of u1(x) is 1+c*x+....
How to impose a Neumann boundary condition for one dependent variable, and a Dirichlet boundary condition for another dependent variable?
Hello renphysics
Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.
If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.