|
[Sponsors] |
Boundary Layer (1/7)th power law Input in rhoCentralFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
October 10, 2018, 00:00 |
Boundary Layer (1/7)th power law Input in rhoCentralFoam
|
#1 |
Member
madz
Join Date: Sep 2018
Posts: 34
Rep Power: 8 |
Hi all,
I'm an OpenFoam beginner. In the simulation of supersonic cavity, I'm trying to provide the boundary layer using Blasius 1/7th Power law at the walls ( 0 folder --> U) So I have instead provided the following command in the Terminal applyBoundaryLayer -ybl 0.0025 where 0.0025 is my boundary layer thickness. So, this calculates the velocity in the internalfield in the U file. Is my understanding correct? Could anyone kindly help please? |
|
October 11, 2018, 23:53 |
|
#2 |
Member
madz
Join Date: Sep 2018
Posts: 34
Rep Power: 8 |
Anyone? Kindly share information pls!
|
|
October 12, 2018, 03:45 |
|
#3 |
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
I gave the source code a quick read, and if i understand it correctly you need a velocity field beforehand. Not sure if only applying it to a empty dict with an internalField will work.
And you can not use wall functions for your turbulence parameters. applyBoundaryLayer.C @ github
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
|
October 12, 2018, 06:31 |
|
#4 |
Member
madz
Join Date: Sep 2018
Posts: 34
Rep Power: 8 |
Hi Robert,
Thank you for your kind reply. I'm a beginner. I have placed my file for velocity field below ( from '0' folder ) . I write the above mentioned command after this. And values are initialized in the 'internal field' in the velocity file subsequently for all the cells. Can you kindly have a look at it? I have also placed the turbulence parameter 'k'. Kindly correct my mistakes. FoamFile { version 2.0; format ascii; class volVectorField; location "0"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // dimensions [0 1 -1 0 0 0 0]; internalField uniform (516 0 0); boundaryField { outlet { type zeroGradient; } inlet { type fixedValue; value uniform (516 0 0); } wall { type fixedValue; value uniform (0 0 0); } top { type zeroGradient; } frontAndBackPlanes { type empty; } } // ************************************************** *********************** // dimensions [0 2 -2 0 0 0 0]; internalField uniform 10; boundaryField { outlet { type zeroGradient; } inlet { type turbulentIntensityKineticEnergyInlet; intensity 0.005; value uniform 10; } wall { type kqRWallFunction; value uniform 10; } top { type zeroGradient; } frontAndBackPlanes { type empty; } } |
|
October 12, 2018, 07:23 |
|
#5 | ||
Senior Member
Robert
Join Date: May 2015
Location: Bremen, GER
Posts: 292
Rep Power: 12 |
Quote:
Quote:
__________________
If you liked my answer to your question, please consider leaving a "Like" in return |
|||
October 12, 2018, 07:29 |
|
#6 |
Member
madz
Join Date: Sep 2018
Posts: 34
Rep Power: 8 |
Okay Robert, I will change as per your suggestion. Thank you
|
|
September 30, 2021, 14:58 |
|
#7 |
Member
Utkun Malkocoglu
Join Date: Feb 2017
Posts: 36
Rep Power: 9 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
y+ = 1 boundary layer mesh with snappyHexMesh | Arzed23 | OpenFOAM Running, Solving & CFD | 6 | November 23, 2022 15:15 |
My radial inflow turbine | Abo Anas | CFX | 27 | May 11, 2018 01:44 |
Question about heat transfer coefficient setting for CFX | Anna Tian | CFX | 1 | June 16, 2013 06:28 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 00:00 |
Convective Heat Transfer - Heat Exchanger | Mark | CFX | 6 | November 15, 2004 15:55 |