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

Applying correction to the k-e transport equation

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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 26, 2020, 12:42
Default Applying correction to the k-e transport equation
  #1
Senior Member
 
René Thibault
Join Date: Dec 2019
Location: Canada
Posts: 114
Rep Power: 6
Tibo99 is on a distinguished road
Hi everyone!

I was trying lately to apply correction factors the k-e transport equation in the same way as the following paper:

https://onlinelibrary.wiley.com/doi/....1002/fld.2709

It about correcting the transport equation with a uniform 'k' profile for an ABL. The wall cause the well known spike at the second cell, which by applying theses factors, resolve the issue.

The trick is, the correction factors are applies only from the 2nd to the 4th cell in the domain from the wall and are functions of 'z'.

I made some attempts to do so by using the 'fvOptions' framework along with 'topoSet' and applying a 'codedSource' term on Epsilon and k. Everything run smooth, but the spike is still there. I assume the problem reside in the fact that during the transport equation are getting resolve, the factors are not apply directly on the transport equations but apply only on the term source itself.

I already set another k-e model file ready to be modify.

So, I looking for some example or information on how I could code these factors in the turbulence model.

Thank you very much for your time and considerations.

Best Regards,
Attached Images
File Type: png Factors.png (7.0 KB, 11 views)
File Type: png k_emod.png (7.3 KB, 8 views)
File Type: png Cells.png (2.7 KB, 4 views)

Last edited by Tibo99; November 29, 2020 at 01:12.
Tibo99 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
UDF Transport equation for transition momentum thickness Reynolds number Wantami FLUENT 0 April 9, 2011 02:50
Estimate convection and diffusion terms in transport equation Lance CFX 0 April 4, 2011 11:16
Source Term on Scalar Transport Equation - crashing simulation alessio.nz OpenFOAM 19 February 8, 2011 07:38
Pressure Correction Equation Hooman Main CFD Forum 1 June 22, 2010 11:54
BCs for Pressure Correction Equation (SIMPLE) Bharath Somayaji Main CFD Forum 1 March 1, 2006 06:12


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