stardis-solver

Solve coupled heat transfers
git clone git://git.meso-star.fr/stardis-solver.git
Log | Files | Refs | README | LICENSE

commit 0e97e1f9286fdce2674c7adee46ad6abfb7e7285
parent 0080a5f22b16d77c268f1503106a23d91c7f6e4f
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Wed, 10 Jan 2024 15:49:11 +0100

Fix missing input parameters for external flux calculation

The convection, conduction and radiation coefficients at a given
boundary position have not been sent to the external flux calculation:
their default values have been used instead.

Diffstat:
Msrc/sdis_heat_path_boundary_Xd_solid_fluid_picard1.h | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/sdis_heat_path_boundary_Xd_solid_fluid_picard1.h b/src/sdis_heat_path_boundary_Xd_solid_fluid_picard1.h @@ -247,6 +247,9 @@ XD(solid_fluid_boundary_picard1_path) handle_external_net_flux_args.frag = frag; handle_external_net_flux_args.hit = &rwalk->hit; handle_external_net_flux_args.picard_order = get_picard_order(ctx); + handle_external_net_flux_args.h_cond = h_cond; + handle_external_net_flux_args.h_conv = h_conv; + handle_external_net_flux_args.h_radi = h_radi_hat; res = XD(handle_external_net_flux)(scn, rng, &handle_external_net_flux_args, T); if(res != RES_OK) goto error;