Skip to content

Commit

Permalink
allow no fixed thermal boundaries
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeGehring committed Oct 10, 2023
1 parent bf80720 commit aa2125c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Thermal/Thermal.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit aa2125c

Please sign in to comment.