Commit df587e97 authored by Matthieu Constant's avatar Matthieu Constant
Browse files

reload for debug

parent 00fb7c46
Pipeline #4064 passed with stage
in 58 seconds
...@@ -31,7 +31,7 @@ import random ...@@ -31,7 +31,7 @@ import random
outputdir = "outputTestReload" outputdir = "outputVid"
if not os.path.isdir(outputdir) : if not os.path.isdir(outputdir) :
os.makedirs(outputdir) os.makedirs(outputdir)
...@@ -56,15 +56,15 @@ ly = .14 ...@@ -56,15 +56,15 @@ ly = .14
rhop = 2500 rhop = 2500
#numerical parameters #numerical parameters
lcmin = .1 # mesh size lcmin = .1 # mesh size
dt = .00025 # time step dt = .0001 # time step
iReload = 30 iReload = 532
shutil.copy("mesh.msh", outputdir +"/mesh.msh") shutil.copy("mesh.msh", outputdir +"/mesh.msh")
p = scontact2.ParticleProblem() p = scontact2.ParticleProblem()
p.read_vtk(outputdir,iReload) p.read_vtk(outputdir,iReload)
outf = 1 # number of iterations between output files outf = 25 # number of iterations between output files
ii = 0 ii = 0
t = 0 t = 0
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment