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
Posted 25 gen 2017, 15:26 GMT-5 Heat Transfer & Phase Change, Studies & Solvers Version 4.4 2 Replies
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
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 gen 2017, 18:08 GMT-5