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.

Dealing with circular variable dependency and temperature dependent thermal properties

Please login with a confirmed email address before reporting spam

Hello,

I am designing a heat exchanger in Comsol without actually modeling the fluid. I model a single channel and I am tracking fluid temperature and properties using variables. One specific example is as follows.

Specific Heat (Cp) is looked up with an interpolation function in which fluid temp and pressure are arguments [eg. Cp(T_fluid, P)]. Fluid temperature changes along the axial length of the exchanger in a way dependent on the Cp at any given point. This gives circular dependency.

Right now I start by solving the problem with a constant Cp. I find the fluid temperature at every 'y' location along the axis of the channel and then create a new Cp function in which the argument is y. I physically input that into the model and then solve again. The problem is that I must do this many times for different channel lengths.

I have seen mention of using ODEs and/or iterative solvers, but I can't find a resource showing how to implement those.

Can you help me?

Bryan

2 Replies Last Post 30.01.2017, 18:08 GMT-5
Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 25.01.2017, 16:28 GMT-5
Hi,

Here is an example from another physics field:

www.comsol.com/model/modeling-stress-dependent-elasticity-14441

Regards,
Henrik
Hi, Here is an example from another physics field: https://www.comsol.com/model/modeling-stress-dependent-elasticity-14441 Regards, Henrik

Please login with a confirmed email address before reporting spam

Posted: 8 years ago 30.01.2017, 18:08 GMT-5
Hi Henrik,
I'm trying to extrapolate this to a three dimensional situation but am having trouble. It's unclear from the earlier example how to modify this to work in other situations. Do you know of any examples of that? This perhaps all stems from my lack of understanding about weak formulations of equations.

Thanks again,
Bryan
Hi Henrik, I'm trying to extrapolate this to a three dimensional situation but am having trouble. It's unclear from the earlier example how to modify this to work in other situations. Do you know of any examples of that? This perhaps all stems from my lack of understanding about weak formulations of equations. Thanks again, Bryan

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.