CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

Turbulent prandtl number

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 9, 2015, 06:32
Default Turbulent prandtl number
  #1
New Member
 
kiarash kiani
Join Date: Mar 2015
Posts: 13
Rep Power: 11
reza_k is on a distinguished road
Dear experts,
I want to modify turbulent prandtl number (Prt) as a function of "Yplus". I defined an expression in CFX-pre and then the new expression was added to turbulence setting... and there was no error message. However, during solution CFX gives the error below:

"Error in subroutine get_YPLUS_TURB
Error calculating Yplus
GETVAR originally called by Subroutine DEF_DIFTRBC"

I will be greatful if someone expert help me handle this problem.
Thanks.
reza_k is offline   Reply With Quote

Old   March 9, 2015, 06:44
Default
  #2
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
It is hard to help by guessing...
What was the CEL expression? Show your ccl?
Lance is offline   Reply With Quote

Old   March 9, 2015, 07:30
Default
  #3
New Member
 
kiarash kiani
Join Date: Mar 2015
Posts: 13
Rep Power: 11
reza_k is on a distinguished road
I did this:

"************************************************* ***
Insert/Epressions,.../Expression

then, I defined a new expression named "Prt2"

.../Definition

if(Yplus<=11.6, 8.8e-4*Yplus^3-0.0239*Yplus^2+0.238*Yplus+0.0836, 0.75)

then

Domain/fluid model/Turbulence/Turb. flux closure for heat...

Turb. Prandtl Num. : Prt2
!************************************************* ***

Thanks.
reza_k is offline   Reply With Quote

Old   March 9, 2015, 07:48
Default
  #4
Senior Member
 
Lance
Join Date: Mar 2009
Posts: 669
Rep Power: 22
Lance is on a distinguished road
I dont get it.
The Y+ variable is a surface quantity while the turbulent Prandtl number is present in the entire domain, so I cant see why your expression should work. What is it based on? What do you want it to do? What about the freestream values?
Lance is offline   Reply With Quote

Old   March 9, 2015, 08:56
Default
  #5
New Member
 
kiarash kiani
Join Date: Mar 2015
Posts: 13
Rep Power: 11
reza_k is on a distinguished road
as you know, Prt is just a relation between "vt" and "Kt". some turbulence models like standard k-e keeps the Prt fixed(0.85 or 0.75), however it isn't correct in near wall region and in cases in which nearwall heat transfer is important may lead to large discrepancy. the relation I use is based on DNS simulation of Lu and Hetsroni "Direct numerical simulation of turbulent open-channel flow with passive heat transfer"... the relation just corrects the Prt for near wall cells based on their non dimensional distant to the nearest wall. anyway I think the error isn't physical!! may be its about the solver?!
reza_k is offline   Reply With Quote

Old   March 9, 2015, 09:01
Default
  #6
New Member
 
kiarash kiani
Join Date: Mar 2015
Posts: 13
Rep Power: 11
reza_k is on a distinguished road
Dear Lance
this relation is used in TLVA, " a DNS Based turbulence model".

Also see

" Near-wall Modelling of turbulent convective heat transfer in film cooling of turbine blades with the aid of Direct Numerical Simulation Data",Djamel Lakehal
reza_k is offline   Reply With Quote

Old   February 13, 2017, 16:59
Default
  #7
New Member
 
Landy
Join Date: Nov 2014
Posts: 2
Rep Power: 0
lycastrog is on a distinguished road
Hello, (Reza_K) I have the same problem, but with another expression. Could you solve your problem?
I have dealt with several expressions depending on Yplus and Temperature, on both occasions it gives me errors, similar to yours.
lycastrog is offline   Reply With Quote

Old   December 1, 2022, 22:29
Wink
  #8
FWP
New Member
 
陈晨
Join Date: Oct 2018
Posts: 7
Rep Power: 7
FWP is on a distinguished road
Dear Reza_K, I have the same problem, could you please help me to solve this problem? I just want to modify the Prandtl number which is a function of Y plus. Thanks a lot.
FWP is offline   Reply With Quote

Old   December 2, 2022, 09:03
Default
  #9
Senior Member
 
Join Date: Jun 2009
Posts: 1,804
Rep Power: 32
Opaque will become famous soon enough
Quote:
Originally Posted by FWP View Post
Dear Reza_K, I have the same problem, could you please help me to solve this problem? I just want to modify the Prandtl number which is a function of Y plus. Thanks a lot.
May I ask why you want to do that? What is the theoretical basis, and compatibility with the implemented models?

The fact a parameter exists, being a constant or a function, does not mean it is free for all to change. Walk that line carefully.
__________________
Note: I do not answer CFD questions by PM. CFD questions should be posted on the forum.
Opaque 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
[Other] Can't Shake Erros: patch type 'patch' not constraint type 'empty' BrendaEM OpenFOAM Meshing & Mesh Conversion 12 April 3, 2022 18:32
Turbulent Prandtl number Ravenn FLUENT 14 June 20, 2017 11:13
timeVaryingMappedFixedValue: large data mapping on complex inlet boundaries vkrastev OpenFOAM Pre-Processing 7 June 2, 2016 15:50
Compressor Simulation using rhoPimpleDyMFoam Jetfire OpenFOAM Running, Solving & CFD 107 December 9, 2014 13:38
Turbulent Prandtl number marsnova FLUENT 1 May 3, 2013 10:01


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