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

setup other example

parent cc66ddc9
No related branches found
No related tags found
No related merge requests found
......@@ -30,28 +30,28 @@ sym.init_printing()
use_case = "TP-TP-layered-soil-realistic-model-change-at-interface12"
max_iter_num = 300
FEM_Lagrange_degree = 1
mesh_study = False
mesh_study = True
resolutions = {
1: 5e-4, # h=2
2: 5e-4, # h=1.1180
4: 3e-4, # h=0.5590
8: 1e-6, # h=0.2814
16: 1e-6, # h=0.1412
32: 1e-6, # h=0.0706
64: 1e-6, # 0.03535
128: 1e-6, # 0.01768
16: 9e-7, # h=0.1412
32: 9e-7, # h=0.0706
64: 9e-7, # 0.03535
128: 9e-7, # 0.01768
# 256: 1e-6 # 0.00884
}
############ GRID #######################
# mesh_resolution = 20
timestep_size = 0.0005
number_of_timesteps = 1100
timestep_size = 0.001
number_of_timesteps = 11
plot_timestep_every = 5
# decide how many timesteps you want analysed. Analysed means, that we write out
# subsequent errors of the L-iteration within the timestep.
number_of_timesteps_to_analyse = 6
starttime = 0.0
starttimes = [0.0]
Lw = 0.025 #/timestep_size
Lnw=Lw
......@@ -60,7 +60,7 @@ lambda_w = 20
lambda_nw = 20
include_gravity = False
debugflag = False
debugflag = True
analyse_condition = True
if mesh_study:
......@@ -75,11 +75,11 @@ if mesh_study:
write_to_file = {
'space_errornorms': True,
'meshes_and_markers': True,
'L_iterations_per_timestep': False,
'solutions': False,
'absolute_differences': False,
'L_iterations_per_timestep': True,
'solutions': True,
'absolute_differences': True,
'condition_numbers': analyse_condition,
'subsequent_errors': False
'subsequent_errors': True
}
else:
write_to_file = {
......@@ -752,6 +752,7 @@ for subdomain in isRichards.keys():
)
for starttime in starttimes:
for mesh_resolution, solver_tol in resolutions.items():
# initialise LDD simulation class
simulation = ldd.LDDsimulation(
......
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment