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.

read temperture from conductor model and use it in equation

Please login with a confirmed email address before reporting spam

I am working with a 2D model. I have a circle which represents the cross-sectional area of an overhead line conductor. Around that circle, I draw a rectangle and gave fluid properties (air) to it. This rectangle simulates the convection cooling on the conductor as the conductor gains heat from solar radiation and Joule heating. For this model I use the conjucated heat transfer.

However, I would like to read and store the maximum temperature of the conductor (circle) in a variable named Tmax for example. I have defined Joule heating as a heat source on the conductor surface and is equal to (I^2)*R. The resistance of the conductor (R) varies with conductor temperature in a linear manner.
Let's say for example R=2Tmax+5. I want to store Tmax in a variable and use it in the expression of resistance R. Is there a way to store and use Tmax in R expression?

Also, how can I do this, in order to enable the value of resistance to change automatically as temperature of conductor Tmax varies?

1 Reply Last Post Jul 11, 2014, 8:03 a.m. EDT
Erik Bornhöft COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 10 years ago Jul 11, 2014, 8:03 a.m. EDT
Hi,

you can define a coupling variable to read the maximum value on a specific geometric entity. You can add this variable in "Model>Definitions>Model Couplings>Maximum". By default it will be named "maxop1". You need to define in what area it shall evaluate a maximum. Now refer to that value by using the expression "maxop1(T)" to get e.g. the maximum value of "T" in that area. That expression can be used in any function or condition in your model.

--
Hope that helps!

Best regards,
Erik

*********************
Erik Bornhöft
Senior Technical Sales Engineer
COMSOL Multiphysics GmbH
Robert-Gernhardt-Platz 1
37073 Göttingen
Deutschland

Knowledge Base:
www.comsol.de/support/knowledgebase/browse/900/

COMSOL Blog:
www.comsol.de/blogs/
Hi, you can define a coupling variable to read the maximum value on a specific geometric entity. You can add this variable in "Model>Definitions>Model Couplings>Maximum". By default it will be named "maxop1". You need to define in what area it shall evaluate a maximum. Now refer to that value by using the expression "maxop1(T)" to get e.g. the maximum value of "T" in that area. That expression can be used in any function or condition in your model. -- Hope that helps! Best regards, Erik ********************* Erik Bornhöft Senior Technical Sales Engineer COMSOL Multiphysics GmbH Robert-Gernhardt-Platz 1 37073 Göttingen Deutschland Knowledge Base: http://www.comsol.de/support/knowledgebase/browse/900/ COMSOL Blog: http://www.comsol.de/blogs/

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.