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

Confusion with magSqr in turbulence model kOmegaSST - OpenFOAM 2.2.x

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

Like Tree6Likes
  • 6 Post By GerhardHolzinger

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 7, 2014, 08:01
Default Confusion with magSqr in turbulence model kOmegaSST - OpenFOAM 2.2.x
  #1
Member
 
Join Date: Jul 2011
Posts: 54
Rep Power: 14
A_Pete is on a distinguished road
For the incompressible RAS I would like to implement the k-omega SST turbulence model by Menter with the vorticity source term. You can find the theory on it here: http://turbmodels.larc.nasa.gov/sst.html
So I had a look at the standard kOmegaSST turbulence model which is implemented into OpenFOAM. The only thing I have to change is the production of turbulent kinetic energy. In the kOmegaSST.C on lines 412-413 the production G is defined as:

Code:
const volScalarField S2(2*magSqr(symm(fvc::grad(U_))));
volScalarField G(GName(), nut_*S2);
Eqn. 1

But I can't really make the conversion to the standard formula that I know, which will look like this for incompressible RAS:

G=nut*dUi/dxj*(dUi/dxj+dUj/dxi)
Eqn. 2

So my question is why is there a magSqr in Eqn. 1? This looks different from the definition that I know.

Shouldn't it be more like this:
Code:
const volScalarField S(2*mag(symm(fvc::grad(U_))));
volScalarField G(GName(), nut_*S*fvc::grad(U_));
Eqn. 3


Thanks in advance.

Kind regards,
Andreas

Last edited by A_Pete; January 7, 2014 at 09:01. Reason: fvc:: missing in Eqn. 3
A_Pete is offline   Reply With Quote

Old   January 7, 2014, 09:38
Default
  #2
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
Hi,

take a look at the attached pdf. In Sect. 39.4.7 I do the math to look whether the formular for the production term for the turbulent kinetic energy of the kEpsilon model in OpenFOAM is equal to the formula stated in the book of Ferzinger.

The equations you posted look the same as they are in the question I answered.
Attached Files
File Type: pdf someMath.pdf (96.2 KB, 537 views)
GerhardHolzinger is offline   Reply With Quote

Old   January 8, 2014, 01:27
Default
  #3
Member
 
Join Date: Jul 2011
Posts: 54
Rep Power: 14
A_Pete is on a distinguished road
Hi Gerhard and thank you very much for your answer,

yes the equations of Ferziger, Perić is the same that I stated, as well as the implementation in OpenFOAM. This is the proof I was looking for!
A_Pete is offline   Reply With Quote

Old   September 4, 2014, 04:36
Default
  #4
New Member
 
Join Date: Feb 2014
Posts: 1
Rep Power: 0
mitomilla is on a distinguished road
Quote:
Originally Posted by GerhardHolzinger View Post
Hi,

take a look at the attached pdf. In Sect. 39.4.7 I do the math to look whether the formular for the production term for the turbulent kinetic energy of the kEpsilon model in OpenFOAM is equal to the formula stated in the book of Ferzinger.

The equations you posted look the same as they are in the question I answered.
Hi Gerhard,

i would be interested on the whole "someMath" document Is there a chance i can get it?

regards Michael
mitomilla is offline   Reply With Quote

Old   September 18, 2014, 04:52
Default
  #5
Senior Member
 
Gerhard Holzinger
Join Date: Feb 2012
Location: Austria
Posts: 339
Rep Power: 28
GerhardHolzinger will become famous soon enoughGerhardHolzinger will become famous soon enough
The whole document can be found here http://www.cfd-online.com/Forums/ope...-openfoam.html
GerhardHolzinger 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
gamma-ReTheta turbulence model for predicting transitional flows FelixL OpenFOAM Programming & Development 123 August 30, 2022 11:50
Implement an les turbulence model pante OpenFOAM Programming & Development 19 December 5, 2014 16:16
Turbulent frequency equation for compressible kOmegaSST turbulence model Bojan OpenFOAM Programming & Development 1 September 6, 2013 06:45
What model of turbulence choose to study an external aerodynamics case raffale OpenFOAM 0 August 23, 2012 05:45
How can run MRFSimpleFoam with KOmegaSST turbulence model waynezw0618 OpenFOAM Running, Solving & CFD 0 April 21, 2008 04:40


All times are GMT -4. The time now is 01:21.