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

Modelling Turbulent Wall Functions

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By Opaque
  • 1 Post By Opaque

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 25, 2010, 10:44
Default Modelling Turbulent Wall Functions
  #1
New Member
 
Victor Azevedo
Join Date: Aug 2010
Posts: 5
Rep Power: 16
victorwfreire is on a distinguished road
Hi everybody,

I'm doing a multiphase flow simulation and I have to model the wall roughness by using "turbulent wall functions". The CFX Theory Guide have an expression for this, but the big problem is in one of the variables.

The turbulent wall function uses the variable u* (I think that's the friction velocity or shear velocity). This variable is available for me in the Solver, but when I run the case, in the Post this variable does not appear (CFX says that it not exist). I'm needing this variable to calculate the film thickness and other variables of my case.

So, I would like to ask you how can I put this variable in my expressions. Is there any syntax? Remember that's a multiphase flow case.

I attached my CCL file, so you can look. The u* is in the "Uaster" expression, and that's the origin of all my problem here. The "wall turbulent function" is in the "WTFC" expression.

Thanks for your help.
Attached Files
File Type: txt TCC.txt (23.5 KB, 50 views)
victorwfreire is offline   Reply With Quote

Old   August 25, 2010, 19:03
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,871
Rep Power: 144
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Your function looks OK for a single phase flow. I suspect you need to get ustar for the phase you are interested in, not sure how to do that off the top of my head.

Does the ustar function work for a single phase flow?
ghorrocks is offline   Reply With Quote

Old   August 26, 2010, 17:49
Default
  #3
New Member
 
Victor Azevedo
Join Date: Aug 2010
Posts: 5
Rep Power: 16
victorwfreire is on a distinguished road
Thanks for your answer ghorrocks.

I tried to run the case as single phase. Same problem on the ustar function. I'll try to run in other computer, and see if the same problem occur.

thanks again.
victorwfreire is offline   Reply With Quote

Old   January 13, 2015, 10:38
Default implemanted new wall function
  #4
New Member
 
adelo
Join Date: Jan 2015
Posts: 10
Rep Power: 11
markos9149 is on a distinguished road
Hi everybody,

I'm doing a multiphase flow simulation and I want to implemanted a new wall function in CFX(



So, I would like to ask who can I add this new function(U*, C,K )


Thanks for your help.
markos9149 is offline   Reply With Quote

Old   January 13, 2015, 11:06
Default
  #5
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
You can read the following section in the documentation:

CFX-Solver Modeling Guide -> Turbulence and Near-Wall Modeling -> Modeling Flow Near the Wall -> User Defined Wall Functions
Opaque is offline   Reply With Quote

Old   January 13, 2015, 15:02
Default
  #6
New Member
 
adelo
Join Date: Jan 2015
Posts: 10
Rep Power: 11
markos9149 is on a distinguished road
thank you very much I'm going to read this document
markos9149 is offline   Reply With Quote

Old   January 13, 2015, 15:22
Default
  #7
New Member
 
adelo
Join Date: Jan 2015
Posts: 10
Rep Power: 11
markos9149 is on a distinguished road
I want to write new formulas for this parameter (see document). in the indicated section I understood it shows me how to change a constant
Attached Images
File Type: jpg parametrs.jpg (16.3 KB, 34 views)
markos9149 is offline   Reply With Quote

Old   January 13, 2015, 15:49
Default
  #8
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
The software does not let the user modify the ingredients of the built-in wall function. User modifications may not be compatible to what the developers implemented; therefore, the burden is on the user to implement it all.

Use the example provided in the documentation, and see where you can introduce the modifications you need.
markos9149 likes this.
Opaque is offline   Reply With Quote

Old   January 13, 2015, 15:58
Default
  #9
New Member
 
adelo
Join Date: Jan 2015
Posts: 10
Rep Power: 11
markos9149 is on a distinguished road
you speak of this exemple in (ANSYS CFX-Solver Modeling Guide

4.2.4.3. Example of User-Defined Wall Function for Heat Flux)
markos9149 is offline   Reply With Quote

Old   January 14, 2015, 12:32
Default
  #10
Senior Member
 
Join Date: Jun 2009
Posts: 1,880
Rep Power: 33
Opaque will become famous soon enough
Yes.. You can use that example as a template to create your custom wall function
markos9149 likes this.
Opaque is offline   Reply With Quote

Old   January 14, 2015, 14:53
Default
  #11
New Member
 
adelo
Join Date: Jan 2015
Posts: 10
Rep Power: 11
markos9149 is on a distinguished road
thank you very much
markos9149 is offline   Reply With Quote

Old   January 14, 2015, 16:48
Default
  #12
New Member
 
adelo
Join Date: Jan 2015
Posts: 10
Rep Power: 11
markos9149 is on a distinguished road
before i do the ilmplemtation of my new wall function i need just to know how can I activate the wall function in simple case two phase flow
thanks for you help
markos9149 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
Wall modelling and boundary conditions: why specify value for turbuelnce quantities? djbungee OpenFOAM Programming & Development 2 July 30, 2010 08:32
Two-Layer Models and Wall Functions sdwijeya Siemens 0 June 18, 2010 16:25
Are you relying on wall functions? sek OpenFOAM 1 November 8, 2009 19:27
Multicomponent fluid Andrea CFX 2 October 11, 2004 06:12
The turbulent viscosity on the wall maximus Main CFD Forum 2 January 24, 2003 04:02


All times are GMT -4. The time now is 23:46.