Skip to content

Commit

Permalink
Update example use of IMAS heat flux model
Browse files Browse the repository at this point in the history
  • Loading branch information
eldond committed Aug 1, 2024
1 parent 2512248 commit 17d4598
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,11 @@ version = "1.0.1"
ArgParse = "c7e460c6-2fb9-53a9-8c5b-16f535851c63"
DSP = "717857b8-e6f2-59f4-9121-6e50c889abd2"
DelimitedFiles = "8bb1440f-4735-579b-a4ab-409b98df4dab"
EFIT = "cda752c5-6b03-55a3-9e33-132a441b0c17"
GGDUtils = "b7b5e640-9b39-4803-84eb-376048795def"
IMASDD = "06b86afa-9f21-11ec-2ef8-e51b8960cfc5"
IMAS = "13ead8c1-b7d1-41bb-a6d0-5b8b65ed587a"
IMASDD = "06b86afa-9f21-11ec-2ef8-e51b8960cfc5"
IMASdd = "c5a45a97-b3f9-491c-b9a7-aa88c3bc0067"
Interpolations = "a98d9a8b-a2ab-59e6-89dd-64a1c18fca59"
LsqFit = "2fda8390-95c7-5789-9bda-21331edee243"
PhysicalConstants = "5ad8b20f-a522-5ce9-bfc9-ddf1d5bda6ab"
Expand Down
6 changes: 4 additions & 2 deletions examples/wall_heat_flux_demo.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ dd = SD4SOLPS.preparation(
output_format=output_format,
allow_boundary_flux_correction=true,
)

for eqt in dd.equilibrium.time_slice
IMAS.flux_surfaces(eqt)
end
Rwall, Zwall, rwall, zwall, s, SOL, r, q = IMAS.mesher_HF(dd)
IMAS.particle_HF(dd.equilibrium.time_slice[1], SOL, rwall, zwall, r, q)
Qwall, Qpara = IMAS.particle_HF(dd.equilibrium.time_slice[1], SOL, rwall, zwall, r, q)
Plots.plot(s, Qwall)

0 comments on commit 17d4598

Please sign in to comment.