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

How to achieve homogeneous vertical profile for turbulence

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

Like Tree1Likes
  • 1 Post By piu58

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 16, 2021, 14:52
Default How to achieve homogeneous vertical profile for turbulence
  #1
New Member
 
Saugat Shrestha
Join Date: Dec 2019
Location: Thailand
Posts: 27
Rep Power: 7
saugatshr4 is on a distinguished road
Hello,

I am working on turbulence modeling of the Atmospheric Boundary Layer. Here I have been able to maintain a homogeneous wind velocity profile. However, I have been unable to maintain a homogeneous profile for tubrulence.

I have given a manual input for the Turbulent Kinetic energy (TKE). It seems that the TKE seems to dissipate very early in the domain and doesn't travel the domain. I have attached a picture of the TKE in the along wind direction of the domain.

FYI, I'm trying to implement a k-epsilon model.

Can anybody please help me. I have been stuck in this problem for a long time.

I will be very grateful for your help.

Thank You.

With best regards,
Saugat
Attached Images
File Type: png Capture.PNG (46.0 KB, 16 views)
saugatshr4 is offline   Reply With Quote

Old   August 17, 2021, 02:13
Default
  #2
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
If you are interested in what happens in the boundary layer, the k-omega model is much better. You may refine the mesh in the boundary layer as far as you want. k-epsilon requires a coarse mesh here.

Nevertheless,, turbulence is only modelled with the k-epsilon and k-omega models. The all in all behaviour should be reproduced (forces and main velocity). If you want to simulate the turbulence in the boundary layer I recommend the LES model. You have to go for 3D for this, at least to 2.5D
Fouch likes this.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   August 17, 2021, 06:53
Default
  #3
Senior Member
 
Join Date: Apr 2020
Location: UK
Posts: 742
Rep Power: 14
Tobermory will become famous soon enough
Good answer Uwe, but I fear the problem is deeper than that.

Saugat - the first thing to realise is that the constant stress layer concept for the ABL is an asymptotic approximation to the real world. It's a simple model that allowed early ABL modellers to approximate conditions in the surface layer of the ABL. CFD modellers in the 90s (kicked off by Richards & Hoxey) seem to have latched on to this and assume that it is the "correct" behaviour in the ABL, and have worked hard to try and achieve constant vertical profiles of k. In reality the ABL is just another boundary layer, and has a profile that of course should vary with height.

A shorter answer: the reason why you cannot preserve your vertical profile of k is that the vertical profile does not give a balance between production, dissipation, convection and diffusion of k. I.e. it is not the correct solution for the boundary layer conditions that you have.

You might be able to get better bahaviour if you check carefully that your wall boundary condition is in equilibrium with the inlet profiles of U, k, eps & nut, and if you check your boundary condition on the top of the domain. But keep in mind - the "constant k" profile is not a correct profile, especially if the domain height is more than 50m or so (k will decay with height, towards the edge of the ABL).
Tobermory is offline   Reply With Quote

Old   August 17, 2021, 09:57
Default
  #4
New Member
 
Saugat Shrestha
Join Date: Dec 2019
Location: Thailand
Posts: 27
Rep Power: 7
saugatshr4 is on a distinguished road
Thank you Tobermory and piu58 for the response.

piu58:
For now, I do not have the computational power to run an LES simulation. My intention is to use generic CFD models used in Atmospheric Boundary Layer simulations. I will definitely try the k-omega model.

Tobermory:
I am fairly new to CFD, so this is more like a learning experience. So please forgive me if my question comes across to be a bit stupid.
From what I understand from your response is that my model is is not correct at the moment due to the inability to conserve the turbulent kinetic energy.
You suggested checking the equilibrium of U, k, and eps and nut. Can you recommend methods, how this can be implemented.
I got a recommendation to use a cyclic boundary layer to conserve k. Do you think this would be the right approach?
I really want my model to be correct and give me correct results. Your help in clearing these doubts would be invaluable.

Thank You.

With best regards,
Saugat
saugatshr4 is offline   Reply With Quote

Old   August 17, 2021, 13:25
Default
  #5
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
Cyclic boundaries are often problematic. I would avoid it.

I see two ways:

1) pseudo-cyclic: mesh a geometry which contains your case three of four times after each other and use the results form the second to last
2) (if you get a non oscillating result after some time): Use the k values at some distance form the input for new input setting. repeat that if necessary.
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   August 18, 2021, 11:02
Default
  #6
New Member
 
Saugat Shrestha
Join Date: Dec 2019
Location: Thailand
Posts: 27
Rep Power: 7
saugatshr4 is on a distinguished road
Thanks, piu58 for the response.
I can try the second option and will let you know how it goes.
Regarding the first option, I am not quite clear. Can you please give a more detailed explanation of this?

I hope you will have time to consider my request.

With best regards,

Saugat
saugatshr4 is offline   Reply With Quote

Old   August 18, 2021, 13:23
Default
  #7
Senior Member
 
piu58's Avatar
 
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15
piu58 is on a distinguished road
I made a sketch of the pseudo-cyclic geometry.
Attached Images
File Type: jpg geom.jpg (96.3 KB, 11 views)
__________________
Uwe Pilz
--
Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950)
piu58 is offline   Reply With Quote

Old   September 17, 2021, 01:15
Default
  #8
New Member
 
Saugat Shrestha
Join Date: Dec 2019
Location: Thailand
Posts: 27
Rep Power: 7
saugatshr4 is on a distinguished road
Thank You piu58.
I learned a lot from your response.
I solved the problem by using the correct wall properties.
It really felt nice to receive help when I was completely stuck with my problems.
Thank You.
Regards,
Saugat
saugatshr4 is offline   Reply With Quote

Reply

Tags
boundary layer, k-epsilon model, turbulent kinetic energy

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
how to achieve homogeneous vertical profile for turbulence saugatshr4 OpenFOAM 9 January 24, 2022 05:44
3D UDF Paraboilc Velocity Profile (Can't Maintain) Sing FLUENT 12 August 7, 2017 07:25
problems orientating profile Ralf Schmidt FLUENT 1 March 30, 2014 11:00
problem with importing and exporting profile BC Gui CFX 2 July 26, 2007 09:50
Associating profile files for the UDS though a UDF Bharath FLUENT 0 December 1, 2006 16:58


All times are GMT -4. The time now is 19:43.