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

Boundary Condition of Periodic Boundary Flow

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 24, 2020, 11:59
Default Boundary Condition of Periodic Boundary Flow
  #1
Member
 
Sereff
Join Date: Jan 2019
Posts: 49
Rep Power: 7
Sereff is on a distinguished road
Hi everyone,

Just a quick and easy check, If I were to run a periodic boundary flow simluation, I should implement the following bounary conditions:


Inlet
> velocity: cyclic; > pressure: cyclic; > nut: cyclic;
outlet
> velocity: cyclic; > pressure: cyclic; > nut: cyclic;

ground(wall)
for y+ < 5
> velocity: noSlip; > pressure: zeroGradient; > nut: zeroGradient;
for y+ > 30
> velocity: noSlip; > pressure: zeroGradient; > nut: nutUWallFunction;

upperAtm
> velocity: zeroGradient; > pressure: zeroGradient; > nut: zeroGradient;
sideAtm
> velocity: cyclic; > pressure: cyclic; > nut: cyclic;


Am I correct? With the BCs above I am not able to get the simulation to match the DNS data, by a bit margin. Any advise? Much appreciated


Kind regards,
Sereff is offline   Reply With Quote

Old   May 24, 2020, 12:13
Default
  #2
Member
 
Ardalan
Join Date: Jul 2012
Location: Atlanta, USA
Posts: 77
Rep Power: 14
Ardali is on a distinguished road
Is it a channel flow or free surface channel flow?
In general yes. It depends very much on your resolution.
I assume you talk about channel flow so check available tutotrail in OFm channel395.
Ardali is offline   Reply With Quote

Old   May 24, 2020, 12:57
Default
  #3
Member
 
Sereff
Join Date: Jan 2019
Posts: 49
Rep Power: 7
Sereff is on a distinguished road
Hi Ardali,

Thank you for your reply. That was the case I based on and I validated against. I think the problem might lies in the fvScheme, where I implemented

> div(phi,U) LUST grad(U); instead of > div(phi,U) Gauss linear;

If you have any knowledge to share on the effect of different numerical scheme, it would be amazing.


Kind regards,
Sereff is offline   Reply With Quote

Old   May 24, 2020, 13:38
Default
  #4
Member
 
Ardalan
Join Date: Jul 2012
Location: Atlanta, USA
Posts: 77
Rep Power: 14
Ardali is on a distinguished road
That is a long story. LUST is a TVD scheme with conformal coefficient of 75% centeral differencing. If your case works with 'linear', I recommend to use it. Otherwise TVD with conformal coefficient of 0 is good too.



If you want to do DNS at moderately high Reynolds number, I recommend to put sometime to implement a higher order scheme. It helps you to have less expensive simulation.
Ardalan
Ardali is offline   Reply With Quote

Old   May 24, 2020, 18:47
Default
  #5
Member
 
Sereff
Join Date: Jan 2019
Posts: 49
Rep Power: 7
Sereff is on a distinguished road
Hi again, I changed the numerical schemes, but it seems to be not helping.
I attached my plot of Rij (averaged from UPrime2Mean).

kind regards
Attached Images
File Type: png Rij.png (69.5 KB, 12 views)
Sereff is offline   Reply With Quote

Old   May 24, 2020, 18:51
Default
  #6
Member
 
Ardalan
Join Date: Jul 2012
Location: Atlanta, USA
Posts: 77
Rep Power: 14
Ardali is on a distinguished road
Is it only the resolved part? Please add the modelled part and check again.
Ardali is offline   Reply With Quote

Old   May 24, 2020, 19:11
Default
  #7
Member
 
Sereff
Join Date: Jan 2019
Posts: 49
Rep Power: 7
Sereff is on a distinguished road
yes... so the modeled Rij can be found by
> #includeFunc R;

and the target one is:
Rij = UMean2Prime + RMean?

or is it,
Rij = UMean2Prime + RMean2Prime?

Sorry for my stupid question...

Kind regards,
Sereff is offline   Reply With Quote

Old   May 24, 2020, 20:07
Default
  #8
Member
 
Ardalan
Join Date: Jul 2012
Location: Atlanta, USA
Posts: 77
Rep Power: 14
Ardali is on a distinguished road
No, You have to take nutMean and calculate any term using Boussinesq.
Ardali 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
Wind turbine simulation Saturn CFX 60 July 17, 2024 06:45
sliding mesh problem in CFX Saima CFX 46 September 11, 2021 08:38
Constant mass flow rate boundary condition sahm OpenFOAM 0 June 20, 2018 23:45
Basic Nozzle-Expander Design karmavatar CFX 20 March 20, 2016 09:44
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20


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