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

UDF for turbulent viscosity in SBES

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 15, 2021, 09:05
Default UDF for turbulent viscosity in SBES
  #1
New Member
 
Join Date: May 2020
Posts: 23
Rep Power: 6
Bibill is on a distinguished road
Dear all,

I am trying to run a Stress-Blended Eddy Simulation with a modified turbulent viscosity for the RANS part.

However, when using DEFINE_TURBULENT_VISCOSITY to modify the RANS mu_t, it also modifies the LES sub-grid model (what I want to avoid)...

I have tried :

Code:
DEFINE_TURBULENT_VISCOSITY(user_mu_t,c,t)
{
if(SBES_BlendindFunction == 1)
{
mu_t = compute_my_mu_t(...);
}
else
{
mu_t = C_MU_T(c,t)
}

return mu_t;
}
But It does not give the expected results... I have also tried to loop over cells and compute it locally but had issues with the implementation...

Any help or advices would be highly appreciated !

Thanks in advance!
Bibill is offline   Reply With Quote

Reply

Tags
sbes, udf and programming, udf code


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
Viscosity UDF works when interpreted, Doesn't when compiled? bloodflow Fluent UDF and Scheme Programming 4 April 11, 2019 10:06
Problem with divergence TDK FLUENT 13 December 14, 2018 07:00
subgrid turbulent viscosity for UDF in LES David TAIEB FLUENT 0 April 2, 2007 09:27
Help !! UDF for second phase viscosity. yong FLUENT 2 January 24, 2007 12:11
UDF of Turbulent viscosity justin FLUENT 0 November 24, 2006 07:36


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