CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

How to specify a height varying turbulence model variables at inlet

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 17, 2018, 17:19
Default How to specify a height varying turbulence model variables at inlet
  #1
Senior Member
 
Join Date: Mar 2018
Posts: 115
Rep Power: 8
anon_q is on a distinguished road
Hello
I want to simulate the flow around a building in atmospheric boundary layer with the turbulence model K-omega SST. In this case k, \omega are functions of the height z.

How can I specify theses boundary conditions at the inlet as a function of the height z?
anon_q is offline   Reply With Quote

Old   December 17, 2018, 21:16
Default
  #2
Member
 
Fatih Ertinaz
Join Date: Feb 2011
Location: Istanbul
Posts: 64
Rep Power: 15
fertinaz is on a distinguished road
Hello Evren

Did you have a look at the tutorial case "turbineSiting"?

It uses ABL settings for U and k-epsilon, so it can be a good basis for your case but you'll probably have to implement sth. like "atmBoundaryLayerInletOmega". If you check "atmBoundaryLayerInletEpsilon" details, I am sure you can figure it out since the core implementation is done at "atmBoundaryLayer" under:
Code:
$FOAM_SRC/TurbulenceModels/turbulenceModels/RAS/derivedFvPatchFields
Check "atmBoundaryLayer" for ABL implementation:
Code:
[ertinaz@supernova derivedFvPatchFields]$ ls atmBoundaryLayer -l
total 16
-rw-rw-r--. 1 ertinaz ertinaz 4643 Jan 19  2018 atmBoundaryLayer.C
-rw-rw-r--. 1 ertinaz ertinaz 7083 Jan 19  2018 atmBoundaryLayer.H
Hope this helps

// Fatih
fertinaz is offline   Reply With Quote

Reply


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
Modified k-e turbulence model UDF Travis Fluent UDF and Scheme Programming 7 November 11, 2018 20:21
Centrifugal fan-reverse flow in outlet lesds to a mass in flow field xiexing CFX 3 March 29, 2017 10:00
Wrong multiphase flow at rotating interface Sanyo CFX 14 February 7, 2017 17:19
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 06:20
Centrifugal Pump and Turbulence Model Michiel CFX 12 January 25, 2010 03:20


All times are GMT -4. The time now is 21:47.