CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > General Forums > Main CFD Forum

OpenFOAM: Variable Turbulent Prandtl Number

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 2 Post By kakkapriyesh

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 18, 2021, 05:07
Default OpenFOAM: Variable Turbulent Prandtl Number
  #1
New Member
 
priyesh kakka
Join Date: Jan 2018
Posts: 13
Rep Power: 8
kakkapriyesh is on a distinguished road
Hello,

I had modified the OpenFOAM solver to see the effects of turbulent Prandtl numbers on the heat transfer near the wall (dynamic Smagorinsky | LES). For incompressible solver, OpenFOAM keeps turbulent Prandtl number as constant, hence energy equation solved is not truly dynamic. I calculated turbulent Prandtl number using test filters similar to dynamic models referring to Lilly's paper of 1992. Here, the turbulent Prandtl number is calculated at every timestep, and it influences the energy equation.

Please find the solver Github link for more details:
https://github.com/kakkapriyesh/Vari...umber_OpenFOAM

I hope this code is useful to someone!
Teresa Sun and Tian Hongkang like this.

Last edited by kakkapriyesh; May 20, 2021 at 23:55. Reason: Forgot to mention, this is for LES (dynamic smagorinsky)
kakkapriyesh is offline   Reply With Quote

Old   November 20, 2021, 22:26
Default
  #2
New Member
 
Outside North America
Join Date: Nov 2021
Posts: 14
Rep Power: 4
Tian Hongkang is on a distinguished road
Quote:
Originally Posted by kakkapriyesh View Post
Hello,

I had modified the OpenFOAM solver to see the effects of turbulent Prandtl numbers on the heat transfer near the wall (dynamic Smagorinsky | LES). For incompressible solver, OpenFOAM keeps turbulent Prandtl number as constant, hence energy equation solved is not truly dynamic. I calculated turbulent Prandtl number using test filters similar to dynamic models referring to Lilly's paper of 1992. Here, the turbulent Prandtl number is calculated at every timestep, and it influences the energy equation.

Please find the solver Github link for more details:
https://github.com/kakkapriyesh/Vari...umber_OpenFOAM

I hope this code is useful to someone!
Thank you for sharing.
I recently want to make a simulation of liquid metal flow in a circular tube with buoyantSimpleFoam. I know how to define the turbulence Prandtl number at the wall, but I don't know in which dictionary file to define the global turbulence Prandtl number and change it to my turbulence Prandtl number model. I would be very grateful if you could give me some advice.
Tian Hongkang is offline   Reply With Quote

Old   November 21, 2021, 00:04
Default
  #3
New Member
 
priyesh kakka
Join Date: Jan 2018
Posts: 13
Rep Power: 8
kakkapriyesh is on a distinguished road
I am not sure what you mean by global turbulence prandtl number, as far as I remember, turbulent prandtl number was kept as a constant throughout the field in openfoam as 0.85 i think. I dont remember where that constant is (havent been using openfoam for 2 years) but may it is in some equation probably Temp!
kakkapriyesh is offline   Reply With Quote

Old   November 21, 2021, 00:09
Default
  #4
New Member
 
Outside North America
Join Date: Nov 2021
Posts: 14
Rep Power: 4
Tian Hongkang is on a distinguished road
Ok, thank you for your reply.
Tian Hongkang is offline   Reply With Quote

Reply

Tags
heat and mass transfer, openfoam, prandtl number, turbulence and laminar


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
decomposePar no field transfert Jeanp OpenFOAM Pre-Processing 3 June 18, 2022 12:01
decomposePar problem: Cell 0contains face labels out of range vaina74 OpenFOAM Pre-Processing 37 July 20, 2020 05:38
[snappyHexMesh] Error snappyhexmesh - Multiple outside loops avinashjagdale OpenFOAM Meshing & Mesh Conversion 53 March 8, 2019 09:42
[mesh manipulation] Mesh Refinement Luiz Eduardo Bittencourt Sampaio (Sampaio) OpenFOAM Meshing & Mesh Conversion 42 January 8, 2017 12:55
OpenFOAM v3.0+ ?? SBusch OpenFOAM 22 December 26, 2016 14:24


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