|
[Sponsors] |
Linking non uniform (reference field) in Turbulent Inlet to AtmosphericBoundaryLayer |
![]() |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
![]() |
![]() |
#1 |
New Member
Akhil Mehta
Join Date: Jun 2016
Location: Jodhpur, India
Posts: 2
Rep Power: 0 ![]() |
Dear Foamers,
I just started learning how to use openFoam and now I want to use the Atmospheric boundary layer profile as an inlet velocity along with the turbulent inlet. inlet { type turbulentInlet; referenceField nonuniform; fluctuationScale (0.02 0.01 0.01); } inlet { type atmBoundaryLayerInletVelocity; n (1 0 0); z (0 0 1); Uref 10.0; Zref 20.0; z0 uniform 0.1; zGround uniform 0.0; } |
|
![]() |
![]() |
![]() |
![]() |
#2 |
Senior Member
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,268
Blog Entries: 1
Rep Power: 25 ![]() |
do you want to use both BC together?
it is impossible ![]() you maybe want to change source code to consider turbulent flow along ABL condition
__________________
My Personal Website (http://nimasamkhaniani.ir/) Telegram channel (https://t.me/cfd_foam) |
|
![]() |
![]() |
![]() |
![]() |
#3 |
New Member
Akhil Mehta
Join Date: Jun 2016
Location: Jodhpur, India
Posts: 2
Rep Power: 0 ![]() |
Hello Nima Samkhaniani,
I tried understanding the code but I wasn't able to figure out want exactly to change.So I came up with this solution I performed two simulations.First with Atmospheric Boundary layer as the inlet for a few time steps.From the last time step, I got the non-uniform list of the inlet(which is the ABL). In the second simulation, I used the Turbulent Inlet with nonuniform reference field and then copied the nonuniform list from the first simulation to the second simulation.It works fine ![]() boundaryField { inlet { type turbulentInlet; fluctuationScale (0.20 0.20 0.20); referenceField nonuniform List<vector> 10800 ( (3.45854 0 0) .. .. .. .. ) ; } Regards, Akhil Mehta |
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
LES supersonic free jet | martyn88 | OpenFOAM | 22 | April 17, 2015 06:00 |
Moving mesh | Niklas Wikstrom (Wikstrom) | OpenFOAM Running, Solving & CFD | 122 | June 15, 2014 06:20 |
Divergent temperature in chtMultiRegion(Simple)Foam | akrasemann | OpenFOAM Running, Solving & CFD | 13 | March 24, 2014 02:54 |
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) | toolpost | OpenFOAM Installation | 15 | September 21, 2012 09:38 |
OpenFOAM on MinGW crosscompiler hosted on Linux | allenzhao | OpenFOAM Installation | 127 | January 30, 2009 19:08 |