Page 1 of 1

mesh viscosity in v7

Posted: Thu Oct 21, 2021 1:12 pm
by daniele
Hello,

The user guide of v7 says one can modify mesh viscosity for an ALE simulation inside the cs_user_physical_properties.f90 routine, as in previous versions.
Nevertheless, in the online documentation the mesh viscosity is not included among the properties that can be modified inside cs_user_physical_properties.f90.
In previous versions, the "usvima" subroutine was used inside cs_user_physical_properties.f90 to modifty mesh viscosity. Usvima is not available anymore in v7.
Therefore, how can we modify mesh viscosity in v7?

Thank you very much.
Best regards,
Daniele

Re: mesh viscosity in v7

Posted: Thu Oct 21, 2021 5:44 pm
by Yvan Fournier
Hello,

The documentation might be incomplete, but you should be able to modify the mesh viscosity along with physical properties (in C or Fortran), accessing the field by its name.

Best regards,

Yvan