From e34a71b1b825f1525aa205a05e0f438382844c23 Mon Sep 17 00:00:00 2001 From: David Seus <david.seus@nians.uni-stuttgart.de> Date: Mon, 19 Aug 2019 12:34:54 +0200 Subject: [PATCH] start RR-2patch and TP-R-2-patch examples --- RR-2-patch-test-case/RR-2-patch-test.py | 6 +++--- TP-R-two-patch-test-case/TP-R-2-patch-test.py | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/RR-2-patch-test-case/RR-2-patch-test.py b/RR-2-patch-test-case/RR-2-patch-test.py index de1cf3e..65e7f53 100755 --- a/RR-2-patch-test-case/RR-2-patch-test.py +++ b/RR-2-patch-test-case/RR-2-patch-test.py @@ -15,8 +15,8 @@ solver_tol = 1E-6 ############ GRID #######################ü mesh_resolution = 40 -timestep_size = 0.01 -number_of_timesteps = 150 +timestep_size = 0.001 +number_of_timesteps = 1500 # 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 = 10 @@ -29,7 +29,7 @@ lambda_w = 4 include_gravity = True debugflag = False -analyse_condition = False +analyse_condition = True output_string = "./output/new_gravity_term-number_of_timesteps{}_".format(number_of_timesteps) diff --git a/TP-R-two-patch-test-case/TP-R-2-patch-test.py b/TP-R-two-patch-test-case/TP-R-2-patch-test.py index 168870d..62645f7 100755 --- a/TP-R-two-patch-test-case/TP-R-2-patch-test.py +++ b/TP-R-two-patch-test-case/TP-R-2-patch-test.py @@ -13,29 +13,29 @@ import helpers as hlp # init sympy session sym.init_printing() -use_case = "TP-R-two-patch" -solver_tol = 5E-7 +use_case = "TP-R-two-patch-realistic " +solver_tol = 1E-6 ############ GRID #######################ü -mesh_resolution = 40 -timestep_size = 0.000001 +mesh_resolution = 20 +timestep_size = 0.00001 number_of_timesteps = 15 # 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 = 10 +number_of_timesteps_to_analyse = 5 starttime = 0 -Lw = 5 #/timestep_size +Lw = 1 #/timestep_size Lnw=Lw -l_param_w = 100 -l_param_nw = 100 +l_param_w = 40 +l_param_nw = 40 include_gravity = True debugflag = True analyse_condition = False -output_string = "./output/after_reimplementing_gravity_term_number_of_timesteps{}_".format(number_of_timesteps) +output_string = "./output/after_reimplementing_gravity_term-realistic_number_of_timesteps{}_".format(number_of_timesteps) ##### Domain and Interface #### # global simulation domain domain -- GitLab