CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > FLUENT > Fluent UDF and Scheme Programming

reproducing k-omega model UDF/Wall function

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 2, 2017, 17:12
Default reproducing k-omega model UDF/Wall function
  #1
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
Hi all,

I am trying to reproduce the k-w turbulence model using UDF.
I have written all necessary parts and the result that I am getting is in the acceptable range.
The problem that I have right now, and I am not sure how to fix that, is the fact that I have to implement wall function for the cells adjacent to walls. I am not sure how to do that.
Do I have to manually specify velocity for cells in this region?
Does anyone here have any experience on how one can write a wall function in UDF?
Any kind of support is highly appreciatd.


Thanks,
Ali
alinik is offline   Reply With Quote

Old   June 16, 2017, 18:40
Default
  #2
Senior Member
 
ali
Join Date: Oct 2009
Posts: 318
Rep Power: 18
alinik is on a distinguished road
I am replying to my own post with the hope of receiving more attention.
Has anybody done the same thing ever before?
alinik is offline   Reply With Quote

Old   July 12, 2017, 15:27
Default
  #3
Member
 
Vedamt Chittlangia
Join Date: Feb 2016
Posts: 64
Rep Power: 9
vcvedant is an unknown quantity at this point
If you want to write wall functions in UDF, first of all you must make sure that your y+ location is appropriate.
Then you can give the value of k, omega, U, V etc directly in the DEFINE_ADJUST() to their respective Scalars. You can use 'if' statements check the y+ values.
vcvedant 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
Use of k-epsilon and k-omega Models Jade M Main CFD Forum 40 January 27, 2023 08:18
[blockMesh] Errors during blockMesh meshing Madeleine P. Vincent OpenFOAM Meshing & Mesh Conversion 51 May 30, 2016 11:51
Overflow Error in Multiphase Modelling with Two Continuous Fluids ashtonJ CFX 6 August 11, 2014 15:32
Virtual inheritance problem while adding public member function to LES SGS Model konneym OpenFOAM Programming & Development 4 November 4, 2013 12:37
latest OpenFOAM-1.6.x from git failed to compile phsieh2005 OpenFOAM Bugs 25 February 9, 2010 05:37


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