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
19eb2a66
Commit
19eb2a66
authored
4 years ago
by
Lars Hubatsch
Browse files
Options
Downloads
Patches
Plain Diff
Moving boundary closer to working, still oscillating around boundary.
parent
faa776dd
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
@Ternary_model/create_mesh.m
+2
-2
2 additions, 2 deletions
@Ternary_model/create_mesh.m
@Ternary_model/plot_sim.m
+1
-1
1 addition, 1 deletion
@Ternary_model/plot_sim.m
prob_laplace.m
+1
-1
1 addition, 1 deletion
prob_laplace.m
with
4 additions
and
4 deletions
@Ternary_model/create_mesh.m
+
2
−
2
View file @
19eb2a66
...
...
@@ -29,6 +29,6 @@ function create_mesh(T)
% % ceil((T.x(ind+20)-T.x(ind-20))*200)),...
% % T.x(ind+21:end)];
% % end
T
.
x
=
[
linspace
(
0
,
5.
5
,
10
00
),
linspace
(
5.
5
05
,
6.
2
,
5
000
),
...
linspace
(
6.
20
05
,
8
,
300
0
),
linspace
(
8.
0
05
,
12
,
200
0
)];
T
.
x
=
[
linspace
(
3
,
5.
7
,
5
00
),
linspace
(
5.
7
05
,
6.
1
,
6
000
),
...
linspace
(
6.
1
05
,
8
,
225
0
),
linspace
(
8.05
,
12
,
75
0
)];
end
This diff is collapsed.
Click to expand it.
@Ternary_model/plot_sim.m
+
1
−
1
View file @
19eb2a66
...
...
@@ -10,7 +10,7 @@ end
if
strcmp
(
mode
,
'mov'
)
figure
(
20
);
hold
on
;
for
i
=
1
:
nth
:
length
(
T
.
t
)
cla
;
xlim
([
-
T
.
a
-
1
,
-
T
.
a
+
3
]);
ylim
([
0
,
1
]);
cla
;
xlim
([
-
T
.
a
-
1
,
-
T
.
a
+
3
]);
ylim
([
-
1
,
1
]);
xlim
([
0
,
10
]);
ax
=
gca
;
ax
.
FontSize
=
12
;
...
...
This diff is collapsed.
Click to expand it.
prob_laplace.m
+
1
−
1
View file @
19eb2a66
...
...
@@ -42,7 +42,7 @@ p_in = @(D_p, D_m, ga, x0, x, t) 1./(sqrt(pi*t)*(sqrt(D_m)+...
x_left
=
linspace
(
-
4
,
0
,
1000
);
x_right
=
linspace
(
0
,
4
,
1000
);
%% Moving boundary
t
=
linspace
(
0
,
1
,
1
00
);
t
=
linspace
(
0
,
1
,
3
00
);
tic
T_mov
=
Ternary_model
(
0
,
'Gauss'
,
[
-
6
,
b
(
7
/
3
,
10
^-
15
),
0.5
,
e
(
7
/
3
),
...
0
,
1
,
300
,
7
,
0.2
],
t
,
0.02
);
...
...
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