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.

How to calculate/record peak value of T variable?

Please login with a confirmed email address before reporting spam

I have a Heat Transfer in Solids model. I would like to know the peak temperature (highest T during the model time) at each (x, y, z) location. Is it possible to add an equation, something like

Tpk = (T>Tpk) * (Tpk-T) + T

?

I tried a few items under Mathematics without any luck. What's the correct method to do it?

1 Reply Last Post Feb 8, 2012, 5:24 p.m. EST
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 Feb 8, 2012, 5:24 p.m. EST
Hi

use a maxop1(T) operator under "Definitions" ...

What is slightly poorly documented is that maxop1(T,x) (with 2 arguments) gives you the "x,y,z,r" respective coordinate, currently (in 4.2a) you get an orange warning error but it does still work. try a search maxop1(T,x) in the doc/help

--
Good luck
Ivar
Hi use a maxop1(T) operator under "Definitions" ... What is slightly poorly documented is that maxop1(T,x) (with 2 arguments) gives you the "x,y,z,r" respective coordinate, currently (in 4.2a) you get an orange warning error but it does still work. try a search maxop1(T,x) in the doc/help -- 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.