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.

How to perform integration at multiple times?

Please login with a confirmed email address before reporting spam

Hi,

Does anyone know of a way to perform subdomain integration of a variable at each timestep so I can then export it to MATLAB? It is easy to calculate an integral at one point in time... but if I have 1,000 time steps I don't want to click each one of them individually. Anyone?

-Tim

3 Replies Last Post 13 giu 2010, 05:07 GMT-4
Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 12 giu 2010, 11:58 GMT-4
Hi
you should also be able to use the with() or at() operators in a loop in matlab to fetch your data, no ?

Have fun Comsoling
Ivar
Hi you should also be able to use the with() or at() operators in a loop in matlab to fetch your data, no ? Have fun Comsoling Ivar

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13 giu 2010, 00:28 GMT-4
Right, but I don't know how I would perform the integral on a deformed mesh?
Right, but I don't know how I would perform the integral on a deformed mesh?

Ivar KJELBERG COMSOL Multiphysics(r) fan, retired, former "Senior Expert" at CSEM SA (CH)

Please login with a confirmed email address before reporting spam

Posted: 1 decade ago 13 giu 2010, 05:07 GMT-4
Hi

isnt that "postint()", have you checked command.pdf and mlinterface.pdf (V3.5) new names and methods in V4

Ivar
Hi isnt that "postint()", have you checked command.pdf and mlinterface.pdf (V3.5) new names and methods in V4 Ivar

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.