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, 11: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, 09: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 13:16
Issues on the simulation of high-speed compressible flow within turbomachinery dowlee OpenFOAM Running, Solving & CFD 11 August 6, 2021 07:40
Turbulent transition in channel flow yansheng STAR-CCM+ 11 June 16, 2016 10:05
How to install CGNS under windows xp? lzgwhy Main CFD Forum 1 January 11, 2011 19:44
Yacht in Open Channel Flow andreimour FLUENT 1 October 15, 2010 00:54


All times are GMT -4. The time now is 16:09.