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.
Modeling Second order PDE
Posted Nov 23, 2010, 9:50 p.m. EST 0 Replies
Please login with a confirmed email address before reporting spam
I'm fairly new to comsol, so I was wondering if you guys could help me with something I'm working on. I'm trying to model electroosmotic flow through a 2d rectangular channel. I understand how to do the actual fluid flow part, but I'm having a problem modeling the electrical potential using the coefficient pde. Here is what I'm doing:
coefficient PDE:
f= -2*z*e*n*sinh(z*e*potential/(kb*T))/(er*eo)
c=1
all other coefficients are zero
boundaries:
inlet & outlet: neumann type with zero coefficients (so dpotential/dx = 0)
upper & lower wall: dirichlet type with h=1 & r=potential at walls
When I run it like this, comsol just spits out that the potential everywhere is equal to the potential at the walls. So I tried putting in another boundary right in the middle of the channel and setting both the neumann and dirichlet coefficients to zero, but then comsol just solves the potential as a linear function increasing to zero from my potential at the walls (which is negative). The potential should look more like a rapidly decaying exponential but for some reason comsol is not solving it that way. I tried playing around with the solver by checking the "highly nonlinear" box in the solver's menu but it just gave the same solution.
Is there something I'm doing wrong or something I need to tell comsol to do in order to solve it as an exponential?
For reference, here's the wikipedia page on electroosmotic flow: en.wikipedia.org/wiki/Electroosmotic_flow
If you look at that, consider my rhoe (electric charge density) to be the hyperbolic sine function i put in the f coefficient
Thanks for your time,
-Jack
Hello Jack Williams
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.