CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

Linking non uniform (reference field) in Turbulent Inlet to AtmosphericBoundaryLayer

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 7, 2016, 11:00
Default Linking non uniform (reference field) in Turbulent Inlet to AtmosphericBoundaryLayer
  #1
New Member
 
Akhil Mehta
Join Date: Jun 2016
Location: Jodhpur, India
Posts: 2
Rep Power: 0
akhilmehta is on a distinguished road
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;
}
akhilmehta is offline   Reply With Quote

Old   June 13, 2016, 03:46
Default
  #2
Senior Member
 
Nima Samkhaniani
Join Date: Sep 2009
Location: Tehran, Iran
Posts: 1,266
Blog Entries: 1
Rep Power: 24
nimasam is on a distinguished road
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)
nimasam is offline   Reply With Quote

Old   June 16, 2016, 10:33
Default
  #3
New Member
 
Akhil Mehta
Join Date: Jun 2016
Location: Jodhpur, India
Posts: 2
Rep Power: 0
akhilmehta is on a distinguished road
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
akhilmehta is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
LES supersonic free jet martyn88 OpenFOAM 22 April 17, 2015 07:00
Moving mesh Niklas Wikstrom (Wikstrom) OpenFOAM Running, Solving & CFD 122 June 15, 2014 07:20
Divergent temperature in chtMultiRegion(Simple)Foam akrasemann OpenFOAM Running, Solving & CFD 13 March 24, 2014 03:54
OpenFOAM 1.6 ext - Compilation errors - Fedora 17(32bit) toolpost OpenFOAM Installation 15 September 21, 2012 10:38
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08


All times are GMT -4. The time now is 04:59.