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
671f3b40
Commit
671f3b40
authored
2 years ago
by
Lars Hubatsch
Browse files
Options
Downloads
Patches
Plain Diff
Change of parameters. Write solutions to file.
parent
c2f74ddf
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
interface_resistance.jl
+9
-6
9 additions, 6 deletions
interface_resistance.jl
with
9 additions
and
6 deletions
interface_resistance.jl
+
9
−
6
View file @
671f3b40
include
(
"eff_Drop.jl"
)
P
=
5
;
Δt
=
0.001
;
D_i
=
0.2
;
D_o
=
0
.2
;
BP
=
0.5
;
x0
=
0.5
;
T
=
2
;
perc
=
0.5
;
L
=
0
;
R
=
2
;
k
=
"none"
;
P
=
10
;
Δt
=
0.001
;
D_i
=
1
;
D_o
=
5
0
;
BP
=
1
;
x0
=
0.5
;
T
=
2
0
;
perc
=
0.5
;
L
=
0
;
R
=
10
;
k
=
"none"
;
## Solve diffusion equation in phase-separated media
A
,
u
,
x
,
b
,
Nb
,
t_perc
,
αi
,
αo
=
@time
solve_D
(
"3D"
,
"FRAP"
,
"Y"
,
"N"
,
zeros
(
9
),
P
,
D_i
,
D_o
,
0
,
Δt
,
L
,
R
,
BP
,
x0
,
T
,
perc
,
zeros
(
9
),
zeros
(
9
),
k
)
u
=
u
[
:
,
vcat
(
1
:
Nb
-
1
,
Nb
+
2
:
size
(
u
,
2
))]
x
=
vcat
(
collect
(
x
[
1
:
Nb
-
1
]),
collect
(
x
[
Nb
+
2
:
end
]))
writedlm
(
string
(
"interface_ref_none.csv"
),
hcat
(
x
,
u
'
),
','
)
##
k
=
0.0
01
k
=
0.0
5
A
,
u1
,
x
,
b
,
Nb
,
t_perc
,
αi
,
αo
=
@time
solve_D
(
"3D"
,
"FRAP"
,
"Y"
,
"N"
,
zeros
(
9
),
P
,
D_i
,
D_o
,
0
,
Δt
,
L
,
R
,
BP
,
x0
,
T
,
perc
,
zeros
(
9
),
zeros
(
9
),
k
)
##
# Write results to file
#
writedlm(
"x_solution
.csv"
, v
cat(x
'
, u), ',')
u1
=
u1
[
:
,
vcat
(
1
:
Nb
-
1
,
Nb
+
2
:
size
(
u1
,
2
))]
x
=
vcat
(
collect
(
x
[
1
:
Nb
-
1
]),
collect
(
x
[
Nb
+
2
:
end
]))
writedlm
(
string
(
"interface_ref_k_"
,
k
,
"
.csv"
),
h
cat
(
x
,
u
1
'
),
','
)
plot_model
(
x
,
u
,
Nb
,
T
,
Δt
)
plot_model
(
x
,
u1
,
Nb
,
T
,
Δt
)
...
...
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