Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fluidparticles
MigFlow
Commits
df587e97
Commit
df587e97
authored
Aug 31, 2018
by
Matthieu Constant
Browse files
reload for debug
parent
00fb7c46
Pipeline
#4064
passed with stage
in 58 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
testcases/injectionWGrains/inject2fGrainsReload.py
View file @
df587e97
...
@@ -31,7 +31,7 @@ import random
...
@@ -31,7 +31,7 @@ import random
outputdir
=
"output
TestReloa
d"
outputdir
=
"output
Vi
d"
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
=
.
000
25
# time step
dt
=
.
000
1
# 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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment