A bug in the GUI
Posted: Wed May 12, 2021 11:31 am
Dear developers,
Please I want to report a bug I faced but fixed when setting temperature boundary conditions in GUI.
My test case is about heat transfer in a rotating cavity. I was trying to specify a temperature profile T=f(r) on a wall. When I set it in the GUI "Boundary conditions-Thermal-temperature-Type-Prescribed value (user law)", I cannot get correct results (Tplus, Input_thermal_flux, Dimensionless_heat_flux) compare to experimental data.
But when I specify this temperature profile in the user subroutine "cs_user_boundary_conditions.f90", the heat transfer values turned to be reasonable.
Note that when I use the Prescribed value (instead of the user law) to set a constant temperature value, the results are ok. So I suppose this is a bug when using the "GUI user law" to set temperature boundary conditions, as shown in the figure attached.
Best regards,
Ruonan
Please I want to report a bug I faced but fixed when setting temperature boundary conditions in GUI.
My test case is about heat transfer in a rotating cavity. I was trying to specify a temperature profile T=f(r) on a wall. When I set it in the GUI "Boundary conditions-Thermal-temperature-Type-Prescribed value (user law)", I cannot get correct results (Tplus, Input_thermal_flux, Dimensionless_heat_flux) compare to experimental data.
But when I specify this temperature profile in the user subroutine "cs_user_boundary_conditions.f90", the heat transfer values turned to be reasonable.
Note that when I use the Prescribed value (instead of the user law) to set a constant temperature value, the results are ok. So I suppose this is a bug when using the "GUI user law" to set temperature boundary conditions, as shown in the figure attached.
Best regards,
Ruonan