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.

Boundary conditions don't seem to hold throughout simulation

Please login with a confirmed email address before reporting spam

Hello!

I am currently working with the microfluidics module and using the laminar two phase flow, phase-field work. For my particular case, I want to use an outlet flow (e.g. 5 μL/min) while leaving the two inlets I have in the module at a certain pressure.

My issue lies on the boundary condition. I computed the surface integral of the velocity at the outlet boundary and, whereas in the beginning there is not a significant difference in the theoretical value (the one I used as input) and the calculated one (i.e. the integral on COMSOL), but after some time, the calculation becomes around 4 times bigger than want I have inputed (refer to annex figure, it represents the relative difference between the two values).

Does anyone have any suggestion to why this happens and how to make this right?

Thanks in advance!!

EDIT I went through the problem and I figured that my flux was not corretcly calculated. I used intop2(spf.U) instead of intop2(nxpf.ux+nypf.uy+nz*pf.uz)



0 Replies Last Post Nov 13, 2019, 9:59 a.m. EST
COMSOL Moderator

Hello André Moura

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.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.