Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-tectonic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
agnumpde
dune-tectonic
Commits
c7598f69
Commit
c7598f69
authored
12 years ago
by
Elias Pipping
Committed by
Elias Pipping
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Drop ruina from the model name
parent
41c7ab83
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/assemblers.cc
+3
-3
3 additions, 3 deletions
src/assemblers.cc
src/one-body-sample.org
+5
-5
5 additions, 5 deletions
src/one-body-sample.org
src/one-body-sample.parset
+4
-16
4 additions, 16 deletions
src/one-body-sample.parset
with
12 additions
and
24 deletions
src/assemblers.cc
+
3
−
3
View file @
c7598f69
...
@@ -69,16 +69,16 @@ assemble_nonlinearity(
...
@@ -69,16 +69,16 @@ assemble_nonlinearity(
switch
(
parset
.
get
<
Config
::
model
>
(
"model"
))
{
switch
(
parset
.
get
<
Config
::
model
>
(
"model"
))
{
case
Config
::
Exponential
:
{
case
Config
::
Exponential
:
{
SingletonVectorType
a
(
size
);
SingletonVectorType
a
(
size
);
a
=
parset
.
get
<
double
>
(
"
ruina.
a"
);
a
=
parset
.
get
<
double
>
(
"a"
);
SingletonVectorType
V0
(
size
);
SingletonVectorType
V0
(
size
);
V0
=
parset
.
get
<
double
>
(
"V0"
);
V0
=
parset
.
get
<
double
>
(
"V0"
);
SingletonVectorType
b
(
size
);
SingletonVectorType
b
(
size
);
b
=
parset
.
get
<
double
>
(
"
ruina.
b"
);
b
=
parset
.
get
<
double
>
(
"b"
);
SingletonVectorType
L
(
size
);
SingletonVectorType
L
(
size
);
L
=
parset
.
get
<
double
>
(
"
ruina.
L"
);
L
=
parset
.
get
<
double
>
(
"L"
);
return
Dune
::
make_shared
<
return
Dune
::
make_shared
<
Dune
::
GlobalRuinaNonlinearity
<
MatrixType
,
VectorType
>
const
>
(
Dune
::
GlobalRuinaNonlinearity
<
MatrixType
,
VectorType
>
const
>
(
...
...
This diff is collapsed.
Click to expand it.
src/one-body-sample.org
+
5
−
5
View file @
c7598f69
...
@@ -441,7 +441,7 @@
...
@@ -441,7 +441,7 @@
VectorType udd_initial(finestSize); udd_initial = 0.0;
VectorType udd_initial(finestSize); udd_initial = 0.0;
SingletonVectorType alpha_initial(finestSize);
SingletonVectorType alpha_initial(finestSize);
alpha_initial = parset.get<double>("boundary.friction.
state.
initial");
alpha_initial = parset.get<double>("boundary.friction.initial
_log_state
");
SingletonVectorType alpha(alpha_initial);
SingletonVectorType alpha(alpha_initial);
SingletonVectorType vonMisesStress;
SingletonVectorType vonMisesStress;
...
@@ -463,9 +463,9 @@
...
@@ -463,9 +463,9 @@
<<createWriters>>;
<<createWriters>>;
auto const L = parset.get<double>("boundary.friction.
ruina.
L");
auto const L = parset.get<double>("boundary.friction.L");
auto const a = parset.get<double>("boundary.friction.
ruina.
a");
auto const a = parset.get<double>("boundary.friction.a");
auto const b = parset.get<double>("boundary.friction.
ruina.
b");
auto const b = parset.get<double>("boundary.friction.b");
auto const V0 = parset.get<double>("boundary.friction.V0");
auto const V0 = parset.get<double>("boundary.friction.V0");
auto const mu = parset.get<double>("boundary.friction.mu");
auto const mu = parset.get<double>("boundary.friction.mu");
auto const timesteps = parset.get<size_t>("timeSteps");
auto const timesteps = parset.get<size_t>("timeSteps");
...
@@ -479,7 +479,7 @@
...
@@ -479,7 +479,7 @@
ignoreNodes, massMatrix, stiffnessMatrix, u_initial, ud_initial,
ignoreNodes, massMatrix, stiffnessMatrix, u_initial, ud_initial,
udd_initial);
udd_initial);
auto stateUpdater = initStateUpdater<SingletonVectorType, VectorType>
auto stateUpdater = initStateUpdater<SingletonVectorType, VectorType>
(parset.get<Config::state_model>("boundary.friction.state
.
model"),
(parset.get<Config::state_model>("boundary.friction.state
_
model"),
alpha_initial, frictionalNodes, L);
alpha_initial, frictionalNodes, L);
auto const state_fpi_max
auto const state_fpi_max
...
...
This diff is collapsed.
Click to expand it.
src/one-body-sample.parset
+
4
−
16
View file @
c7598f69
...
@@ -48,26 +48,14 @@ acceptFactor = 1.0
...
@@ -48,26 +48,14 @@ acceptFactor = 1.0
requiredResidual
=
1
e
-
12
requiredResidual
=
1
e
-
12
[
boundary
.
friction
]
[
boundary
.
friction
]
# "mu_0 is the nominal coefficient of friction that has values near 0.6"
# -- James H. Dieterich and Brian Kilgore: Implications of fault
# constitutive properties for earthquake prediction
# http://earthquake.usgs.gov/research/physics/lab/prediction.pdf
mu
=
0
.
6
mu
=
0
.
6
V0
=
1
model
=
Exponential
[
boundary
.
friction
.
state
]
# log(alpha(0))
initial
= -
10
model
=
Dieterich
# Ruina
[
boundary
.
friction
.
ruina
]
# "For rocks, typical values of A and B range from 0.005 to 0.015"
# -- Ronaldo I. Borja and Craig D. Foster:
# Continuum mathematical modeling of slip weakening in geological systems
a
=
0
.
010
a
=
0
.
010
b
=
0
.
015
b
=
0
.
015
V0
=
1
L
=
1
e
-
5
L
=
1
e
-
5
model
=
Exponential
initial_log_state
= -
10
state_model
=
Dieterich
# The second-order a and b terms in [..] are very important in
# The second-order a and b terms in [..] are very important in
# determining whether sliding is stable or unstable and (in appli-
# determining whether sliding is stable or unstable and (in appli-
...
...
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