usvist routine for turbulent viscosity
Posted: Wed May 10, 2017 3:33 pm
Hello,
I would like to write an algebraic equation for the turbulent viscosity, such as:
mu_t = mu * f(Re)
In v4.3, I understand I have to use the usvist routine. What is not clear for me, is if this routine must be written inside the cs_user_physical_properties.f90 or as a separated file usvist.f90. Anyway, I tried both, and I always get a “forbidden memory area access” error.
The “turbulent viscosity” variable is activated (I use the Mixing Length model) since it is present in the setup.log.
Could you provide me with some help in using the usvist routine?
Many thanks in advance.
Best regards,
Daniele
I would like to write an algebraic equation for the turbulent viscosity, such as:
mu_t = mu * f(Re)
In v4.3, I understand I have to use the usvist routine. What is not clear for me, is if this routine must be written inside the cs_user_physical_properties.f90 or as a separated file usvist.f90. Anyway, I tried both, and I always get a “forbidden memory area access” error.
The “turbulent viscosity” variable is activated (I use the Mixing Length model) since it is present in the setup.log.
Could you provide me with some help in using the usvist routine?
Many thanks in advance.
Best regards,
Daniele