From aa2125c03c0b24b22d1e79114da975ec4b24a64d Mon Sep 17 00:00:00 2001 From: Helge Gehring <42973196+HelgeGehring@users.noreply.github.com> Date: Tue, 10 Oct 2023 12:10:51 -0700 Subject: [PATCH] allow no fixed thermal boundaries --- src/Thermal/Thermal.jl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Thermal/Thermal.jl b/src/Thermal/Thermal.jl index 1b384109..719de910 100644 --- a/src/Thermal/Thermal.jl +++ b/src/Thermal/Thermal.jl @@ -65,6 +65,9 @@ function calculate_temperature_transient( end tags_temperatures = [def_g(v) for (u, v) in temperatures_c] + if isempty(tags_temperatures) + tags_temperatures = x -> 0 + end model = get_active_model(get_triangulation(thermal_diffusitivity)) V = TestFESpace(