stardis

Perform coupled heat transfer calculations
git clone git://git.meso-star.fr/stardis.git
Log | Files | Refs | README | LICENSE

commit 77dabee0df3ecbe810909528af3c5e8c61549fe2
parent f580a374276c0bed3eb0bb67787cb5290f5d08fd
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Fri,  1 Mar 2024 16:54:57 +0100

Fixing the solid/fluid connection

The specular fraction not set with a null emissivity. But it must. With
an emissivity equal to 0, the radiative path always bounces off the
interface in relation to its BRDF, which must therefore be defined.

Diffstat:
Msrc/stardis-intface.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/stardis-intface.c b/src/stardis-intface.c @@ -632,9 +632,9 @@ create_intface } ASSERT(fluid_side_shader); fluid_side_shader->reference_temperature = interface_get_ref_temperature; + fluid_side_shader->specular_fraction = interface_get_alpha; if(intface->d.sf_connect->emissivity > 0) { fluid_side_shader->emissivity = interface_get_emissivity; - fluid_side_shader->specular_fraction = interface_get_alpha; } break; case DESC_SOLID_FLUID_CONNECT_PROG: