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

LES about BC cyclic and turbulence

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 6, 2014, 11:10
Default LES about BC cyclic and turbulence
  #1
Member
 
Jason Tan
Join Date: Sep 2014
Posts: 47
Rep Power: 11
tzqfly is on a distinguished road
I'm ready to use LES to simulation a duct square turbulence in OF,inlet and outlet are cyclic , but there's something about BC cyclic and turbulence bother me .

Question 1:cyclic BC.
I manually set a cyclic BC wiyhout use any utility, but I saw the OF2.1/channelFoam/0.org/U ,the inlet and the outlet are divided into half,it's like inlet_half0、inlet_half1 and outlet_half0、outlet_half1 ,antbody could tell me ,why does it need divided into half,should I use any utility like createPatch or something to set cyclic ??How could I do that ?

Question 2:turbulence

Some page told me use the utility perturbU to create turbulence ,I compiled it correctly ,and use it in OF2.1.1,there are two questions I'm not clear
1.I used perturbU ,and it just created a new "U",but I saw the channelFoam,it created a new "0"folder ,the "k" "nusgs" "p" "U" became a new one ,original "0" became "0.org".why I use perturbU ,it just created a new "U" without a new "k" "nusgs" "p" ???
2.the "U" file just change the streamdirection value ,but in the channelFoam/0/U,all direction value changed ,why ??
or I should use other utility to create turbulence ??

anybody help me ?
best wishes .
tzqfly is offline   Reply With Quote

Old   October 7, 2014, 03:07
Default
  #2
Member
 
Jason Tan
Join Date: Sep 2014
Posts: 47
Rep Power: 11
tzqfly is on a distinguished road
anybody help me ??
tzqfly is offline   Reply With Quote

Old   October 7, 2014, 21:40
Default
  #3
New Member
 
Andrew Dong
Join Date: Sep 2014
Posts: 5
Rep Power: 11
dong is on a distinguished road
Anybody knew that ??
I have the same problems
dong is offline   Reply With Quote

Old   October 8, 2014, 10:14
Default
  #4
New Member
 
Hans Barósz
Join Date: May 2014
Posts: 22
Rep Power: 11
HanSolo123 is on a distinguished road
1) It is divided into 2 parts to get a concentration of points near the wall to resolve the gradients. For postprocessing the channel flow, you usually only plot one half.

It is possible to use only one block, but then you have to modify your blockMesh function to get a concentration in both directions. You can search the forum here, one user posted this function.

Nevertheless I would recommend you to keep the double parts because you can easily use the postChannel utility afterwards, that uses the symmetry.

2) the perturbU utility is to create a turbulent initial solution because it takes ages to get a proper initial solution from u=(0,0,0) or whatever.
The perturbU utiltiy was created by Eugene de Villers in his PhD thesis. You can find it on google and in several threads in this forum.

However, this utility may just be suitable for initial solution. In my simulations of the LES channel flow, I dont really trust it and I create my initial solutions from the values of the tutorial file and then simulate for a long time period with medium high Courant number.
After that, I decrease the maxCo to 0.3 or something and start averaging.

Decide yourselve if you like the perturbU utility or not. The thesis might be helpful for your decision.
HanSolo123 is offline   Reply With Quote

Old   October 9, 2014, 21:59
Default
  #5
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13
huangxianbei is on a distinguished road
I agree with Hans in Q1, while for Q2, perturbU can still be a good tool to generate your initial field, although I found that it just create almost the same field no matter what's the Reynolds number is If you don't have experiment data of the inlet ,perturbU is a good choice.
huangxianbei is offline   Reply With Quote

Old   October 11, 2014, 03:43
Default
  #6
New Member
 
Andrew Dong
Join Date: Sep 2014
Posts: 5
Rep Power: 11
dong is on a distinguished road
Quote:
Originally Posted by huangxianbei View Post
I agree with Hans in Q1, while for Q2, perturbU can still be a good tool to generate your initial field, although I found that it just create almost the same field no matter what's the Reynolds number is If you don't have experiment data of the inlet ,perturbU is a good choice.
Hi, my friend,could I ask some questions about my simulation ,when you used the utility perturbU ,the streamwise velocity changed or all the direction velocity changed ??? The files "k""nusgs"also changed ???
I saw you are a ACU student ,I'm a Chinese student too ,could I contact you with E-mail or QQ ??thank you very much
dong is offline   Reply With Quote

Old   October 11, 2014, 04:23
Default
  #7
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13
huangxianbei is on a distinguished road
Quote:
Originally Posted by dong View Post
Hi, my friend,could I ask some questions about my simulation ,when you used the utility perturbU ,the streamwise velocity changed or all the direction velocity changed ??? The files "k""nusgs"also changed ???
I saw you are a ACU student ,I'm a Chinese student too ,could I contact you with E-mail or QQ ??thank you very much
only the velocity is changed,if you look into perturbU.C, you'll find that both the streamwise and spanwise velocity components are changed. My qq is 601369952, but I only keep online when I'm free.
huangxianbei is offline   Reply With Quote

Old   October 11, 2014, 08:12
Default
  #8
New Member
 
Andrew Dong
Join Date: Sep 2014
Posts: 5
Rep Power: 11
dong is on a distinguished road
OK,I'll just contact you use QQ-mail,you can answer me when you free .
best wishes
dong is offline   Reply With Quote

Old   October 11, 2014, 08:20
Default
  #9
New Member
 
Andrew Dong
Join Date: Sep 2014
Posts: 5
Rep Power: 11
dong is on a distinguished road
I'm sorry for a litter later reply .
Need I use the utility createPatch to create the cyclic BC?
dong is offline   Reply With Quote

Reply

Tags
cyclic les turbulence


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
Why Menter's SST model low-Re issue has not been seriously investigated? vkrastev OpenFOAM 58 January 8, 2018 15:20
How to setup cyclic BCs in simpleFOAM hhuang84 OpenFOAM Running, Solving & CFD 14 December 8, 2016 11:39
Unhandled coupledPolyPatch type cyclic Ariane OpenFOAM Running, Solving & CFD 2 April 20, 2016 10:52
setup problems - LES pipe flow with cyclic BC (1) and direct mapped inlet (2) florian_krause OpenFOAM 22 June 13, 2013 21:25
Wrong wall distance with cyclic boundaries sebastian OpenFOAM Bugs 4 October 31, 2012 10:24


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