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

Adding temperature field to Channel Flow simulations

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 14, 2021, 06:30
Default Adding temperature field to Channel Flow simulations
  #1
New Member
 
Join Date: Jul 2019
Posts: 11
Rep Power: 7
Jan995 is on a distinguished road
Hi,

I am trying to add temperature field to channel flow simulations. So, firstly I have started with channel395 tutorial case. This test case is using cyclic boundary condition, which is not fine for temperature field, because I want to have at the inlet constant temperature. I found this solution:
Quote:
inlet
{
type inletOutlet;
patchType cyclic;
inletValue uniform 303.15;
value uniform 303.15;
}
but, this does not work for me, as I get the following error:
Quote:
inconsistent patch and patchField types for
patch type cyclic and patchField type inletOutlet
.
I tried using mapping boundary condition, but here I get another problem, because I cannot get turbulent flow when using mapped boundary condition. Even if I start the simulation with mapped boundary condition, the turbulence dies down over time and I cannot see, where the problem is. I tried using mapped boundary condition before with different cases and it worked fine.
Does anyone have any solutions to these two problems? Thanks!
Jan995 is offline   Reply With Quote

Old   January 14, 2021, 09:56
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!


So you have a cyclic flow field with a temperature field which is not cyclic? Can I ask you what kind of physical phenomena is this?
simrego is offline   Reply With Quote

Old   January 14, 2021, 14:13
Default
  #3
New Member
 
Join Date: Jul 2019
Posts: 11
Rep Power: 7
Jan995 is on a distinguished road
Quote:
Originally Posted by simrego View Post
Hi!


So you have a cyclic flow field with a temperature field which is not cyclic? Can I ask you what kind of physical phenomena is this?
Thanks for your reply!

Long story short, we are investigating temperature fluctuations at the heated wall experimentally, but also doing some simulations. Channel flow simulations are done as a sort of validation case. For calculating averages it is quite unpleasant to have cyclic boundary condition for temperature.

But, I found the solution. The problem with my mapped inlet was, that the mapping was done for not long enough distance, so the turbulence couldn't develop. If anyone occurs the same problem - make the mapping length longer!
Jan995 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
[swak4Foam] swakExpression not writing to log alexfells OpenFOAM Community Contributions 3 March 16, 2020 19:19
chtMultiRegionFoam Temperature field is not moving with the flow DrDan OpenFOAM Running, Solving & CFD 3 October 13, 2014 15:32
fluid flow but temperature raises from nowhere? mxcfd STAR-CCM+ 5 September 16, 2014 06:46
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 07:51
bulk temperature in channel flow moshe FLUENT 0 May 13, 2007 10:21


All times are GMT -4. The time now is 19:20.