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

How to define the turbulence intensity and mixing length at an outlet (for k-eps)?

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By nileshjrane

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 27, 2010, 13:14
Default How to define the turbulence intensity and mixing length at an outlet (for k-eps)?
  #1
New Member
 
Join Date: Jan 2010
Posts: 7
Rep Power: 16
david39 is on a distinguished road
Hello,

I am new in the OpenFOAM world so please apology if my question is simple.

I have a model with an inlet defined as total pressure inlet boundary condition and an outlet defined as pressure outlet boundary condition.
The aim of the simulation is to determine the massflow in a pipe.

For the inlet boundary, I have used the type "turbulentIntensityKineticEnergyInlet" for 0/k and "turbulentMixingLengthDissipationRateInlet" for 0/epsilon in order to define the turbulence quantities at the boundary.
Thanks to this boundary condition type, the turbulence quantities depend on the velocity at the inlet (massflow).

At the outlet, I have backflow. I already have added an extrusion to limit the backflow but there are still recirculation at the oulet boundary.

For the moment, I use a "inletOutlet" to define the turbulence for the backflow but k and epsilon are constant.

So, for the outlet, I would like to define 0/k and 0/epsilon in a similar way as at the inlet (by using the turbulent intensity and the mixing length) to make the backflow turbulence depending on the backflow-massflow but for the moment, I have not found how to define the turbulence at the outlet.

How should I define 0/k and 0/epsilon for the outlet in order to specify a turbulent intensity and a mixing length for the k and epsilon calculation ? Is it possible in OpenFOAM?

It would be nice if someone could help me.

Thanks,
David
david39 is offline   Reply With Quote

Old   January 28, 2010, 03:25
Default
  #2
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by david39 View Post
How should I define 0/k and 0/epsilon for the outlet in order to specify a turbulent intensity and a mixing length for the k and epsilon calculation ? Is it possible in OpenFOAM?

It would be nice if someone could help me.

This does not work directly out of the box. You'd need to roll your own boundary conditions that would look like "inletOutlet", but calculate k/epsilon along the same lines as your inlet condition.

But the fundamental question: if you have backflow, how can you know a fixed value for the turbulent intensity and mixing length a priori?
olesen is offline   Reply With Quote

Old   January 28, 2010, 12:49
Default
  #3
New Member
 
Join Date: Jan 2010
Posts: 7
Rep Power: 16
david39 is on a distinguished road
Thank you Mark for your answer.

I agree with your remark : we cannot know the turbulent intensity and the mixing length a priori. So the question is to know what is the "best" pratice :
1) To use constant values for k and epsilon ?
or
2) To use an turbulent intensity and a mixing length to calculate k and espilon depending on the velocity of the backflow ?

I will make some tests to investigate the influence of constant values for k and epsilon on the solution results and on the convergence of the simulation.

Thanks.
David
david39 is offline   Reply With Quote

Old   September 10, 2010, 02:01
Default
  #4
bb_
New Member
 
Join Date: Jul 2010
Posts: 20
Rep Power: 15
bb_ is on a distinguished road
Hello David,

have you made any progress on this problem? I guess I'm facing a similar issue. I'm having convergence problems and I suspect that they are due to wron/inappropriate boundary conditions. As U and p should be fine, I'm guessing it has something to do with the turbulent boundary conditions.

Thanks,

bb
bb_ is offline   Reply With Quote

Old   September 10, 2010, 05:10
Default
  #5
Senior Member
 
Nilesh Rane
Join Date: Apr 2010
Posts: 122
Rep Power: 16
nileshjrane is on a distinguished road
Why do you want to be so specific in giving outlet k and epsilon BCs??? A crude estimate is all what is needed, as the amount of reversed flow is not so significant. A good guess would be: specify k and epsilon as "$internalField" value. This is generally good enough. If you have large reversed flow which affecting your solution then you better rethink on your domain size.
kk415 likes this.
__________________
Imagination is more important than knowledge..
nileshjrane is offline   Reply With Quote

Old   October 13, 2010, 07:01
Default
  #6
bb_
New Member
 
Join Date: Jul 2010
Posts: 20
Rep Power: 15
bb_ is on a distinguished road
Thanks for your reply. You're right, the workarounds you posted are probably the better ways of dealing with this kind of problem.
For my case, I think the problem was something different, not the turbulent boundary conditions ... now I got everything smoothly running, without changing the domains boundaries.
Thanks anyway for your help!
bb_ is offline   Reply With Quote

Old   February 2, 2011, 03:01
Smile
  #7
Member
 
Join Date: Sep 2010
Posts: 36
Rep Power: 16
siddharameshwara is on a distinguished road
Quote:
Originally Posted by bb_ View Post
Thanks for your reply. You're right, the workarounds you posted are probably the better ways of dealing with this kind of problem.
For my case, I think the problem was something different, not the turbulent boundary conditions ... now I got everything smoothly running, without changing the domains boundaries.
Thanks anyway for your help!
Hi,

I am new to this openfoam. Even i am facing the same situation. I am trying to simulate diesel flow in the nozzle of the injector. At the outlet i defined inletOutlet boundary condition for velocity. I am using cavitatingFoam solver. I am using k-omega model. for k and omega at the outlet i have defined zerogradient. I have backflow at the outlet. I tried extruding the outlet but its even worse now. So could you tell me what could be the other reason that you had as you mentioned.or how i can improve my solution??
siddharameshwara 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
mixing length lili Siemens 1 February 5, 2007 19:22
Turbulence boundary values lego CFX 9 October 25, 2002 11:55
Turbulence boundary values lego Main CFD Forum 0 October 24, 2002 13:47
Mixing length Sabatini Siemens 3 December 31, 2000 05:08


All times are GMT -4. The time now is 07:41.