CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Fix Reynolds Number in a periodic flow

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By agustinvo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 12, 2017, 06:41
Default Fix Reynolds Number in a periodic flow
  #1
New Member
 
Chus Mat
Join Date: Feb 2017
Posts: 12
Rep Power: 9
chusma is on a distinguished road
Hello to everyone,

I am trying to emulate the flow through periodic hills. Here is the case:
http://qnet-ercoftac.cfms.org.uk/w/i...3-30_Test_Case
But I am testing the effect of RANS simulations (k-omega and k-omegaSST) 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 non-periodic 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.
chusma is offline   Reply With Quote

Old   May 12, 2017, 07:00
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
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)
piu58 is offline   Reply With Quote

Old   May 12, 2017, 07:05
Default
  #3
New Member
 
Chus Mat
Join Date: Feb 2017
Posts: 12
Rep Power: 9
chusma is on a distinguished road
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?
chusma is offline   Reply With Quote

Old   May 12, 2017, 07:06
Default
  #4
New Member
 
Chus Mat
Join Date: Feb 2017
Posts: 12
Rep Power: 9
chusma is on a distinguished road
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?
chusma is offline   Reply With Quote

Old   May 12, 2017, 11:15
Default
  #5
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Quote:
Originally Posted by chusma View Post
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...
To be a nitpicker: There doesn't exist a Reynolds number for your geometry. Osborne Reynolds worked with tubes.

His law of similarity may be used for quite a lot (nearly all?) problems, of course. But you have to *define*, what the Reynolds-like 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)
piu58 is offline   Reply With Quote

Old   May 13, 2017, 04:10
Default
  #6
New Member
 
Ertan Demir
Join Date: Mar 2013
Posts: 1
Rep Power: 0
ertand is on a distinguished road
Sent from my GM 5 Plus d using CFD Online Forum mobile app
ertand is offline   Reply With Quote

Old   May 16, 2017, 04:56
Default
  #7
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
Hi

did you try the fvOption meanVelocityForce? There you can fix the mean value of the velocity of your flow.
Luttappy likes this.
agustinvo is offline   Reply With Quote

Old   May 8, 2018, 02:41
Default Implementing cyclic (translational) boundary condition in OpenFOAM
  #8
Member
 
HK
Join Date: Oct 2015
Location: Madras
Posts: 31
Rep Power: 11
Luttappy is on a distinguished road
There are two ways in which we can run translational periodic boundary condition cases. (Read this)
  1. By fixing pressure gradient (mass flow rate will be varying in unsteady case)
  2. By fixing mass flow rate (pressure gradient will be varying in unsteady case)
Second case represent constant Re case.
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 02:13.
Luttappy is offline   Reply With Quote

Old   June 12, 2019, 02:34
Default
  #9
New Member
 
Satyajit Choudhury
Join Date: Jun 2016
Posts: 6
Rep Power: 10
Satyajit92 is on a distinguished road
Quote:
Originally Posted by Luttappy View Post
There are two ways in which we can run translational periodic boundary condition cases. (Read this)
  1. By fixing pressure gradient (mass flow rate will be varying in unsteady case)
  2. By fixing mass flow rate (pressure gradient will be varying in unsteady case)
Second case represent constant Re case.
This can be implemented by using fvOption utility meanVelocityForce.
Please go through channel395 tutorial for more details regarding implemention of above mentioned method.
Hello Luttappy. Any idea how to fix pressure gradient instead of mass flow rate in a periodic boundary condition problem ?
Satyajit92 is offline   Reply With Quote

Old   June 12, 2019, 02:45
Default
  #10
Senior Member
 
Agustín Villa
Join Date: Apr 2013
Location: Alcorcón
Posts: 314
Rep Power: 15
agustinvo is on a distinguished road
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.
agustinvo is offline   Reply With Quote

Old   June 12, 2019, 03:08
Default
  #11
New Member
 
Satyajit Choudhury
Join Date: Jun 2016
Posts: 6
Rep Power: 10
Satyajit92 is on a distinguished road
Quote:
Originally Posted by agustinvo View Post
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.
I will check that out. thanks for the quick reply.
Satyajit92 is offline   Reply With Quote

Reply

Tags
cyclic boundary condition, periodic bc, reynolds number, simple foam, two dimensional model


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
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 06:38
About the Reynolds Number and Y-plus in external flow Mason liu CFX 18 November 10, 2014 19:37
Unaligned accesses on IA64 andre OpenFOAM 5 June 23, 2008 11:37
High Reynolds Number Incompressible Flow Nick Lavery Main CFD Forum 3 February 19, 2002 16:47
Difficulties in solving a high Reynolds number Flow? wowakai Main CFD Forum 10 December 29, 1998 14:46


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