Skip to content
Snippets Groups Projects
Commit 776c923f authored by David's avatar David
Browse files

uai

parent 6a3871f8
No related branches found
No related tags found
No related merge requests found
""" """LDD simulation class.
LDD simulation class
Main class of the LDD simulation. The heart and soul of the code.
""" """
import os import os
...@@ -20,9 +21,8 @@ from termcolor import colored ...@@ -20,9 +21,8 @@ from termcolor import colored
from solutionFile import SolutionFile from solutionFile import SolutionFile
class LDDsimulation(object): class LDDsimulation(object):
""" Main Class of LDD simulation """Main Class of LDD simulation.
LDDsimulation is the main class for the LDD simulation. It contains methods for LDDsimulation is the main class for the LDD simulation. It contains methods for
setting up and running the LDD simulation for different meshes and domains. setting up and running the LDD simulation for different meshes and domains.
... ...
......
...@@ -24,8 +24,8 @@ sym.init_printing() ...@@ -24,8 +24,8 @@ sym.init_printing()
solver_tol = 5E-7 solver_tol = 5E-7
############ GRID #######################ü ############ GRID #######################ü
mesh_resolution = 40 mesh_resolution = 5
timestep_size = 0.0005 timestep_size = 0.0001
number_of_timesteps = 2000 number_of_timesteps = 2000
# 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.
...@@ -42,7 +42,7 @@ include_gravity = True ...@@ -42,7 +42,7 @@ include_gravity = True
debugflag = False debugflag = False
analyse_condition = True analyse_condition = True
output_string = "./output/nondirichlet_number_of_timesteps{}_".format(number_of_timesteps) output_string = "./output/brief_docker_test_number_of_timesteps{}_".format(number_of_timesteps)
# global domain # global domain
subdomain0_vertices = [df.Point(-1.0,-1.0), # subdomain0_vertices = [df.Point(-1.0,-1.0), #
... ...
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment