|
[Sponsors] | |||||
Mixing length for turbulentMixingLengthFrequencyInlet BC |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|
|
#1 |
|
Member
madz
Join Date: Sep 2018
Posts: 34
Rep Power: 9 ![]() |
Hi all,
I'm simulating a supersonic cavity using komega SST model. For Omega BC, I have used turbulentMixingLengthFrequencyInlet. I'm not sure what is the mixing length. Is it simply the cavity depth or length? I'm posting my file here. Kindly look at it and suggest corrections pls!! Code:
FoamFile
{
version 2.0;
format ascii;
class volScalarField;
location "0";
object omega;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
dimensions [0 0 -1 0 0 0 0];
internalField uniform 4577132;
boundaryField
{
outlet
{
type zeroGradient;
}
inlet
{
type turbulentMixingLengthFrequencyInlet;
mixingLength 0.015;
k k;
value uniform 4577132;
}
wall
{
type omegaWallFunction;
value uniform 4577132;
}
top
{
type zeroGradient;
}
frontAndBackPlanes
{
type empty;
}
}
Last edited by Tobi; March 27, 2019 at 05:36. |
|
|
|
|
|
|
|
|
#3 |
|
Member
madz
Join Date: Sep 2018
Posts: 34
Rep Power: 9 ![]() |
Hi Tobias,
Thank you for your kind reply! Can I take 0.07*cavity depth as the mixing length?? |
|
|
|
|
|
|
|
|
#4 |
|
Member
Pedro Gouveia
Join Date: Oct 2022
Location: Portugal
Posts: 65
Rep Power: 5 ![]() |
||
|
|
|
|
|
|
|
#5 |
|
Super Moderator
Tobias Holzmann
Join Date: Oct 2010
Location: Bad Wörishofen
Posts: 2,716
Blog Entries: 6
Rep Power: 53 ![]() ![]() ![]() |
Out of the box ... No. But maybe it's in Wilcox turbulence book.
If this is a reference for you (better than nothing). https://www.cfd-online.com/Wiki/Turbulence_length_scale
__________________
Keep foaming, Tobias Holzmann |
|
|
|
|
|
|
|
|
#6 | |
|
Member
Pedro Gouveia
Join Date: Oct 2022
Location: Portugal
Posts: 65
Rep Power: 5 ![]() |
Quote:
By the way, just to confirm. I am using this setup (for k and epsilon) for a 4 bladed centrifugal pump, with a circular tube as inlet. Would you change anything? It's steady state, with MRF approach. k Code:
"NCC.*"
{
type zeroGradient;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
"wall.*"
{
type kqRWallFunction;
value uniform 1e-12;
}
"blade.*"
{
type kqRWallFunction;
value uniform 1e-12;
}
inlet
{
type turbulentIntensityKineticEnergyInlet;
intensity 0.05;
value $internalField;
}
Code:
"NCC.*"
{
type zeroGradient;
}
outlet
{
type inletOutlet;
inletValue $internalField;
value $internalField;
}
"wall.*"
{
type epsilonWallFunction;
value $internalField;
}
"blade.*"
{
type epsilonWallFunction;
value $internalField;
}
inlet
{
type turbulentMixingLengthDissipationRateInlet;
mixingLength 0.005334;
value $internalField;
}
|
||
|
|
|
||
|
|
|
#7 | |
|
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 872
Rep Power: 19 ![]() |
You can find the value of 0.07 (for mixing layers, pipes and channels) in
Quote:
|
||
|
|
|
||
|
|
|
#8 | ||
|
Member
Pedro Gouveia
Join Date: Oct 2022
Location: Portugal
Posts: 65
Rep Power: 5 ![]() |
Quote:
Thank you! But what about this sentence quoted in CFD Online's thread Quote:
|
|||
|
|
|
|||
|
|
|
#9 |
|
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 872
Rep Power: 19 ![]() |
That's talking about a specific class of turbulence model, I believe (e.g one equation k-L model?), and is not code specific. You are using kW SST, I think, so you are fine to use the real value, 0.07.
|
|
|
|
|
|
|
|
|
#10 | |
|
Member
Pedro Gouveia
Join Date: Oct 2022
Location: Portugal
Posts: 65
Rep Power: 5 ![]() |
Quote:
And by any chance, do you know if it is more "correct" to use the eddy viscosity ration instead of the mixing length, let's say, for a centrifugal pump problem? I know that openfoam does have functions that have as input the eddy viscosity ratio. But we could implement it as a fixedValue in inlet. Last edited by unilord; January 25, 2024 at 05:20. Reason: Asked new question regarding the eddy viscosity ratio |
||
|
|
|
||
|
|
|
#11 |
|
Senior Member
Join Date: Apr 2020
Location: UK
Posts: 872
Rep Power: 19 ![]() |
The two methods should be equivalent ... with a two-equation model like k-epsilon, you have 2 degrees of freedom. The simplest is to specify k and L, which have well known empirical behaviour. You could specify k and nut (or nueff/num since you are talking about the viscosity ratio), but this will just give the same data ... providing that you choose the correct nut! They are all interelated by the assumptions in the k-epsilon model.
So, TLDR - if you feel you can specify nut more accurately than L, then my all means use it ... either as a direct boundary condition, or to back-calculate a value of L that you are more confident in. |
|
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Difference between mixing length and turbulence length scale | MissCFD | CFX | 1 | May 7, 2015 13:58 |
| How to define the turbulence intensity and mixing length at an outlet (for k-eps)? | david39 | OpenFOAM Running, Solving & CFD | 6 | February 2, 2011 04:01 |
| mixing length | mukkarum | Main CFD Forum | 4 | July 25, 2002 06:16 |
| Prandtl mixing length vs Isotropic assumption | Mohammad Kermani | Main CFD Forum | 1 | March 26, 2000 16:47 |
| Prandtl Mixing length Vs. Isotropic turbulent | Mohammad Kermani | Main CFD Forum | 0 | March 24, 2000 00:06 |