|
[Sponsors] |
Turbulent Boundary Conditions with Slip Walls |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 6, 2023, 10:59 |
Turbulent Boundary Conditions with Slip Walls
|
#1 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
Hi,
Usually I always had noSlip walls when running numerical simulations. Now, I have a case where I need to apply slip boundary conditions. I wonder what boundary condition I should use for k, omega and alphat when using the k-omega-SST model. Do I use zeroGradient or slip for those? Kind regards, Shock77 |
|
November 7, 2023, 15:01 |
|
#2 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Quick answer:
I think the below condition is the answer, but I'm not sure: Code:
wall { type slip; } |
|
November 8, 2023, 04:27 |
|
#3 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
Thank you for your reply and input!
I couldnt find anyone who uses slip in combination with turbulence models. It feels also kind of weird to be honest and counter intuitive. Have you ever used this combination? |
|
November 8, 2023, 06:01 |
|
#4 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Yes, I have.
When I want to simulate flow over cylinder (3D) I consider slip BC for the top & Bottom as well as for the front & Back with K-omega SST. Besides, you can have a look at the motorbike tutorial in simpleFoam, just focus on BCs. Code:
\\wsl.localhost\Ubuntu18.04\home\saeedfoam\OpenFOAM\tutorials\incompressible\simpleFoam\motorBike |
|
November 9, 2023, 05:26 |
|
#5 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
Good to know, thank you!
In the tutorial they use wall functions. Do you mean another tutorial by any chance? |
|
November 9, 2023, 05:37 |
|
#6 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
I have read some materials and found that utilization of wall functions is a merit, because you set yplus abouve 30 and it reduces computational time cost. However, I'm looking for the tutorials without treating walls with wall functions to understand the boundary conditions of walls for k, omega and nut.
|
|
November 9, 2023, 05:41 |
|
#7 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
So is there any tutorial that uses slip for k, omega or epsilon?
|
|
November 9, 2023, 05:58 |
|
#8 |
Senior Member
Yann
Join Date: Apr 2012
Location: France
Posts: 1,238
Rep Power: 29 |
||
November 9, 2023, 05:59 |
|
#9 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
As you can see from motorbike tutorial, upperWall was considered as slip:
Code:
upperWall { type slip; } frontAndBack { type slip; } Code:
lowerWall { type kqRWallFunction; value $internalField; } motorBikeGroup { type kqRWallFunction; value $internalField; } #include "include/frontBackUpperPatches" upper wall actually is not a real wall and in real world does not exist. we just consider it in our simulation. So, you should consider this in all k, omega or epsilon dictionaries in zero folder: Wall { type slip; } |
|
November 9, 2023, 06:07 |
|
#10 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
||
November 14, 2023, 05:21 |
|
#11 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
||
November 14, 2023, 05:24 |
|
#12 | |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
Quote:
I cannot see a slip assigned to k in the tutorials or in the code you copied. Interestingly, my tutorial is different from yours (I am using Openfoam 5). For U I get: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #include "include/initialConditions" dimensions [0 1 -1 0 0 0 0]; internalField uniform $flowVelocity; boundaryField { //- Set patchGroups for constraint patches #includeEtc "caseDicts/setConstraintTypes" #include "include/fixedInlet" outlet { type inletOutlet; inletValue uniform (0 0 0); value $internalField; } lowerWall { type fixedValue; value $internalField; } motorBikeGroup { type noSlip; } #include "include/frontBackUpperPatches" } // ************************************************************************* // Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 5 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class volScalarField; object k; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // #include "include/initialConditions" dimensions [0 2 -2 0 0 0 0]; internalField uniform $turbulentKE; boundaryField { //- Set patchGroups for constraint patches #includeEtc "caseDicts/setConstraintTypes" //- Define inlet conditions #include "include/fixedInlet" outlet { type inletOutlet; inletValue $internalField; value $internalField; } lowerWall { type kqRWallFunction; value $internalField; } motorBikeGroup { type kqRWallFunction; value $internalField; } #include "include/frontBackUpperPatches" } // ************************************************************************* // |
||
November 14, 2023, 05:30 |
|
#13 |
Senior Member
Saeed Jamshidi
Join Date: Aug 2019
Posts: 214
Rep Power: 8 |
Please have a look at your 0/ include folder.
You will see some BCs there. Allways they are included to your K or U .... by #include "include/frontBackUpperPatches". I am using OpenFoam v2112. |
|
November 14, 2023, 05:34 |
|
#14 |
Senior Member
Join Date: Dec 2019
Posts: 215
Rep Power: 8 |
Ohhh now I see it, thank your very much again!
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Wrong multiphase flow at rotating interface | Sanyo | CFX | 14 | February 7, 2017 18:19 |
Error - Solar absorber - Solar Thermal Radiation | MichaelK | CFX | 12 | September 1, 2016 06:15 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |
RPM in Wind Turbine | Pankaj | CFX | 9 | November 23, 2009 05:05 |
New topic on same subject - Flow around race car | Tudor Miron | CFX | 15 | April 2, 2004 07:18 |