CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Difference between kEqn and one equation eddy viscosity model for LES simulations (https://www.cfd-online.com/Forums/openfoam-solving/226894-difference-between-keqn-one-equation-eddy-viscosity-model-les-simulations.html)

chandra shekhar pant May 11, 2020 10:08

Difference between kEqn and one equation eddy viscosity model for LES simulations
 
Dear FOAMERS,


I was reading a research article, and in that article it was mentioned that they used "one equation eddy viscosity model (OEEVM)", I checked the tutorials for this model but could not get some thing similar. I started searching some platform and found that "kEqn" is actually "one equation eddy viscosity model (OEEVM)". Is it true?

Any suggestion will be great help to me.

clapointe May 11, 2020 16:38

Yes, this is true to my knowledge -- just a product of naming change with OpenFOAM version. The kEqn model uses one equation for sgs turbulent kinetic energy transport and is a "one equation" model.

Eg. from OpenFOAM 2.4.x :

Code:

void oneEqEddy::updateSubGridScaleFields()
{
    muSgs_ = ck_*rho()*sqrt(k_)*delta();

}

And OpenFOAM 7

Code:

void kEqn<BasicTurbulenceModel>::correctNut()
{
    this->nut_ = Ck_*sqrt(k_)*this->delta();
}

Aside from general restructuring of turbulence model handling (i.e. muSgs vs nut) sgs viscosity is computed identically.

Caelan

chandra shekhar pant May 12, 2020 01:19

Thanks a lot Caelan for your kind help and clarification. So every thing will be identical I guess in terms of BC for the variables etc? Thanks again

clapointe May 12, 2020 10:57

They likely will. Like I said, the turbulence modeling framework has changed a bit between versions (i.e. muSgs to nut) so required SGS variables will change a bit. You could figure out the differences by looking at tutorials from old and new openfoam releases.

Caelan

chandra shekhar pant May 17, 2020 01:18

Thanks for your clarification, unfortunately, I have only OpenFOAM 1906 and don't have an access to other versions. But if I say that I am trying to replicate the results of the paper (which uses one equation eddy viscosity model) using the KEqn model then am I correct to say that I am using the same model as that been used by the paper? Does that make sense?

clapointe May 17, 2020 01:31

The code for older versions is always accessible, even if you don't use it -- just google for the repository. Yes it should be the same model.

Caelan

chandra shekhar pant May 17, 2020 01:40

Thanks a lot Caelan for your wonderful help and support.


All times are GMT -4. The time now is 06:39.