
[Sponsors] 
May 12, 2017, 05:41 
Fix Reynolds Number in a periodic flow

#1 
New Member
Chus Mat
Join Date: Feb 2017
Posts: 12
Rep Power: 9 
Hello to everyone,
I am trying to emulate the flow through periodic hills. Here is the case: http://qnetercoftac.cfms.org.uk/w/i...330_Test_Case But I am testing the effect of RANS simulations (komega and komegaSST) in these flow condition, using the solver simpleFoam in a 2D case. To solve the case I am applying cyclic BC on the inlet and the outlet of the flow, without convergence problems. However, I need to fix a Reynolds value to my simulation, with the reference velocity equal to the average velocity on the top of the second hill. I am having problems to fix this value with the cyclic BC. When I initialize my internal field the final values diverge from the Reynolds Number I want to my case. Any idea of how could I fix my average outlet velocity profile and then the Reynolds number with this Cyclic BC. Or how I should initialize better the internal field. I have tried to simulate the flow as nonperiodic Hill with the velocity profile of the experimental data of the reference in the inlet, and then map the fields to my Cyclic BC case. I have also tried to initialize the fields with a uniform value. Any ideas of what should I do? Thank you for your help. 

May 12, 2017, 06:00 

#2 
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 
I don't know how you tried to set the Re number. It is mostly best to change the viscosity rather than the velocity.
__________________
Uwe Pilz  Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) 

May 12, 2017, 06:05 

#3 
New Member
Chus Mat
Join Date: Feb 2017
Posts: 12
Rep Power: 9 
Thank you for your answer
Yes I have already try to set the viscosity to fix the Reynolds of my initial field. But the problem is that in the final field the velocity profile changes, changing then the value of the Reynolds Number according to the case criteria. If exist a possibility of modifying dynamically the viscosity instead the velocity field, I will also like to know it. Please. The main intention of this thread is try to find a way to fix the Reynolds number in the periodic simulation. Any ideas? 

May 12, 2017, 06:06 

#4 
New Member
Chus Mat
Join Date: Feb 2017
Posts: 12
Rep Power: 9 
Thank you for your answer
Yes I have already try to set the viscosity to fix the Reynolds of my initial field. But the problem is that in the final field the velocity profile changes, changing then the value of the Reynolds Number according to the case criteria. If exist a possibility of modifying dynamically the viscosity instead the velocity field, I will also like to know it. Please. The main intention of this thread is try to find a way to fix the Reynolds number in the periodic simulation. Any ideas? 

May 12, 2017, 10:15 

#5  
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 
Quote:
His law of similarity may be used for quite a lot (nearly all?) problems, of course. But you have to *define*, what the Reynoldslike number in your case should be. If the viscosity is constant, you need a characteristic length and a characteristic velocity for that. If the geometry is similar in mathematical sense you may select any of the length measures for analysis of changing. As you mentioned, the selection of a characteristic velocity may be harder. I don't understand your problem in full extend, and don't know where and under which circumstances the velocity changes. Often used values are the free stream velocity o the inlet velocity at pipe and channel streams. You have to select on velocity which fits your model. It may be, that you "see" this velocity first after you finished your simulation. This is not a problem per se. The only flaw is that you don't have round values lik Re=1000 but have to live with something like Re=973 or Re=1059.
__________________
Uwe Pilz  Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) 

May 13, 2017, 03:10 

#6 
New Member
Ertan Demir
Join Date: Mar 2013
Posts: 1
Rep Power: 0 
Sent from my GM 5 Plus d using CFD Online Forum mobile app


May 16, 2017, 03:56 

#7 
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15 
Hi
did you try the fvOption meanVelocityForce? There you can fix the mean value of the velocity of your flow. 

May 8, 2018, 01:41 
Implementing cyclic (translational) boundary condition in OpenFOAM

#8 
Member
HK
Join Date: Oct 2015
Location: Madras
Posts: 31
Rep Power: 10 
There are two ways in which we can run translational periodic boundary condition cases. (Read this)
This can be implemented by using fvOption utility meanVelocityForce. Please go through channel395 tutorial for more details regarding implemention of above mentioned method. Last edited by Luttappy; May 25, 2018 at 01:13. 

June 12, 2019, 01:34 

#9  
New Member
Satyajit Choudhury
Join Date: Jun 2016
Posts: 6
Rep Power: 10 
Quote:


June 12, 2019, 01:45 

#10 
Senior Member
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15 
Hi,
please check the semiImplicitSource https://github.com/OpenFOAM/OpenFOAM...ImplicitSource There, just use the explicit term for adding the pressure gradient, if I remember well> U ( (dpdx dpdy dpdz) 0) Please take a look to the sign of the gradient, otherwise your flow will be oriented in the other sense. 

June 12, 2019, 02:08 

#11  
New Member
Satyajit Choudhury
Join Date: Jun 2016
Posts: 6
Rep Power: 10 
Quote:


Tags 
cyclic boundary condition, periodic bc, reynolds number, simple foam, two dimensional model 
Thread Tools  Search this Thread 
Display Modes  


Similar Threads  
Thread  Thread Starter  Forum  Replies  Last Post 
decomposePar problem: Cell 0contains face labels out of range  vaina74  OpenFOAM PreProcessing  37  July 20, 2020 05:38 
About the Reynolds Number and Yplus in external flow  Mason liu  CFX  18  November 10, 2014 18:37 
Unaligned accesses on IA64  andre  OpenFOAM  5  June 23, 2008 10:37 
High Reynolds Number Incompressible Flow  Nick Lavery  Main CFD Forum  3  February 19, 2002 15:47 
Difficulties in solving a high Reynolds number Flow?  wowakai  Main CFD Forum  10  December 29, 1998 13:46 