Skip to content

Commit

Permalink
2d vortex examle figure
Browse files Browse the repository at this point in the history
  • Loading branch information
AshtonSBradley committed May 20, 2024
1 parent a9fa91f commit b054c1b
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion example_figure/test_2Dtrap_vortex.jl
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,16 @@ pc = plot(ep3a,ep3b,layout=l,size=(430,350))
# "2d_trapvtf_combined.pdf" |> savefig
plot!()

## test all densities add to total
## test all densities add to total (new figure)
# find source of UV error increase
Ψ = Psi(psi.ψ,X,K)
ikd = incompressible_density(k, Ψ)
ckd = compressible_density(k, Ψ)
nkd = kinetic_density(k, Ψ)
qkd = qpressure_density(k, Ψ)
cqd = cq_density(k, Ψ)
iqd = iq_density(k, Ψ)
icd = ic_density(k, Ψ)

plot(k, [ikd,ckd,nkd,qkd,cqd,iqd,icd], label=[L"n^{i}" L"n^c" L"n^k" L"n^q" L"n^{cq}" L"n^{iq}" L"n^{ic}"], xlabel=L"k", ylabel=L"n(k)", title="U=0.2", legend=:topleft)

0 comments on commit b054c1b

Please sign in to comment.