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

replace cfx scalable wall function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   October 27, 2016, 09:20
Default replace cfx scalable wall function
  #1
New Member
 
G Ionut
Join Date: Sep 2016
Posts: 29
Rep Power: 9
Ionut G is on a distinguished road
Hi,

I want to replace the scalable wall function used in the k-epsilon turbulence model, with my own wall function that I could use it for k-epsilon turbulence model.

Until now i tried with user defined wall function (ch 4.2.4. User Defined Wall Functions) but it isn't working.

How can I do it?

Thank you
Ionut G is offline   Reply With Quote

Old   October 27, 2016, 17:15
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,716
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
What isn't working about it? That feature should do what you are looking for.
ghorrocks is offline   Reply With Quote

Old   October 31, 2016, 10:24
Default
  #3
New Member
 
G Ionut
Join Date: Sep 2016
Posts: 29
Rep Power: 9
Ionut G is on a distinguished road
Quote:
Originally Posted by ghorrocks View Post
What isn't working about it? That feature should do what you are looking for.
Hi Glenn, thank you for the reply.

I am doing a test in a diffuser, and for the Wall Function Transfer Coefficient I entered a value of 5 [m/s], then I run the simulation.
When I represent the velocity in the diffuser I have values from 0.2 to 1.4 m/s, shouldn't I have 5 m/s over the whole velocity?
Attached Files
File Type: txt test.txt (4.5 KB, 13 views)
Ionut G is offline   Reply With Quote

Old   October 31, 2016, 13:56
Default
  #4
Senior Member
 
Join Date: Jun 2009
Posts: 1,811
Rep Power: 32
Opaque will become famous soon enough
Not sure what is your understanding of the wall function concept. For the momentum equation, the wall function transfer coefficient relates the wall shear with the velocity at the wall and the control volume, i.e.

Wall Shear = WallFunction Transfer Coefficient * (Vertex Velocity - Wall Velocity)

The analogy to heat transfer

Heat Flux = Heat Transfer Wall Function Transfer Coefficient * (Vertex Temperature - Wall Temperature)

Hope the above helps,
Opaque is offline   Reply With Quote

Old   November 1, 2016, 01:42
Default
  #5
New Member
 
G Ionut
Join Date: Sep 2016
Posts: 29
Rep Power: 9
Ionut G is on a distinguished road
Quote:
Originally Posted by Opaque View Post
Not sure what is your understanding of the wall function concept. For the momentum equation, the wall function transfer coefficient relates the wall shear with the velocity at the wall and the control volume, i.e.

Wall Shear = WallFunction Transfer Coefficient * (Vertex Velocity - Wall Velocity)

The analogy to heat transfer

Heat Flux = Heat Transfer Wall Function Transfer Coefficient * (Vertex Temperature - Wall Temperature)

Hope the above helps,
Hi Opaque, thank you for the reply.
Can you please give me some documents to learn more about it, or some web addresses?
Ionut G is offline   Reply With Quote

Old   November 1, 2016, 16:50
Default
  #6
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,716
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
Any CFD textbook will have a chapter on turbulence modelling which covers this. Or you can probably find some descriptions of this stuff with a google search too - it should not be too hard to find.
ghorrocks is offline   Reply With Quote

Reply

Tags
cfx, user defined function, wall function


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
Running UDF with Supercomputer roi247 FLUENT 4 October 15, 2015 13:41
Scalable Wall Function junz FLUENT 0 April 18, 2015 21:32
[blockMesh] error message with modeling a cube with a hold at the center hsingtzu OpenFOAM Meshing & Mesh Conversion 2 March 14, 2012 09:56
Error with Wmake skabilan OpenFOAM Installation 3 July 28, 2009 00:35
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 07:57.