|
[Sponsors] |
Help with changing Turbulent kinetic energy and frequency equations in kOmegaSST |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 11, 2020, 23:49 |
Help with changing Turbulent kinetic energy and frequency equations in kOmegaSST
|
#1 |
Senior Member
TWB
Join Date: Mar 2009
Posts: 414
Rep Power: 19 |
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! Last edited by quarkz; March 13, 2020 at 02:10. |
|
|
|
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 |