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

fvModels does not give expected result for turbulent channel flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 29, 2023, 10:55
Lightbulb fvModels does not give expected result for turbulent channel flow
  #1
New Member
 
Join Date: Feb 2023
Posts: 2
Rep Power: 0
amirfard is on a distinguished road
I am going to test the LES turbulent channel flow of OpenFOAM.

In the original test case (OpenFOAM 10) fvConstraints is used. Then I want to retest the problem by just setting the semiImplicitSource for momentum equation (i.e. a body force) in "fvModels". I set the body force according to g= u_\tau^2 * density / H. Here, H is the half channel height. And u_\tau is obtained from the Reynolds number definition for Re=395 as Re_\tau = u_\tau.H/(\nu).

Interestingly, the velocity profile that I obtain is very different from the case of using fvConstaints.

Can anybody explain why and how to set the pressure gradient (or body force) in a turbulent channel flow?
amirfard is offline   Reply With Quote

Old   March 27, 2024, 08:01
Default
  #2
New Member
 
Join Date: Feb 2023
Posts: 2
Rep Power: 0
amirfard is on a distinguished road
Quote:
Originally Posted by amirfard View Post
I am going to test the LES turbulent channel flow of OpenFOAM.

In the original test case (OpenFOAM 10) fvConstraints is used. Then I want to retest the problem by just setting the semiImplicitSource for momentum equation (i.e. a body force) in "fvModels". I set the body force according to g= u_\tau^2 * density / H. Here, H is the half channel height. And u_\tau is obtained from the Reynolds number definition for Re=395 as Re_\tau = u_\tau.H/(\nu).

Interestingly, the velocity profile that I obtain is very different from the case of using fvConstaints.

Can anybody explain why and how to set the pressure gradient (or body force) in a turbulent channel flow?
Solved! In fvConstraints the pressure gradient is automatically adjusted by OpenFOAM to reach the user-defined bulk velocity. If we are not using DNS, this pressure drop is not the same as the theoretical one given in the formula above.
Therefore, if we want to do the test case with fvModels, the user-defined pressure gradient should be the same as what is reported by OF in fvConstraints output log.
In this case, both fvModels and fvConstraints lead to the same u_\tau values.
amirfard is offline   Reply With Quote

Reply

Tags
channel, fvconstraints, fvmodels, semiimplicitsource, turbulent


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
Ncrit for a glider Xfoil. How to use it. GPT4 answer AlanMattanó Main CFD Forum 0 April 10, 2023 12:16
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 06:40
Turbulent transition in channel flow yansheng STAR-CCM+ 11 June 16, 2016 09:05
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 18:44
Yacht in Open Channel Flow andreimour FLUENT 1 October 14, 2010 23:54


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