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

The value of C3 in k epsilon model

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 29, 2019, 07:55
Default The value of C3 in k epsilon model
  #1
Senior Member
 
Ruiyan Chen
Join Date: Jul 2016
Location: Hangzhou, China
Posts: 162
Rep Power: 9
cryabroad is on a distinguished road
Hello Foamers,

As is shown in the source code of the k epsilon model in openfoam (/src/TurbulenceModels/turbulenceModels/RAS/kEpsilon), there is a C3 coefficient implemented. In the Description section in the .H file, it is said that C3 has a default value of -0.33, but based on the constructor in the .C file, C3 is always initialized to be 0 if no such value is provided by the user. Which statement is correct?

Thanks,

Ruiyan
cryabroad is offline   Reply With Quote

Old   March 30, 2019, 15:19
Default
  #2
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 615
Rep Power: 15
mAlletto will become famous soon enough
C3 is used for compressible floss. See k-Epsilon model - C3
mAlletto is offline   Reply With Quote

Old   April 2, 2019, 05:33
Default
  #3
Senior Member
 
Ruiyan Chen
Join Date: Jul 2016
Location: Hangzhou, China
Posts: 162
Rep Power: 9
cryabroad is on a distinguished road
Hi Michael,

I've viewed the thread you mentioned. I guess there's some misunderstandings in my part, I thought what the Description section in the .H file means is that it should be -0.33 no matter what (which is not consistent with the code)...my bad, kind of feeling stupid.

Anyway, thanks for answering and clarifying!

Ruiyan
cryabroad 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
Y+ in k epsilon model for bubble column ROY4 CFX 3 March 14, 2018 13:50
Question about adaptive timestepping Guille1811 CFX 25 November 12, 2017 17:38
At high Y+ values does the K Omega SST model just behave like the K Epsilon model? JuPa CFX 0 December 22, 2015 06:44
An error has occurred in cfx5solve: volo87 CFX 5 June 14, 2013 17:44
SimpleFoam k and epsilon bounded nedved OpenFOAM Running, Solving & CFD 1 November 25, 2008 20:21


All times are GMT -4. The time now is 13:29.