CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

How to set Variable Thermal Conductivity?

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree3Likes
  • 1 Post By LThomes
  • 1 Post By ghorrocks
  • 1 Post By ghorrocks

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 21, 2017, 19:48
Default How to set Variable Thermal Conductivity?
  #1
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 9
LThomes is on a distinguished road
Hello,
I'm simulating a flow inside a tube, and the boundary condition at the wall is "Heat Transfer Coefficient", i.e, the thermal conductivity of the material of the tube (I will call it k from now on) over the wall thickness.
The problem is that k is a function of the wall temperature (k = f(T)). Is there anyway I could get the temperature at each cell face of the wall to write an expression at the "Setup", e.g.,
Code:
k = const x Temperature@wall
P.S.: I will also need the rate of heat transfer or heat flux at each cell face of the wall.

Could anybody help me?
Thanks in avance.
tilasoldo likes this.
LThomes is offline   Reply With Quote

Old   July 22, 2017, 07:10
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Heat transfer coefficient is not usually defined from the conductivity and thickness of the wall material. The HTC is usually defined as the heat transfer due to fluid motion next to a wall. The wall conductivity and thickness are usually accounted for differently. Are you sure you are talking about the right thing?
ghorrocks is offline   Reply With Quote

Old   July 22, 2017, 14:52
Default
  #3
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 9
LThomes is on a distinguished road
I'll try to make myself more clear. As you can see from the attached figure, I need the Heat Flux (q") to calculate the temperature at the outside surface of the tube (T2) and the Temperature T1 to calculate my heat transfer coefficient.
The tube walls are not part of the computational domain.
Capturar.PNG
LThomes is offline   Reply With Quote

Old   July 23, 2017, 04:15
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Is this steady state or transient?
ghorrocks is offline   Reply With Quote

Old   July 23, 2017, 07:58
Default
  #5
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 9
LThomes is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
Is this steady state or transient?
It's a steady state regime
LThomes is offline   Reply With Quote

Old   July 23, 2017, 19:33
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
In steady state you can combine the convective outer boundary and the conduction in the tube to a combined boundary on the fluid domain. One approach could be to add the thermal resistance of the convective section and the conduction in the pipe, and apply that as a heat flux boundary condition to the fluid. You can do this using CEL expressions and you will be able to variable k (or anything else for that matter).
ghorrocks is offline   Reply With Quote

Old   July 23, 2017, 19:51
Default
  #7
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 9
LThomes is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
In steady state you can combine the convective outer boundary and the conduction in the tube to a combined boundary on the fluid domain. One approach could be to add the thermal resistance of the convective section and the conduction in the pipe, and apply that as a heat flux boundary condition to the fluid. You can do this using CEL expressions and you will be able to variable k (or anything else for that matter).
I know that, but the problem is that I don't have the temperature at the inside surface of the wall (T1) , it's calculated by the numerical solution. I would like to know if I could get this temperature to calculate k and the HTC at each iteration. So that the HTC boundary condition would change according to each iteration.
LThomes is offline   Reply With Quote

Old   July 24, 2017, 03:39
Default
  #8
Senior Member
 
urosgrivc
Join Date: Dec 2015
Location: Slovenija
Posts: 365
Rep Power: 12
urosgrivc is on a distinguished road
And what is your boundary condition at your most outer wall?
I dont understand, do you just want (T) dependant material properties?
if so you can do it via user function create a table of T and conductivity than set it in material properties as a form of expresion conductivity(T)
urosgrivc is offline   Reply With Quote

Old   July 24, 2017, 07:47
Default
  #9
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You don't need to calculate T1, the solver does it. If you need T1 to evaluate material properties then just use a CEL expression/interpolation function which evaluates material properties as a function of T - it will use T from the previous coefficient loop, so will converge on the correct value of T as your simulation converges.
ghorrocks is offline   Reply With Quote

Old   July 25, 2017, 07:07
Default
  #10
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 9
LThomes is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
You don't need to calculate T1, the solver does it. If you need T1 to evaluate material properties then just use a CEL expression/interpolation function which evaluates material properties as a function of T - it will use T from the previous coefficient loop, so will converge on the correct value of T as your simulation converges.
That's exactly what I want. But how do I do that? Could you please post some pictures or write step by step?
LThomes is offline   Reply With Quote

Old   July 25, 2017, 07:56
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I don't normally do this but I was in the mood for a bit of light entertainment so here goes:

Let the temperature at the inside of the wall be T1, outside T2 and ambient air temp T3. The wall is thickness L, thermal conductivity k and the heat transfer coefficient from T2 to T3 is h.

In the wall, q"=k dT/dX which we will approximate as = k (T1-T2)/L

In the convection q"=h dT = h(T2-T1).

Equate the T2 terms and write in terms of q" and you get

q" = k (T1 - T3)/(L + k/h)

Now you have a function for heat flux at the inside wall as a function of T1 and known variables. You can use this as the heat flux for the wall boundary condition and it will model a combined conducting wall and convection. You can make any of the constants functions of temperature, time, position or anything.

I recommend you check my maths, but that's the general idea.
CFD4world likes this.
ghorrocks is offline   Reply With Quote

Old   July 27, 2017, 13:59
Default
  #12
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 9
LThomes is on a distinguished road
ghorrocks, thank you so much for your attention, but I think I didn't make myself clear yet.
The point is that I don't know how to tell CFX that I want the value of T1. If I create an expression named "T1", I'll just have to type
Code:
T
? Is T the value of the temperature in each wall cell? Or am I only able to get the average temperature at the wall? Just like
Code:
areaAve(T)@wall
LThomes is offline   Reply With Quote

Old   July 27, 2017, 20:04
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Yes, for the variable T1 just use the "T" variable in CFX. This will get the local wall temperature.
LThomes likes this.
ghorrocks is offline   Reply With Quote

Old   July 28, 2017, 12:12
Default
  #14
Member
 
Join Date: May 2017
Posts: 47
Rep Power: 9
LThomes is on a distinguished road
Thanks. And is there anyway I could get the q" on each cell face? I just managed to get the area average, using
Code:
areaAve(Wall Heat Flux)@wall
LThomes is offline   Reply With Quote

Old   July 29, 2017, 07:27
Default
  #15
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,864
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
The variable Wall Heat Flux is the local q".
ghorrocks is offline   Reply With Quote

Reply

Tags
coefficient, conductivity, temperature, variable

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Constant velocity of the material Sas CFX 15 July 13, 2010 09:56
Install Openfoam in Suse 100 setup environment h34gk1 OpenFOAM Installation 1 September 26, 2006 21:08
Problem installing on 64bit with ver13 jonititan OpenFOAM Installation 0 April 28, 2006 06:45
Replace periodic by inlet-outlet pair lego CFX 3 November 5, 2002 21:09
Info: Short Course On Thermal Design of Electronic Equipment Arnold Free Main CFD Forum 0 August 10, 1999 11:18


All times are GMT -4. The time now is 14:41.