Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
LDD-for-two-phase-flow-systems
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
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Seus
LDD-for-two-phase-flow-systems
Commits
db2df9b0
Commit
db2df9b0
authored
Dec 9, 2019
by
David Seus
Browse files
Options
Downloads
Patches
Plain Diff
setup other example
parent
cc66ddc9
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Two-phase-Two-phase/multi-patch/TP-TP-layered-soil-case-with-inner-patch/mesh_study/TP-TP-layered_soil_with_inner_patch-realistic-different-model-change_mesh_study.py
+82
-81
82 additions, 81 deletions
...nner_patch-realistic-different-model-change_mesh_study.py
with
82 additions
and
81 deletions
Two-phase-Two-phase/multi-patch/TP-TP-layered-soil-case-with-inner-patch/mesh_study/TP-TP-layered_soil_with_inner_patch-realistic-different-model-change_mesh_study.py
+
82
−
81
View file @
db2df9b0
...
@@ -30,28 +30,28 @@ sym.init_printing()
...
@@ -30,28 +30,28 @@ sym.init_printing()
use_case
=
"
TP-TP-layered-soil-realistic-model-change-at-interface12
"
use_case
=
"
TP-TP-layered-soil-realistic-model-change-at-interface12
"
max_iter_num
=
300
max_iter_num
=
300
FEM_Lagrange_degree
=
1
FEM_Lagrange_degree
=
1
mesh_study
=
Fals
e
mesh_study
=
Tru
e
resolutions
=
{
resolutions
=
{
1
:
5e-4
,
# h=2
1
:
5e-4
,
# h=2
2
:
5e-4
,
# h=1.1180
2
:
5e-4
,
# h=1.1180
4
:
3e-4
,
# h=0.5590
4
:
3e-4
,
# h=0.5590
8
:
1e-6
,
# h=0.2814
8
:
1e-6
,
# h=0.2814
16
:
1
e-
6
,
# h=0.1412
16
:
9
e-
7
,
# h=0.1412
32
:
1
e-
6
,
# h=0.0706
32
:
9
e-
7
,
# h=0.0706
64
:
1
e-
6
,
# 0.03535
64
:
9
e-
7
,
# 0.03535
128
:
1
e-
6
,
# 0.01768
128
:
9
e-
7
,
# 0.01768
# 256: 1e-6 # 0.00884
# 256: 1e-6 # 0.00884
}
}
############ GRID #######################
############ GRID #######################
# mesh_resolution = 20
# mesh_resolution = 20
timestep_size
=
0.00
05
timestep_size
=
0.00
1
number_of_timesteps
=
11
00
number_of_timesteps
=
11
plot_timestep_every
=
5
plot_timestep_every
=
5
# decide how many timesteps you want analysed. Analysed means, that we write out
# decide how many timesteps you want analysed. Analysed means, that we write out
# subsequent errors of the L-iteration within the timestep.
# subsequent errors of the L-iteration within the timestep.
number_of_timesteps_to_analyse
=
6
number_of_timesteps_to_analyse
=
6
starttime
=
0.0
starttime
s
=
[
0.0
]
Lw
=
0.025
#/timestep_size
Lw
=
0.025
#/timestep_size
Lnw
=
Lw
Lnw
=
Lw
...
@@ -60,7 +60,7 @@ lambda_w = 20
...
@@ -60,7 +60,7 @@ lambda_w = 20
lambda_nw
=
20
lambda_nw
=
20
include_gravity
=
False
include_gravity
=
False
debugflag
=
Fals
e
debugflag
=
Tru
e
analyse_condition
=
True
analyse_condition
=
True
if
mesh_study
:
if
mesh_study
:
...
@@ -75,11 +75,11 @@ if mesh_study:
...
@@ -75,11 +75,11 @@ if mesh_study:
write_to_file
=
{
write_to_file
=
{
'
space_errornorms
'
:
True
,
'
space_errornorms
'
:
True
,
'
meshes_and_markers
'
:
True
,
'
meshes_and_markers
'
:
True
,
'
L_iterations_per_timestep
'
:
Fals
e
,
'
L_iterations_per_timestep
'
:
Tru
e
,
'
solutions
'
:
Fals
e
,
'
solutions
'
:
Tru
e
,
'
absolute_differences
'
:
Fals
e
,
'
absolute_differences
'
:
Tru
e
,
'
condition_numbers
'
:
analyse_condition
,
'
condition_numbers
'
:
analyse_condition
,
'
subsequent_errors
'
:
Fals
e
'
subsequent_errors
'
:
Tru
e
}
}
else
:
else
:
write_to_file
=
{
write_to_file
=
{
...
@@ -752,6 +752,7 @@ for subdomain in isRichards.keys():
...
@@ -752,6 +752,7 @@ for subdomain in isRichards.keys():
)
)
for
starttime
in
starttimes
:
for
mesh_resolution
,
solver_tol
in
resolutions
.
items
():
for
mesh_resolution
,
solver_tol
in
resolutions
.
items
():
# initialise LDD simulation class
# initialise LDD simulation class
simulation
=
ldd
.
LDDsimulation
(
simulation
=
ldd
.
LDDsimulation
(
...
...
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