In versión 6.1-alpha when adding a transported variable (scalar1) and then choose in the physical properties a variable/user_law diffusion coefficient value for this escalar the CS GUI close with the following error
_value userlaw is not in list ('constant', 'variable')
For fix this issue I change in:
/src/gui/cs_gui.c
if (cs_gui_strcmp(buff, "variable")) -> if (cs_gui_strcmp(buff, "user_law"))
In versión 6.1-alpha when adding a transported variable (scalar1) and then choose in the physical properties a variable/user_law diffusion coefficient value for this escalar the CS GUI close with the following error
_value userlaw is not in list ('constant', 'variable')
For fix this issue I change in: /src/gui/cs_gui.c if (cs_gui_strcmp(buff, "variable")) -> if (cs_gui_strcmp(buff, "user_law"))
and /model/DefineUserScalarsModel.py def setScalarDiffusivityChoice(self, scalar_name, choice): .... self.isInList(choice, ('constant', 'variable')) -> self.isInList(choice, ('constant', 'user_law'))
This fix the problem.