Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
edu
mafe
Commits
a0ce69df
Commit
a0ce69df
authored
Sep 19, 2018
by
Andreas Zilian
Browse files
Correct spelling of Nicolson. Set beta and gamma in GeneralisedAlpha to ensure consistency.
parent
0ef265f1
Changes
1
Show whitespace changes
Inline
Side-by-side
+mafe/FeAnalysisDynamicTD.m
View file @
a0ce69df
...
...
@@ -50,7 +50,7 @@ classdef FeAnalysisDynamicTD < mafe.FeAnalysis
% ------------------------------------------------------------------
% scheme identification and settings
switch
(
self
.
scheme
)
case
mafe
.
TimeIntegrationType
.
CrankNic
h
olson
case
mafe
.
TimeIntegrationType
.
CrankNicolson
%
beta
=
0.25
;
gamma
=
0.50
;
...
...
@@ -101,6 +101,9 @@ classdef FeAnalysisDynamicTD < mafe.FeAnalysis
gamma
=
self
.
params
.
gamma
;
alpha_f
=
self
.
params
.
alpha_f
;
alpha_m
=
self
.
params
.
alpha_m
;
% ensure stability and 2nd order accuracy for given alpha
beta
=
0.25
+
0.50
*
(
alpha_f
-
alpha_m
);
gamma
=
0.50
+
1.00
*
(
alpha_f
-
alpha_m
);
%
self
.
params
.
theta_
=
[
1.0
-
alpha_f
,
1.0
-
alpha_f
,
1.0
-
alpha_f
];
self
.
params
.
gamma_
=
[
6.0
*
beta
,
2.0
*
gamma
,
(
1.0
-
alpha_m
)/(
1.0
-
alpha_f
)
];
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment