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

cyclic boundary conditions for turbulence model

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 14, 2017, 05:45
Default cyclic boundary conditions for turbulence model
  #1
New Member
 
Qihao Jiang
Join Date: Dec 2017
Posts: 20
Rep Power: 8
Qihao is on a distinguished road
I was trying to solve channel flow with fully developed flow at inlet as well as outlet using pisoFoam. I would like to know how to implement periodic/cyclic boundary condition (translational) in inlet as well as outlet. I can add a source item (fvoption) of meanvelocityForce to driven the river flow. while for the turbulence model, how can I give a similar boundary for the turbulence kinetic energy like this? I think the single cyclic boundary for the turbulence kinetic energy maybe not correct.
Qihao is offline   Reply With Quote

Old   December 15, 2017, 07:37
Default
  #2
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
Dear Qihao,
the cyclic boundary conditions in Openfoam work pairwise. So you have to define which connect together. Take a look at this code. Here inlet and outlet are connected via cyclic patches, so the fluid that "leaves" at the outlet will reenter at the inlet. In your 0/U/p/k/e/w ... dicts you will have to specify the patches using "type cyclic".
Code:
    inlet
    {
        type cyclic;
        neighbourPatch outlet;
        faces
        (
            (0 4 7 3)
        );
    }
    outlet
    {
        type cyclic;
        neighbourPatch inlet;
        faces
        (
            (2 6 5 1)
        );
    }
RobertHB is offline   Reply With Quote

Old   December 15, 2017, 07:45
Default
  #3
New Member
 
Qihao Jiang
Join Date: Dec 2017
Posts: 20
Rep Power: 8
Qihao is on a distinguished road
Dear Robert,

I have defined the cyclic boundary for both of the turbulence variables, like velocity and pressure. turbulence kinetic energy. but I need the driving force to drive flow, so I add source item in the inlet for the velocity, but the turbulence kinetic energy also have transport equation, how can I give the force like meanvelocityforce for the turbulence kinetic energy?
Qihao is offline   Reply With Quote

Old   December 15, 2017, 08:05
Default
  #4
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
Have you tried setting the internalField value in 0/k and 0/e? After that the turbulence parameters should be determined from within your simulation.
RobertHB is offline   Reply With Quote

Old   December 15, 2017, 08:13
Default
  #5
New Member
 
Qihao Jiang
Join Date: Dec 2017
Posts: 20
Rep Power: 8
Qihao is on a distinguished road
Quote:
Originally Posted by RobertHB View Post
Have you tried setting the internalField value in 0/k and 0/e? After that the turbulence parameters should be determined from within your simulation.
yes, I calculate it and define them in the internalField, and I can see the result of turbulence kinetic energy transport. so the cyclic boundary for the turbulence kinetic energy is enough ? can I understand like this? the meanvelocityforce in the field can also drive turbulence energy transport?
Qihao is offline   Reply With Quote

Old   December 15, 2017, 08:19
Default
  #6
Senior Member
 
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 11
RobertHB is on a distinguished road
Thats my understanding, yes.
RobertHB is offline   Reply With Quote

Old   December 18, 2017, 09:40
Default
  #7
Member
 
hulli graemer
Join Date: Oct 2014
Posts: 48
Rep Power: 11
hulli is on a distinguished road
Hi,

as far I understood you want to simualte a turbulent channel case with cyclic boundary conditions. Rigth? In order to get the turbulences you might either wait a long time until they develop (at least for a flat plate case you get an idea if you calculate the entrance length), or you speed this up by using the perturbU or boxturb applications, to generate some withe noise that speed the generaion of a turbulent case extreamly up, and is more or less what was done in the channel 3xx tutorial case... I hope that helps best H
hulli is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 14:32
Water subcooled boiling Attesz CFX 7 January 5, 2013 03:32
RPM in Wind Turbine Pankaj CFX 9 November 23, 2009 04:05
Water vapour condensation in CFX-5.7.1 hdj CFX 1 November 27, 2005 07:15
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


All times are GMT -4. The time now is 12:28.