Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
Frap Theory
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hubatsch
Frap Theory
Commits
d94ac9b3
Commit
d94ac9b3
authored
2 years ago
by
martamestroni
Browse files
Options
Downloads
Plain Diff
Merge remote-tracking branch 'origin/EffectiveDrop' into EffectiveDrop
parents
5a61bc52
f01b23e0
Branches
EffectiveDrop
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
eff_Drop_DinDoutC.jl
+3
-2
3 additions, 2 deletions
eff_Drop_DinDoutC.jl
with
3 additions
and
2 deletions
eff_Drop_DinDoutC.jl
+
3
−
2
View file @
d94ac9b3
...
...
@@ -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
)))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment