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

Help with changing Turbulent kinetic energy and frequency equations in kOmegaSST

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 11, 2020, 23:49
Default Help with changing Turbulent kinetic energy and frequency equations in kOmegaSST
  #1
Senior Member
 
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19
quarkz is on a distinguished road
Hi,

I need to change the Turbulent kinetic energy and frequency equations in the kOmegaSST formulation. I need to define a slightly different formula for the DkEff(F1) and DomegaEff(F1) and the corresponding laplacian formulation.

I tried to read Kassem's Implement turbulence model on OpenFOAM 1706 guide and being a non-C++ programmer, I got lost half way.

I did create a new model, but I do not know how to change the formulation for the above 2.

Hence, can someone give me a helping hand?

Should I just copy the entire formula to the modified kOmegaSST.C and edit directly from there?

Basically I need to change:

//Turbulent kinetic energy and frequency equations

fvm::laplacian(alpha*rho*DomegaEff(F1), omega_)

to

fvm::laplacian(alpha*sqrt(rho)DomegaEff(F1), sqrt(rho)*omega_)

//Turbulent kinetic energy equation

fvm::laplacian((alpha*rho*DkEff(F1)), k_)

to

fvm::laplacian((alpha*DkEff(F1)), rho*k_)

I have attached the eqns, especially the highlighted laplacian corrections.

How do I represent them in OF?


Thanks!
Attached Images
File Type: jpg Capture.JPG (51.5 KB, 5 views)

Last edited by quarkz; March 13, 2020 at 02:10.
quarkz 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
help Energy spectrum 2.0 bhigahAshish Main CFD Forum 7 July 14, 2019 06:20
Energy spectrum in frequency bhigahAshish Main CFD Forum 4 July 7, 2019 11:54
LES and total turbulent kinetic energy Boerge FLUENT 1 September 8, 2012 12:41
fluctuations in turbulence frequency and kinetic energy rskrishna87 CFX 2 June 11, 2011 16:45
Mean Kinetic Energy alastormoody11 STAR-CCM+ 1 January 19, 2011 10:48


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