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

How to add a expression to Turbulent Prandtl Number (Prt)

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

Like Tree1Likes
  • 1 Post By Redpoko

Reply
 
LinkBack Thread Tools Display Modes
Old   September 16, 2009, 07:11
Default How to add a expression to Turbulent Prandtl Number (Prt)
  #1
New Member
 
Y.Z
Join Date: Mar 2009
Location: Stuttgart
Posts: 8
Rep Power: 8
Redpoko is on a distinguished road
Send a message via MSN to Redpoko
hi, Guys,

I would like to use a expression in Turbulent Prandtl Number rather than a constant in CFX 12.0, the form maybe like this: Prt = f (x,y). For some certain purposes, I only want to change it in the Energy Equation.

I've been browsing through some posts here. But I didn't get the answer yet. There is one suggestion in 2006:

------------------------
Add the CCL below to the HEAT TRANSFER MODEL section (for each fluid domain)

HEAT TRANSFER MODEL:
Option = Thermal Energy
TURBULENT FLUX CLOSURE:
Option = Eddy Diffusivity
Turbulent Prandtl Number = 0.9
END
END

-----------------------

I don't know if I could do the same to replace 0.9 by f(x,y) in CFX 12.0

Is there anyone here could give me some ideas? Thanks in advance



Red
rockzh likes this.

Last edited by Redpoko; September 16, 2009 at 08:29.
Redpoko is offline   Reply With Quote

Old   September 16, 2009, 18:55
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I don't know whether you can make the Prandtl number a function of anything, it might need to be a constant... But I am not sure. Try it and find out!
ghorrocks is offline   Reply With Quote

Old   September 17, 2009, 04:30
Default
  #3
New Member
 
Y.Z
Join Date: Mar 2009
Location: Stuttgart
Posts: 8
Rep Power: 8
Redpoko is on a distinguished road
Send a message via MSN to Redpoko
thanks Glenn, I will give a try and later post the result here.

one more question: is the CCL above correct or not? if there is any other approach to change Prt in CFX 12.0?
Redpoko is offline   Reply With Quote

Old   September 17, 2009, 07:35
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You can easily check you CCL by either selecting the options you want in CFX-Pre then right click on the feature tree and select edit in command editor. Alternately you can enter the text in the command editor in CFX-Pre and check the right options are activated.
ghorrocks is offline   Reply With Quote

Old   September 23, 2009, 10:56
Default
  #5
New Member
 
Y.Z
Join Date: Mar 2009
Location: Stuttgart
Posts: 8
Rep Power: 8
Redpoko is on a distinguished road
Send a message via MSN to Redpoko
it didn't work......

I give a simple expression to Turbulent Prandtl Number. The Warning Message is :

Parameter 'Turbulent Prandtl Number' in object '/FLOW:Flow Analysis 1/DOMAINefault Domain/FLUID MODELS/HEAT TRANSFER MODEL/TURBULENT FLUX
CLOSURE' is not allowed to be assigned an expression value that depends on variables. It must be assigned a numeric value, or an expression that resolves to a constant value.

now I have no idea how i could solve the problem.....
Redpoko is offline   Reply With Quote

Old   September 23, 2009, 18:51
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
Well, the error message just about sums it up - if you want to define Turb Prandtl number as a function of anything you have to either develop your own turbulence model or drop CFX and use other software.

It may also be worthwhile talking to CFX support as they may have a hidden way of doing what you want.
ghorrocks is offline   Reply With Quote

Old   September 24, 2009, 08:10
Default
  #7
New Member
 
Y.Z
Join Date: Mar 2009
Location: Stuttgart
Posts: 8
Rep Power: 8
Redpoko is on a distinguished road
Send a message via MSN to Redpoko
ya, I also think so.

I'll give Ansys a call to ask if they have some 'secret path' to solve it.

Thank you again for your patience and those answers !
Redpoko is offline   Reply With Quote

Old   October 1, 2009, 04:16
Default
  #8
New Member
 
Y.Z
Join Date: Mar 2009
Location: Stuttgart
Posts: 8
Rep Power: 8
Redpoko is on a distinguished road
Send a message via MSN to Redpoko
I got the answer from ANSYS. They said CFX 13.0 will probably solve the problem.

well, that's it.....
Redpoko is offline   Reply With Quote

Old   February 11, 2012, 01:41
Default
  #9
New Member
 
Darren Zhang
Join Date: Nov 2011
Location: China
Posts: 20
Rep Power: 5
rockzh is on a distinguished road
Hi,I have a question about the Turbulent Prandtl Number in CFX 12.0.
After importing the up CCL,where can i check the Prandtl Nb value in CFX12.0?
rockzh is offline   Reply With Quote

Old   July 1, 2013, 02:50
Default
  #10
New Member
 
Join Date: Mar 2012
Posts: 17
Rep Power: 5
hustxinxin is on a distinguished road
I have tested that, in CFX14.0, the Prandtl Number is not allowed to be assigned an expression value that depends on variables. Redpoko, have you solved your problem?

Quote:
Originally Posted by Redpoko View Post
I got the answer from ANSYS. They said CFX 13.0 will probably solve the problem.

well, that's it.....
hustxinxin is offline   Reply With Quote

Old   July 1, 2013, 03:07
Default
  #11
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
I think this thread has thoroughly explained what is going on. Making Pr a variable introduces many complex high order terms and they are not implemented in CFX so this will not work. Alternately Pr might define parameters which are calculated once, whereas is you make it a variable then the variation of Pr is not properly accounted for.

It looks like V13 does not do the check for constant Pr but I bet it does not account for the terms and/or changes in other variable so use it at your own risk - no guarantees it is correct.
ghorrocks is offline   Reply With Quote

Old   July 1, 2013, 03:29
Default
  #12
New Member
 
Join Date: Mar 2012
Posts: 17
Rep Power: 5
hustxinxin is on a distinguished road
So, do you think it is a good way to assign the Pr a constant A, and treat the remained term (Pr-A) as a source term attaching to the turbulence equation?

Quote:
Originally Posted by ghorrocks View Post
I think this thread has thoroughly explained what is going on. Making Pr a variable introduces many complex high order terms and they are not implemented in CFX so this will not work. Alternately Pr might define parameters which are calculated once, whereas is you make it a variable then the variation of Pr is not properly accounted for.

It looks like V13 does not do the check for constant Pr but I bet it does not account for the terms and/or changes in other variable so use it at your own risk - no guarantees it is correct.
hustxinxin is offline   Reply With Quote

Old   July 1, 2013, 06:03
Default
  #13
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 10,823
Rep Power: 85
ghorrocks has a spectacular aura aboutghorrocks has a spectacular aura aboutghorrocks has a spectacular aura about
You have to treat the Pr as a constant, so if you can include the effect of non-constant Pr as a source term then that will be the only way of implementing it in CFX.
ghorrocks is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I add a correlation for turbulent Prandtl No. ? ananta Phoenics 3 November 10, 2009 05:35
About low Re number turbulent flows gorka Main CFD Forum 13 April 2, 2003 05:19
Turbulent Reynolds number Free_and_SIMPLE Main CFD Forum 3 March 3, 2003 09:47
Turbulent Schmidt Number John Grimm Main CFD Forum 0 August 2, 2002 07:00
Prandtl Mixing length Vs. Isotropic turbulent Mohammad Kermani Main CFD Forum 0 March 24, 2000 00:06


All times are GMT -4. The time now is 18:35.