|
[Sponsors] |
September 15, 2021, 09:05 |
UDF for turbulent viscosity in SBES
|
#1 |
New Member
Join Date: May 2020
Posts: 23
Rep Power: 6 |
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; } Any help or advices would be highly appreciated ! Thanks in advance! |
|
Tags |
sbes, udf and programming, udf code |
|
|
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 |