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

setup another TPTP 2 patch mesh study

parent c47694cc
No related branches found
No related tags found
No related merge requests found
...@@ -30,7 +30,7 @@ date = datetime.datetime.now() ...@@ -30,7 +30,7 @@ date = datetime.datetime.now()
datestr = date.strftime("%Y-%m-%d") datestr = date.strftime("%Y-%m-%d")
# Name of the usecase that will be printed during simulation. # Name of the usecase that will be printed during simulation.
use_case = "TP-TP-2P-realistic-different-intrinsic-perm-smaller-L" use_case = "TP-TP-2P-realistic-different-intrinsic-perm-params1a-higher-tol"
# The name of this very file. Needed for creating log output. # The name of this very file. Needed for creating log output.
thisfile = "TP-TP-2-patch-different-intrinsic-perm.py" thisfile = "TP-TP-2-patch-different-intrinsic-perm.py"
...@@ -61,14 +61,14 @@ timestep_size = 0.001 ...@@ -61,14 +61,14 @@ timestep_size = 0.001
number_of_timesteps = 1000 number_of_timesteps = 1000
# LDD scheme parameters ###################################################### # LDD scheme parameters ######################################################
Lw1 = 0.01 #/timestep_size Lw1 = 0.1 #/timestep_size
Lnw1= 0.01 Lnw1= 0.1
Lw2 = 0.001 #/timestep_size Lw2 = 0.1 #/timestep_size
Lnw2= 0.001 Lnw2= 0.1
lambda_w = 2 lambda_w = 40
lambda_nw = 2 lambda_nw = 40
include_gravity = False include_gravity = False
debugflag = False debugflag = False
analyse_condition = False analyse_condition = False
......
...@@ -29,7 +29,7 @@ date = datetime.datetime.now() ...@@ -29,7 +29,7 @@ date = datetime.datetime.now()
datestr = date.strftime("%Y-%m-%d") datestr = date.strftime("%Y-%m-%d")
# Name of the usecase that will be printed during simulation. # Name of the usecase that will be printed during simulation.
use_case = "TP-TP-2P-realistic-same-intrinsic0.1-control-for-case160620" use_case = "TP-TP-2P-realistic-same-intrinsic"
# The name of this very file. Needed for creating log output. # The name of this very file. Needed for creating log output.
thisfile = "TP-TP-2-patch-same-intrinsic-perm.py" thisfile = "TP-TP-2-patch-same-intrinsic-perm.py"
...@@ -46,7 +46,7 @@ resolutions = { ...@@ -46,7 +46,7 @@ resolutions = {
# 4: 1e-6, # 4: 1e-6,
# 8: 1e-6, # 8: 1e-6,
# 16: 5e-6, # 16: 5e-6,
32: 3e-6, 32: 1e-5,
# 64: 2e-6, # 64: 2e-6,
# 128: 1e-6, # 128: 1e-6,
# 256: 1e-6, # 256: 1e-6,
...@@ -56,20 +56,21 @@ resolutions = { ...@@ -56,20 +56,21 @@ resolutions = {
# The list is looped over and a simulation is run with t_0 as initial time # The list is looped over and a simulation is run with t_0 as initial time
# for each element t_0 in starttimes. # for each element t_0 in starttimes.
starttimes = {0: 0.0} starttimes = {0: 0.0}
# starttimes = {0: 0.0, 1:0.3, 2:0.6, 3:0.9}
timestep_size = 0.001 timestep_size = 0.001
number_of_timesteps = 1000 number_of_timesteps = 1000
# LDD scheme parameters ###################################################### # LDD scheme parameters ######################################################
Lw1 = 0.25 #/timestep_size Lw1 = 0.5 #/timestep_size
Lnw1= 0.25 Lnw1= 0.2
Lw2 = 0.25 #/timestep_size Lw2 = 0.5 #/timestep_size
Lnw2= 0.25 Lnw2= 0.2
lambda_w = 4 lambda_w = 2
lambda_nw = 4 lambda_nw = 1
include_gravity = False include_gravity = True
debugflag = False debugflag = False
analyse_condition = False analyse_condition = False
...@@ -80,7 +81,7 @@ analyse_condition = False ...@@ -80,7 +81,7 @@ analyse_condition = False
plot_timestep_every = 4 plot_timestep_every = 4
# Decide how many timesteps you want analysed. Analysed means, that # Decide how many timesteps you want analysed. Analysed means, that
# subsequent errors of the L-iteration within the timestep are written out. # subsequent errors of the L-iteration within the timestep are written out.
number_of_timesteps_to_analyse = 5 number_of_timesteps_to_analyse = 10
# fine grained control over data to be written to disk in the mesh study case # fine grained control over data to be written to disk in the mesh study case
# as well as for a regular simuation for a fixed grid. # as well as for a regular simuation for a fixed grid.
...@@ -176,8 +177,8 @@ lambda_param = {# ...@@ -176,8 +177,8 @@ lambda_param = {#
} }
intrinsic_permeability = { intrinsic_permeability = {
1: 0.1, 1: 0.01,
2: 0.1, 2: 0.01,
} }
# RELATIVE PEMRMEABILITIES # RELATIVE PEMRMEABILITIES
...@@ -339,7 +340,7 @@ if __name__ == '__main__': ...@@ -339,7 +340,7 @@ if __name__ == '__main__':
# parameter=simulation_parameter # parameter=simulation_parameter
# ) # )
LDDsim.join() # LDDsim.join()
if mesh_study: if mesh_study:
simulation_output_dir = processQueue.get() simulation_output_dir = processQueue.get()
hlp.merge_spacetime_errornorms(isRichards=isRichards, hlp.merge_spacetime_errornorms(isRichards=isRichards,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment