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
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Container Registry
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
podlesny
dune-tectonic
Commits
ddd0687b
Commit
ddd0687b
authored
3 years ago
by
podlesny
Browse files
Options
Downloads
Patches
Plain Diff
read minrelativetau param
parent
4ccfc722
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/foam/foam.cc
+1
-1
1 addition, 1 deletion
src/foam/foam.cc
src/foam/foam.cfg
+7
-6
7 additions, 6 deletions
src/foam/foam.cfg
with
8 additions
and
7 deletions
src/foam/foam.cc
+
1
−
1
View file @
ddd0687b
...
...
@@ -513,7 +513,7 @@ int main(int argc, char *argv[]) {
stepBase
(
parset
,
contactNetwork
,
totalDirichletNodes
,
globalFriction
,
frictionNodes
,
externalForces
,
stateEnergyNorms
);
const
auto
minTau
=
parset
.
get
<
double
>
(
"
timeSteps
.minRelativeTau"
);
const
auto
minTau
=
parset
.
get
<
double
>
(
"
initialTime
.minRelativeTau"
);
AdaptiveTimeStepper
<
NonlinearFactory
,
std
::
decay_t
<
decltype
(
contactNetwork
)
>
,
Updaters
,
std
::
decay_t
<
decltype
(
stateEnergyNorms
)
>>
timeStepper
(
stepBase
,
contactNetwork
,
current
,
programState
.
relativeTime
,
programState
.
relativeTau
,
minTau
,
...
...
This diff is collapsed.
Click to expand it.
src/foam/foam.cfg
+
7
−
6
View file @
ddd0687b
# -*- mode:conf -*-
[general]
outPath
=
pipping-2013-newmark-double-
1e5
# output written to ./output/outPath
outPath
=
pipping-2013-newmark-double-
adaptive
# output written to ./output/outPath
gravity
=
9.81 # [m/s^2]
[body0]
length
=
6
.0 # [m]
length
=
5
.0 # [m]
height
=
1.0 # [m]
bulkModulus
=
4.12e7 #4.12e9 # [Pa] #2190
poissonRatio
=
0.3 # [1] #0.11
...
...
@@ -38,7 +38,7 @@ mu0 = 0.6 # [ ]
V0
=
1e-6 # [m/s]
L
=
1e-5 # [m]
initialAlpha
=
-10.0 # [ ]
stateModel
=
AgeingLaw
stateModel
=
AgeingLaw
#AgeingLaw
frictionModel
=
Truncated #Tresca #None #Truncated #Regularised
[boundary.friction.weakening]
a
=
0.010 # [ ]
...
...
@@ -60,7 +60,7 @@ printProgress = true
restarts.first
=
0
restarts.spacing
=
50
restarts.write
=
true #true
vtk.write
=
tru
e
vtk.write
=
fals
e
[problem]
finalTime
=
50 # [s] #1000
...
...
@@ -69,11 +69,12 @@ bodyCount = 2
[initialTime]
timeStep
=
0
relativeTime
=
0.0
relativeTau
=
1e-5 # 1e-6
relativeTau
=
1e-3 # 1e-6
minRelativeTau
=
1e-6
[timeSteps]
scheme
=
newmark # newmark, backwardEuler
timeSteps
=
1e
5
timeSteps
=
1e
6
[u0.solver]
maximumIterations
=
100
...
...
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