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

Streamwise periodic heat trasnfer

Register Blogs Community New Posts Updated Threads Search

Like Tree17Likes
  • 5 Post By AlmostSurelyRob
  • 2 Post By stevenvanharen
  • 1 Post By AlmostSurelyRob
  • 6 Post By AlmostSurelyRob
  • 1 Post By cfdonline2mohsen
  • 2 Post By Luttappy

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 10, 2011, 08:11
Default Streamwise periodic heat trasnfer
  #1
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
Dear All,

I am trying to implement heat transfer in interFoam but coupled with periodic boundary conditions in streamwise direction.

In this case the temperature field is not periodic in any obvious way. But if I focus on a 2D channel case and impose a constant wall temperature and a bulk inlet temperature a renormalised temperature field

\theta = (T - Tw)/(Tbin - Tw)

is self-similar in the sense that if I rescale the profile at the inlet it should coincide with the profile at the outlet.

My question is: how can I do it with interFoam on a cyclic patch? Can I apply anything else than a cyclic boundary condition on this patch? The rescaling would be fairly easy if I had a direct access to values. Is there any easy way of doing it?

Something like writing your new BC applicable on cyclic patch would be great.

I would be obliged for any comments or hints . So far I've been using this thread as a guidance:
http://www.cfd-online.com/Forums/ope...terfoam-3.html
AlmostSurelyRob is offline   Reply With Quote

Old   May 10, 2011, 10:34
Default
  #2
Senior Member
 
Steven van Haren
Join Date: Aug 2010
Location: The Netherlands
Posts: 149
Rep Power: 16
stevenvanharen is on a distinguished road
I cannot help you with this problem.

But why do you want to do it like this? Normally (in literature) temperature is made periodic using a source term (I performed 3D periodic channel and pipe flows using this source). References are Kawamura, Tiselj, Bergant (channel) and Saad (pipe).

Is there a specific reason why to avoid their approach? If you want I can send you one of the references.
cfdonline2mohsen and fumiya like this.
stevenvanharen is offline   Reply With Quote

Old   May 10, 2011, 11:50
Default
  #3
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
Thank you for your comment!

I have to confess that ignorance occurs to me as the only reason. To which papers do you refer exactly?

I downloaded the papers by Kawamura 1998 and Tiselj 2001. The latter one entitled "Effect of wall boundary condition on scalar transfer in a fully developed turbulent flume" talks about constant wall temperature so I am looking at this one at the moment.

I can't see exactly why \theta is to be periodic after inclusion of the source term u^+/2u^+_b in eq (4). In constant heat flux scenario it's correct but for constant wall temperature... shouldn't it be different?
AlmostSurelyRob is offline   Reply With Quote

Old   May 11, 2011, 08:09
Default
  #4
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
I thought I'll post a clarification after my yesterday evening reading.

@
stevenvanharen: You were right about the source term. This seems to be an expedient way of doing it. But I still can't see how these references can be applied to isothermal wall condition.

But I've found this:

S. V. Patankar, C. H. Liu, and E. M. Sparrow.
Fully Developed Flow and Heat Transfer in Ducts Having Streamwise-Periodic Variations of Cross-Sectional Area.
ASME J. of Heat Transfer, 99:180-186, 1977.

which was actually my initial reading on streamwise periodic heat flow. The problem of 'self-similar' profiles is well-addressed there. The difference is that the source term for normalised temperature has to be obtained by solving another equation (no 38 in the publication).

cfdonline2mohsen likes this.
AlmostSurelyRob is offline   Reply With Quote

Old   May 18, 2011, 12:20
Default
  #5
Senior Member
 
Robert Sawko
Join Date: Mar 2009
Posts: 117
Rep Power: 22
AlmostSurelyRob will become famous soon enough
I had a major breakthrough in my problem and now I can gladly report that it actually works. Not everything is sorted out yet, but it seems to be progressing. Steven was right about the source term and my initial post and idea were probably misleading. It's much easier to incorporate a source term in the equations.

My only difficulty was that I didn't know the form of the source term and I couldn't agree with the form given in papers on constant heat flux. Fortunately Patankar paper nails it down. It's really just a bit of calculus

Instaed of solving for tempearture you solve for \theta which is

\theta = (T - Tw)/(Tbx - Tw)

where Tbx is the bulk temperature in the cross section. Moreover you need to define another field lambda which is

\lambda = dTbx/dx/(Tbx - Tw)

Now you can solve the equations for \theta and \lambda and these quantites happen to be periodic.

u d\theta/dx v d\theta/dy = \kappa (d2\theta/dx2 + d2theta/dy2 ) + \sigma

Source term
\sigma = [2 \kappa d \theta/dx - u \theta] \lambda + \kappa \theta [d lambda/dx + lambda^2]

It might look a bit long-winded but it actually makes sense. The solution requires you to iteratively solve for \theta, correct so that bulk \theta is one in each cross-section and than correct \lambda.

Currently I am working on the last bit i.e. correcting lambda. But I attach some results with this post. This is interFoam with heat transfer and periodic boundaries, laminar flow.
Attached Images
File Type: jpg temperatuere_10x.jpg (29.4 KB, 293 views)
AlmostSurelyRob is offline   Reply With Quote

Old   December 1, 2011, 12:50
Default
  #6
Senior Member
 
cfdonline2mohsen's Avatar
 
Mohsen KiaMansouri
Join Date: Jan 2010
Location: CFD Lab
Posts: 118
Rep Power: 16
cfdonline2mohsen is on a distinguished road
Thanks to both Robert Sawko & Steven van Haren for this useful topic.

There is also the Steven van Haren M.Sc. thesis that might be helpful:
"Testing DNS capability of OpenFOAM and STAR-CCM+"

That you can download in DELFT UNIVERSITY OF TECHNOLOGY:

http://www.lr.tudelft.nl/fileadmin/F..._van_Haren.pdf
Luttappy likes this.
cfdonline2mohsen is offline   Reply With Quote

Old   May 3, 2012, 07:00
Default
  #7
New Member
 
Gabriele G.
Join Date: May 2012
Location: Italy
Posts: 1
Rep Power: 0
gabri is on a distinguished road
Dear Robert,

I am really interested in this thread since it has been the subject of my M. Sc. Thesis. At present, I would like to implement in OpenFOAM the model proposed by Patankar for the constant wall temperature case (maybe in the modified form of Stalio and Piller, where only the average lambda over one periodic module is computed by using the integral form of the energy conservation equation). Did you succeed in correcting lambda? Can you give me any advice to perform this task avoiding numerical instability?

Thanks in advance,

Gabriele
gabri is offline   Reply With Quote

Old   July 18, 2016, 16:27
Default
  #8
New Member
 
Dantong Shi
Join Date: Nov 2015
Posts: 6
Rep Power: 11
lion1990 is on a distinguished road
Quote:
Originally Posted by AlmostSurelyRob View Post
I had a major breakthrough in my problem and now I can gladly report that it actually works. Not everything is sorted out yet, but it seems to be progressing. Steven was right about the source term and my initial post and idea were probably misleading. It's much easier to incorporate a source term in the equations.

My only difficulty was that I didn't know the form of the source term and I couldn't agree with the form given in papers on constant heat flux. Fortunately Patankar paper nails it down. It's really just a bit of calculus

Instaed of solving for tempearture you solve for \theta which is

\theta = (T - Tw)/(Tbx - Tw)

where Tbx is the bulk temperature in the cross section. Moreover you need to define another field lambda which is

\lambda = dTbx/dx/(Tbx - Tw)

Now you can solve the equations for \theta and \lambda and these quantites happen to be periodic.

u d\theta/dx v d\theta/dy = \kappa (d2\theta/dx2 + d2theta/dy2 ) + \sigma

Source term
\sigma = [2 \kappa d \theta/dx - u \theta] \lambda + \kappa \theta [d lambda/dx + lambda^2]

It might look a bit long-winded but it actually makes sense. The solution requires you to iteratively solve for \theta, correct so that bulk \theta is one in each cross-section and than correct \lambda.

Currently I am working on the last bit i.e. correcting lambda. But I attach some results with this post. This is interFoam with heat transfer and periodic boundaries, laminar flow.

Hi,

Thank you for your sharing with this problem and your progress. I am also doing a similar problem related to periodic boundary for constant wall temperature case. But I don't know how to add the source term and the iteration for lamda. Can you post your modified solver for this or can you give me any suggestions on that?

Thank!
lion1990 is offline   Reply With Quote

Old   May 9, 2018, 07:55
Default
  #9
Member
 
HK
Join Date: Oct 2015
Location: Madras
Posts: 31
Rep Power: 11
Luttappy is on a distinguished road
Quote:
Originally Posted by gabri View Post
Dear Robert,

I am really interested in this thread since it has been the subject of my M. Sc. Thesis. At present, I would like to implement in OpenFOAM the model proposed by Patankar for the constant wall temperature case (maybe in the modified form of Stalio and Piller, where only the average lambda over one periodic module is computed by using the integral form of the energy conservation equation). Did you succeed in correcting lambda? Can you give me any advice to perform this task avoiding numerical instability?

Thanks in advance,

Gabriele
Anyone successfully implemented the method proposed by Stalio and Piller (JHT,2007)?
Or
Modified method by Wang et al. (PRE,2017) ?
Luttappy is offline   Reply With Quote

Old   February 4, 2020, 02:39
Default
  #10
Member
 
HK
Join Date: Oct 2015
Location: Madras
Posts: 31
Rep Power: 11
Luttappy is on a distinguished road
Quote:
Anyone successfully implemented the method proposed by Stalio and Piller (JHT,2007)?
Or
Modified method by Wang et al. (PRE,2017) ?

We successfully implemented the method proposed by Wang et al. (2017) in our paper. Those who are interested can go through it.

1. Simulation of Fully Developed Flow and Heat Transfer in Wavy Channels Using OpenFOAM
(ResearchGate)

2. Unsteady Flow and Heat Transfer Characteristics of Primary and Secondary Corrugated Channels
(ResearchGate)
jobin2600 and Hughtong like this.
Luttappy is offline   Reply With Quote

Old   March 31, 2022, 14:57
Default
  #11
New Member
 
Philipp
Join Date: Mar 2022
Posts: 6
Rep Power: 4
Phil910 is on a distinguished road
Hello,

i'm currently facing a similar problem as described in this thread. I am trying to simulate a fully developed channel flow with cyclic boundary conditions on inlet and outlet using rhoPimpleFoam and constant heat flux as a wall BC.
Since i am relatively new to Openfoam and i never wrote my own solver i was wondering if it is possible to get rhoPimpleFoam to solve the Energy Equation for a variable like ThetaPlus = T - T_w / T_tau since this solver is not using Temperature but Enthalpy in the Energy Equation and the temperature is then calculated later. I just want to get an idea of how complex it would be to do this and was wondering if anyone has probably done something similar.

Thanks in advance!
Phil910 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
Conjugate heat transfer with periodic boundaries Suresh FLUENT 0 February 23, 2009 10:51
Streamwise periodic heat transfer Novice CFX 0 March 4, 2006 09:14
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 16:55
Heat conduction through solid rib in periodic duct Dieter Fauconnier FLUENT 0 October 7, 2004 09:22
Conjugate heat transfer (vs) periodic boundary mp FLUENT 1 January 13, 2003 02:38


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