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.

Cumulative sum ???

Please login with a confirmed email address before reporting spam

Is it possible to achieve (within comsol) a cumulative sum of a time varying data. Here I'm interested in the calculation of the cumulate mass of water going through a porous media. It is quite easy to get the transient evolution of mass flow rate, but I do not manage to get the cumulative mass flow unless exporting data to Matlab.

Any sugestions are welcome.

Best regards,

D. L.

1 Reply Last Post 2012年9月10日 GMT-4 17:32
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 2012年9月10日 GMT-4 17:32
Hi

what about adding an equation and dependent variable that you integrate over time via COMSOL equation solver ?

There is something about that in the KB (knowledge base, try a search, and on the Forum)

Or you dump your results into a table and apply a sum (lower options of the talbe tab)

--
Good luck
Ivar
Hi what about adding an equation and dependent variable that you integrate over time via COMSOL equation solver ? There is something about that in the KB (knowledge base, try a search, and on the Forum) Or you dump your results into a table and apply a sum (lower options of the talbe tab) -- Good luck 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.