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

Implementing a new turbulent diffusion coefficient

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By MR7
  • 1 Post By mAlletto

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 1, 2020, 16:58
Default Implementing a new turbulent diffusion coefficient
  #1
MR7
New Member
 
Mohammadmehdi
Join Date: Feb 2019
Posts: 5
Rep Power: 7
MR7 is on a distinguished road
Dear Foamers,

The buoyantBousinessqPimpleFoam solver uses the following equation for turbulent diffusion coefficient based on Standard Gradient Diffusion Hypothesis (SGDH):

alpha_t = \nu_t / Pr_t

I'm going to modify this equation based on Generalized Gradient Diffusion Hypothesis (GGDH) as follows:

alpha_t =-\frac{3}{2}\frac{C_\mu}{Pr_t}\overline{u'u'}

The problem is that I don't know how i can access to \overline{u'u'}. I tried
Code:
turbulence->R()
but it didn't work. It would be appreciated if someone help me to solve this problem.
lpz456 likes this.
MR7 is offline   Reply With Quote

Old   August 3, 2020, 16:40
Default
  #2
Senior Member
 
Michael Alletto
Join Date: Jun 2018
Location: Bremen
Posts: 616
Rep Power: 16
mAlletto will become famous soon enough
If you want the first component of the symmetric tensor R you can try


Code:
turbulence->R().xx()
lpz456 likes this.
mAlletto 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
Find the coefficient of diffusion in TPMS sohoem ANSYS 0 April 10, 2020 06:42
how to get diffusion coefficient of species in fluent? lilistar-8216 FLUENT 0 December 12, 2019 23:40
how to obtain mass diffusion coefficient with UDF? Weiqiang Liu FLUENT 0 May 28, 2019 13:32
How to define turbulent diffusion coeff. for UDS John FLUENT 4 October 16, 2015 13:38
Question about heat transfer coefficient setting for CFX Anna Tian CFX 1 June 16, 2013 07:28


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