Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cm3Libraries
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cm3
cm3Libraries
Commits
0286093a
Commit
0286093a
authored
7 years ago
by
Van Dung NGUYEN
Browse files
Options
Downloads
Patches
Plain Diff
better convergence
parent
d07454b3
No related branches found
No related tags found
1 merge request
!27
Update from Master
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
dG3D/benchmarks/pathFollowing_TrueSnapback/twoHole.py
+3
-3
3 additions, 3 deletions
dG3D/benchmarks/pathFollowing_TrueSnapback/twoHole.py
dG3D/benchmarks/pathFollowing_snapback/twoHole.py
+4
-4
4 additions, 4 deletions
dG3D/benchmarks/pathFollowing_snapback/twoHole.py
with
7 additions
and
7 deletions
dG3D/benchmarks/pathFollowing_TrueSnapback/twoHole.py
+
3
−
3
View file @
0286093a
...
...
@@ -35,9 +35,9 @@ myfield1.stabilityParameters(beta1)
# solver
sol
=
2
# Gmm=0 (default) Taucs=1 PETsc=2
soltype
=
1
# StaticLinear=0 (default) StaticNonLinear=1
nstep
=
3
8
# number of step (used only if soltype=1)
nstep
=
3
0
# number of step (used only if soltype=1)
ftime
=
1.
# Final time (used only if soltype=1)
tol
=
1.e-
4
# relative tolerance for NR scheme (used only if soltype=1)
tol
=
1.e-
5
# relative tolerance for NR scheme (used only if soltype=1)
nstepArch
=
1
# Number of step between 2 archiving (used only if soltype=1)
# creation of Solver
...
...
@@ -89,4 +89,4 @@ mysolver.archivingForceOnPhysicalGroup('Face',12,1)
mysolver
.
solve
()
check
=
TestCheck
()
check
.
equal
(
-
4.239069
e+0
3
,
mysolver
.
getArchivedForceOnPhysicalGroup
(
"
Face
"
,
12
,
1
),
1.e-4
)
check
.
equal
(
-
9.223652
e+0
2
,
mysolver
.
getArchivedForceOnPhysicalGroup
(
"
Face
"
,
12
,
1
),
1.e-4
)
This diff is collapsed.
Click to expand it.
dG3D/benchmarks/pathFollowing_snapback/twoHole.py
+
4
−
4
View file @
0286093a
...
...
@@ -35,9 +35,9 @@ myfield1.stabilityParameters(beta1)
# solver
sol
=
2
# Gmm=0 (default) Taucs=1 PETsc=2
soltype
=
1
# StaticLinear=0 (default) StaticNonLinear=1
nstep
=
40
# number of step (used only if soltype=1)
nstep
=
35
# number of step (used only if soltype=1)
ftime
=
1.
# Final time (used only if soltype=1)
tol
=
1.e-
3
# relative tolerance for NR scheme (used only if soltype=1)
tol
=
1.e-
5
# relative tolerance for NR scheme (used only if soltype=1)
nstepArch
=
1
# Number of step between 2 archiving (used only if soltype=1)
# creation of Solver
...
...
@@ -51,7 +51,7 @@ mysolver.snlData(nstep,ftime,tol)
mysolver
.
pathFollowing
(
True
,
1
)
# time-step adaptation by number of NR iterations
mysolver
.
setPathFollowingIncrementAdaptation
(
True
,
3
)
mysolver
.
setPathFollowingIncrementAdaptation
(
True
,
4
)
mysolver
.
setPathFollowingLocalSteps
(
1e-2
,
1e-6
)
mysolver
.
setPathFollowingLocalIncrementType
(
1
);
...
...
@@ -89,4 +89,4 @@ mysolver.archivingForceOnPhysicalGroup('Face',12,1)
mysolver
.
solve
()
check
=
TestCheck
()
check
.
equal
(
-
5.452552
e+03
,
mysolver
.
getArchivedForceOnPhysicalGroup
(
"
Face
"
,
12
,
1
),
1.e-4
)
check
.
equal
(
-
2.256506
e+03
,
mysolver
.
getArchivedForceOnPhysicalGroup
(
"
Face
"
,
12
,
1
),
1.e-4
)
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