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

Convection-Diffusion with Heat Sink - Mesh Effect

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2019, 05:58
Default Convection-Diffusion with Heat Sink - Mesh Effect
  #1
Member
 
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8
HumanistEngineer is on a distinguished road
Hello Again,
I try to model the temperature change (of water) through an insulated pipe in time. So I solve:



The thermal resistance for the pre-insulated pipe is based on \Deltax:


The problem is that whenever I change the mesh size (&number) in space \Deltax while solving the convection diffusion equation (with heat sink) the overall thermal resistance Rt is changing so the water temperature profile through the pipe. For Example (According to steady-state calculations the plateau should be 68.07°C!):



QUESTION: How to avoid the mesh size effect on the heat sink? Are my formulations true in principle?
HumanistEngineer is offline   Reply With Quote

Old   June 7, 2019, 06:16
Default
  #2
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by HumanistEngineer View Post
Hello Again,
I try to model the temperature change (of water) through an insulated pipe in time. So I solve:



The thermal resistance for the pre-insulated pipe is based on \Deltax:


The problem is that whenever I change the mesh size (&number) in space \Deltax while solving the convection diffusion equation (with heat sink) the overall thermal resistance Rt is changing so the water temperature profile through the pipe. For Example (According to steady-state calculations the plateau should be 68.07°C!):



QUESTION: How to avoid the mesh size effect on the heat sink? Are my formulations true in principle?

It is by your definition depending on the mesh size...

Are you sure that your problem has the resistence depending on the mesh size and not on a physical lenght width?
FMDenaro is offline   Reply With Quote

Old   June 7, 2019, 06:25
Default
  #3
Member
 
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8
HumanistEngineer is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
It is by your definition depending on the mesh size...

Are you sure that your problem has the resistence depending on the mesh size and not on a physical lenght width?
If I base on the pipe length instead of basing the mesh size then the heat loss becomes too high, here is the result of the same:

HumanistEngineer is offline   Reply With Quote

Old   June 7, 2019, 07:15
Default
  #4
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
I don't know the physics of your problem but I cannot understand this problem that shows this PDE with a forcing term depending on the mesh size. First of all, I would understand the meaning of the solution for dx->0, that is the exact solution you would compute in the continuous meaning.
FMDenaro is offline   Reply With Quote

Old   June 11, 2019, 06:30
Default
  #5
Member
 
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8
HumanistEngineer is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
I don't know the physics of your problem but I cannot understand this problem that shows this PDE with a forcing term depending on the mesh size. First of all, I would understand the meaning of the solution for dx->0, that is the exact solution you would compute in the continuous meaning.
It is a buried pre-insulated pipe. I try to solve the temperature propagation through pipe in time.

I could not find any resource explaining the convection-diffusion equation with heat sink. Could you suggest any?
HumanistEngineer is offline   Reply With Quote

Old   June 14, 2019, 06:28
Default Convection-Dominated Flow | Finite Difference | Sink Term as Heat Loss
  #6
Member
 
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8
HumanistEngineer is on a distinguished road
I found the mistake in my formulation:

There is a need to correct the heat sink term in the convection-diffusion equation, solving the temperature propagation through an insulated pipe segment in time (no thermal inertia considered). This way the value of c (check the formulation below) becomes constant whatever the spatial mesh size is! However, now I have trouble in my numerical results (oscillation, abnormal results).



Questions:
1) My results are oscillating when I remove the sink term. So can you please check the approximations? Is using FTCS with Upwind Treatment correct for this PDE (Check Figure1)?
2) With the sink term, the result is not realistic! Especially I want to ask you 'How to approximate T itself (in the sink part)?'. Is it true to have the approximation of T as Ti,n? Check Figure2!

Thanks in advance.

Figure1:


Figure2:
HumanistEngineer is offline   Reply With Quote

Old   June 14, 2019, 10:18
Default
  #7
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
The scheme that use the Forward Time and the Upwind discretization is denoted FTUS while the FTCS stands for centred discretization in space.
The FTUS is monotone, therefore you have a bug in your code. Is the transport velocity positive everywhere?
FMDenaro is offline   Reply With Quote

Old   June 14, 2019, 11:13
Default
  #8
Member
 
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8
HumanistEngineer is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
The scheme that use the Forward Time and the Upwind discretization is denoted FTUS while the FTCS stands for centred discretization in space.
The FTUS is monotone, therefore you have a bug in your code. Is the transport velocity positive everywhere?
Yes the velocity is positive through the pipe length.
HumanistEngineer is offline   Reply With Quote

Old   June 14, 2019, 12:02
Default
  #9
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by HumanistEngineer View Post
Yes the velocity is positive through the pipe length.

If the FTUS solution (without the source term) shows numerical oscillations in the range of the numerical stability you have a bug in the code.
What about the numerical condition at the outlet?
FMDenaro is offline   Reply With Quote

Old   June 15, 2019, 09:58
Default
  #10
Member
 
Khan
Join Date: Jul 2018
Posts: 45
Rep Power: 8
HumanistEngineer is on a distinguished road
Quote:
Originally Posted by FMDenaro View Post
If the FTUS solution (without the source term) shows numerical oscillations in the range of the numerical stability you have a bug in the code.
What about the numerical condition at the outlet?
It is Neumann boundary condition at the pipe outlet i.e. dT/dx=0
HumanistEngineer is offline   Reply With Quote

Old   June 15, 2019, 10:41
Default
  #11
Senior Member
 
Filippo Maria Denaro
Join Date: Jul 2010
Posts: 6,849
Rep Power: 73
FMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura aboutFMDenaro has a spectacular aura about
Quote:
Originally Posted by HumanistEngineer View Post
It is Neumann boundary condition at the pipe outlet i.e. dT/dx=0



However, you must assess that the solution is monotone in space, not in time at the outlet
FMDenaro is offline   Reply With Quote

Reply


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
Forced convection heat transfer in heat sink Sidy FLUENT 1 October 18, 2008 04:27
Natural convection - Inlet boundary condition max91 CFX 1 July 29, 2008 21:28
natural convection heat sink D Sunil FLUENT 3 June 16, 2008 07:09
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55
Convergence moving mesh lr103476 OpenFOAM Running, Solving & CFD 30 November 19, 2007 15:09


All times are GMT -4. The time now is 21:24.