Dear all,
I am trying to run a Stress-Blended Eddy Simulation with a modified turbulent viscosity for the RANS part, only.
However, when I use DEFINE_TURBULENT_VISCOSITY to modify the RANS turbulent viscosity, it also modifies the LES subgrid model (what I want to avoid)...
I tried a simple if/else statement based on the value of the SBES blending function:
DEFINE_TURBULENT_VISCOSITY(user_mu_t,c,t)
{
if(SBES_BlendingFunction == 1)
{
mu_t = compute_my_RANS_mu_t(...);
}
else
{
mu_t = C_MU_T(c,t);
}
return mu_t;
}
But It does not give the expected results... I 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!