commit a38700cf2c758f8015e531026a10fd1367835294
parent 34244764b319f96c23c853d07e0026e05fd1b4db
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Wed, 17 Jul 2024 19:15:06 +0200
Fix default emissivity on the programmable Dirichlet
The user-side function was correctly defined, but the stardis function
was for constant properties, not programmable properties.
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/stardis-intface.c b/src/stardis-intface.c
@@ -592,7 +592,7 @@ create_intface
interface_shader.back.temperature = intface_prog_get_temp;
/* Set emissivity to 1 to allow radiative paths comming from
* a possible external fluid to 'see' the imposed T */
- fluid_side_shader->emissivity = interface_get_emissivity;
+ fluid_side_shader->emissivity = intface_prog_get_emissivity;
interface_props->get_emissivity = emissivity_1;
interface_props->get_temp = intface->d.t_boundary_prog->temperature;
interface_props->prog_data = intface->d.t_boundary_prog->prog_data;