Skip to content
Snippets Groups Projects
Commit d94ac9b3 authored by martamestroni's avatar martamestroni
Browse files

Merge remote-tracking branch 'origin/EffectiveDrop' into EffectiveDrop

parents 5a61bc52 f01b23e0
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,9 @@ function solve_D(P,n,len,Δt,Tf,Di,Do,rNb,perc)
#taking as input: P,n,length,Δt,Tf,Di,Do,rNb,perc
Δx=len/(n-1)
αi = Di*Δt/Δx^2; αo = Do*Δt/Δx^2; #https://www.uni-muenster.de/imperia
#/md/content/physik_tp/lectures/ws2016-2017/num_methods_i/heat.pdf
# https://www.uni-muenster.de/imperia/md/content/physik_tp/
# lectures/ws2016-2017/num_methods_i/heat.pdf
αi = Di*Δt/Δx^2; αo = Do*Δt/Δx^2;
xig=0-Δx
xi=collect(LinRange(0,rNb*len,Int(rNb*(n-1)+1)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment