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.

Integrate over arbitrary surface using script

Please login with a confirmed email address before reporting spam

Hi,
Normally, 'post int' can only integrate the value on existing boudnaries. Now the problem is to integrate the value on an arbitrary surface.
First, I want to interpolate the data on specific interier surface (not a existing boundary) where I can define the position and the shape. This can be done by using function 'post interp'.
And then I need to do intergral of these value on the surface. The possible function is 'meshintegrate'. But normally this function is used together with the function 'postcrossplot'. As I found in the help, there is only example that to plot the value on the cross section defined by three point. Is it possible to define a surface with certain area with limit x y range (not cross section) by 'postcrossplot'?


0 Replies Last Post Sep 1, 2010, 11:56 a.m. EDT
COMSOL Moderator

Hello Jing Wen

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.