Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

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.

calculating a flux through a curved surface

Please login with a confirmed email address before reporting spam

Hi,
I working on solving the electrokinetics problem in the attached geometry.
I solve the problem but I am having problems with post-processing.

I am interested in calculating the flux through the left semi-circular lobe.

For simplicity lets assume we have one species.

Obviously the flux has an x and y component ( jx and jy).
I have tried using line integration of the total normal flux offered by Comsol but I got the incorrect solution.

I tried to simplify the problem by understanding how line integration works and I get a weird result.
So when I did line integration of 1 on the left semi-circular lobe I simply got pi/2*R which makes sense.
When I integrated x on the lobe I got R^2. This doesn't make sense... I have not been able to fully understand how the line integration function works?

What command should I type in to get the total flux through ?

jx*ny+jy*nx

(nx and ny are the normal vectors to the geometry)

Thanks,


0 Replies Last Post 2012年12月30日 GMT-5 09:59
COMSOL Moderator

Hello Yoav Green

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.