Skip to content

Commit

Permalink
simplify more, no transient
Browse files Browse the repository at this point in the history
  • Loading branch information
HelgeGehring committed Oct 19, 2023
1 parent d286469 commit 65a0abc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion docs/julia/heater_3d.jl
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,8 @@ GridapPETSc.with(args = split(options)) do
Dict(get_tag_from_name(labels, u) => v for (u, v) in thermal_diffisitivities)
ϵ_diffisitivities(tag) = thermal_diffisitivities[tag]

dontplottransient

uₕₜ = calculate_temperature_transient(
ϵ_conductivities τ,
ϵ_diffisitivities τ,
Expand All @@ -147,7 +149,7 @@ GridapPETSc.with(args = split(options)) do
#end
sums = [(t, ((u)dΩ_w) / ((1)dΩ_w)) for (u, t) in uₕₜ]

dontplottransient
#

figure = Figure()
ax = Axis(figure[1, 1], ylabel = "Temperature / K", xlabel = "time / ms")
Expand Down
4 changes: 2 additions & 2 deletions docs/julia/heater_3d_mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@

resolutions = {
"core": {"resolution": 0.3},
"via2": {"resolution": 0.2},
"via1": {"resolution": 0.2},
"via2": {"resolution": 0.3},
"via1": {"resolution": 0.3},
"heater": {"resolution": 0.5},
}
geometry = get_mesh(
Expand Down

0 comments on commit 65a0abc

Please sign in to comment.