CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

Heat flux boundary condition

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By FMDenaro

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 1, 2020, 01:03
Default Heat flux boundary condition
  #1
New Member
 
Join Date: Mar 2016
Posts: 15
Rep Power: 10
Mike_star is on a distinguished road
Hello everyone,

I am simulating airflow in a room with a block heater using a CFD code.
Does anyone know how to implement heat flux B.C of the block heater in a finite difference CFD code? In energy equation (I mean temperature transport equation), temperature B.C. can be easily applied to the code however applying heat flux B.C. is a little tricky. Can I use T(i)=q''/h+T(i-1) to implement the boundary condition in the fluid domain (T(i) is the temperature on the surface of the heater and shall be computed, T(i-1) is the temperature of adjacent node within the fluid)? If yes, how can I determine the h coefficient?
Any help or comment is appropriated.

Mike
Mike_star is offline   Reply With Quote

Old   March 1, 2020, 03:52
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Mike_star View Post
Hello everyone,

I am simulating airflow in a room with a block heater using a CFD code.
Does anyone know how to implement heat flux B.C of the block heater in a finite difference CFD code? In energy equation (I mean temperature transport equation), temperature B.C. can be easily applied to the code however applying heat flux B.C. is a little tricky. Can I use T(i)=q''/h+T(i-1) to implement the boundary condition in the fluid domain (T(i) is the temperature on the surface of the heater and shall be computed, T(i-1) is the temperature of adjacent node within the fluid)? If yes, how can I determine the h coefficient?
Any help or comment is appropriated.

Mike



On a boundary (for example a wall) you set the continuity between the conduction in the solid (flux q) and the heat flux in the fluid (-k Grad T) along the normal to the boundary. That is


-k dT/dn = q


you see that q must be known from the physics of your problem and k is known from the fluid. Then, you have to discretize dT/dn using an asymmetric FD formula (I strongly suggest to use at least a second order formula) that gives the T at the wall as a function of the internal layer and the condition q.
FMDenaro is offline   Reply With Quote

Old   March 1, 2020, 04:03
Default
  #3
New Member
 
Join Date: Mar 2016
Posts: 15
Rep Power: 10
Mike_star is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
On a boundary (for example a wall) you set the continuity between the conduction in the solid (flux q) and the heat flux in the fluid (-k Grad T) along the normal to the boundary. That is


-k dT/dn = q


you see that q must be known from the physics of your problem and k is known from the fluid. Then, you have to discretize dT/dn using an asymmetric FD formula (I strongly suggest to use at least a second order formula) that gives the T at the wall as a function of the internal layer and the condition q.
Thank you for your reply. I think -k dT/dn = q equation is only applicable in solid domain where the heat conduction is dominant. However, this equation cannot be used for the fluid domain where both convection and conduction exist.
As I mentioned for obtaining the wall temperature, q=h(delta T) equation can be used. However the convection heat transfer coefficient (h) is unknown and that's my problem.
Mike_star is offline   Reply With Quote

Old   March 1, 2020, 04:32
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,768
Rep Power: 71
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by Mike_star View Post
Thank you for your reply. I think -k dT/dn = q equation is only applicable in solid domain where the heat conduction is dominant. However, this equation cannot be used for the fluid domain where both convection and conduction exist.
As I mentioned for obtaining the wall temperature, q=h(delta T) equation can be used. However the convection heat transfer coefficient (h) is unknown and that's my problem.



No, that depends on the problem you are considering. If you are studying a CHT problem then yes, the temperature field in fluid and solid must be solved together.

Conversely, in a classical heat transfer study the heat flux q applied at a wall is a known condition, that is you do not need at all to prescribe h but only the flux. This is a classical non homogenous Neumann condition that is expressed only in terms of the normal derivative of the temperature on the boundary.
pcosta likes this.
FMDenaro is offline   Reply With Quote

Old   March 2, 2020, 16:04
Default
  #5
New Member
 
Pedro Costa
Join Date: Jul 2017
Posts: 9
Rep Power: 8
pcosta is on a distinguished road
Quote:
Originally Posted by Mike_star View Post
Hello everyone,

I am simulating airflow in a room with a block heater using a CFD code.
Does anyone know how to implement heat flux B.C of the block heater in a finite difference CFD code? In energy equation (I mean temperature transport equation), temperature B.C. can be easily applied to the code however applying heat flux B.C. is a little tricky. Can I use T(i)=q''/h+T(i-1) to implement the boundary condition in the fluid domain (T(i) is the temperature on the surface of the heater and shall be computed, T(i-1) is the temperature of adjacent node within the fluid)? If yes, how can I determine the h coefficient?
Any help or comment is appropriated.

Mike
Hi,

Since you are doing CFD, it doesn't make sense to lump convective effects into a heat transfer coefficient h. You are already resolving convective effects from 'first-principles' in the CFD code, since you solve for a velocity field!

So, for instance, if you use central finite differences, at the boundary i=0 you could have something like: (T(1)-t(0))/dx = q'' -> T(0) = q''dx+T(1). But this BC is not centered at the boundary, so it may be nicer to use second-order one-sided differences as suggested above, and you have for constant grid spacing:T(0) = (-2*q''dx+4*T(1)-T(2))/3 [google is your friend for confirming this result ].

I hope this helps!
pcosta is offline   Reply With Quote

Reply

Tags
cfd, finite difference, heat flux


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
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 07:38
CFD analaysis of Pelton turbine amodpanthee CFX 31 April 19, 2018 18:02
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 08:44
Problem in setting Boundary Condition Madhatter92 CFX 12 January 12, 2016 04:39
Enforce bounds error with heat loss boundary condition at solid walls Chander CFX 2 May 1, 2012 20:11


All times are GMT -4. The time now is 12:02.