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.

Slightly advanced integration problem. Help needed!

Please login with a confirmed email address before reporting spam

Hello,

I've got this integration problem which I have reduced to 1D for simplification. Any help is much appreciated.

Suppose I have a subdomain which is a line from 0 to 1, over which the variable N is known. How do I compute the variable S over the whole domain where S is defined as:-

S(u) = integration_from_0_to_1_of_{N(x).abs(x-u).dx} (0<= u <=1)

Can I do this in the GUI or Matlab/COMSOL Script is the only solution? If so, how?

Many thanks,
Trung

1 Reply Last Post 13.12.2009, 21:24 GMT-5
Robert Koslover Certified Consultant

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13.12.2009, 21:24 GMT-5
You need to used the DEST operator! See the Comsol help system for more info. Here's some of it:

The dest Operator
The dest (destination) operator is available for use in integration-coupling variable expressions. This operator forces the expression that it operates on to be evaluated on the destination points instead of the source points. This means that you can use the destination operator to create convolution integrals and other integral transforms....
You need to used the DEST operator! See the Comsol help system for more info. Here's some of it: The dest Operator The dest (destination) operator is available for use in integration-coupling variable expressions. This operator forces the expression that it operates on to be evaluated on the destination points instead of the source points. This means that you can use the destination operator to create convolution integrals and other integral transforms....

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.