mesh viscosity in v7

Questions and remarks about code_saturne usage
Forum rules
Please read the forum usage recommendations before posting.
Post Reply
daniele
Posts: 148
Joined: Wed Feb 01, 2017 11:42 am

mesh viscosity in v7

Post 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
Yvan Fournier
Posts: 4070
Joined: Mon Feb 20, 2012 3:25 pm

Re: mesh viscosity in v7

Post 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
Post Reply