Skip to content
Snippets Groups Projects
Commit 7c63c4d7 authored by David Seus's avatar David Seus
Browse files

setup layered soil case mesh study

parent cc5c43da
No related branches found
No related tags found
No related merge requests found
...@@ -32,35 +32,35 @@ max_iter_num = 1000 ...@@ -32,35 +32,35 @@ max_iter_num = 1000
FEM_Lagrange_degree = 1 FEM_Lagrange_degree = 1
mesh_study = True mesh_study = True
resolutions = { resolutions = {
# 1: 1e-7, # h=2 1: 1e-6, # h=2
2: 1e-7, # h=1.1180 2: 1e-6, # h=1.1180
# 4: 1e-7, # h=0.5590 4: 1e-6, # h=0.5590
# 8: 1e-7, # h=0.2814 8: 1e-6, # h=0.2814
# 16: 1e-7, # h=0.1412 16: 1e-6, # h=0.1412
# 32: 1e-7, # h=0.0706 32: 1e-6, # h=0.0706
# 64: 1e-7, 64: 1e-6,
# 128: 1e-7, 128: 1e-6,
# 256: 1e-7 # 256: 1e-7
} }
############ GRID ####################### ############ GRID #######################
# mesh_resolution = 20 # mesh_resolution = 20
timestep_size = 0.001 timestep_size = 0.005
number_of_timesteps = 300 number_of_timesteps = 100
plot_timestep_every = 2 plot_timestep_every = 2
# 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 = 0 number_of_timesteps_to_analyse = 0
starttimes = [0.0, 0.25, 0.5] starttimes = [0.0]
Lw = 0.025 #/timestep_size Lw = 0.025 #/timestep_size
Lnw=Lw Lnw=Lw
lambda_w = 80 lambda_w = 8
lambda_nw = 80 lambda_nw = 8
include_gravity = True include_gravity = False
debugflag = True debugflag = False
analyse_condition = True analyse_condition = True
if mesh_study: if mesh_study:
...@@ -76,10 +76,10 @@ if mesh_study: ...@@ -76,10 +76,10 @@ if mesh_study:
'space_errornorms': True, 'space_errornorms': True,
'meshes_and_markers': True, 'meshes_and_markers': True,
'L_iterations_per_timestep': False, 'L_iterations_per_timestep': False,
'solutions': False, 'solutions': True,
'absolute_differences': False, 'absolute_differences': True,
'condition_numbers': analyse_condition, 'condition_numbers': analyse_condition,
'subsequent_errors': False 'subsequent_errors': True
} }
else: else:
write_to_file = { write_to_file = {
...@@ -262,7 +262,7 @@ densities = { ...@@ -262,7 +262,7 @@ densities = {
'nonwetting':1}, #1.225}} 'nonwetting':1}, #1.225}}
} }
gravity_acceleration = 9.81 gravity_acceleration = 1
# porosities taken from # porosities taken from
# https://www.geotechdata.info/parameter/soil-porosity.html # https://www.geotechdata.info/parameter/soil-porosity.html
# Dict of the form: { subdom_num : porosity } # Dict of the form: { subdom_num : porosity }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment