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
86e8b17c
Commit
86e8b17c
authored
Jan 19, 2021
by
Nathan Coppin
Browse files
updating testcases part 1
parent
9ccc26a3
Pipeline
#8908
passed with stages
in 5 minutes and 22 seconds
Changes
49
Pipelines
1
Show whitespace changes
Inline
Side-by-side
scontact/scontact.c
View file @
86e8b17c
...
...
@@ -108,7 +108,9 @@ static void particleBoundingBox(const Particle *p, const double x[DIMENSION], do
pmax
[
i
]
=
x
[
i
]
+
p
->
r
;
}
}
static
double
particleProblemGetMu
(
const
ParticleProblem
*
p
,
int
mat0
,
int
mat1
)
{
return
p
->
mu
[
mat0
*
particleProblemNMaterial
(
p
)
+
mat1
];
}
static
void
_cross
(
const
double
*
a
,
const
double
*
b
,
double
*
c
)
{
c
[
0
]
=
a
[
1
]
*
b
[
2
]
-
a
[
2
]
*
b
[
1
];
c
[
1
]
=
a
[
2
]
*
b
[
0
]
-
a
[
0
]
*
b
[
2
];
...
...
@@ -160,7 +162,7 @@ static int contact_init_particle_particle (Contact *c, const ParticleProblem *p,
c
->
r1
=
p1
->
r
;
#endif
c
->
type
=
PARTICLE_PARTICLE
;
c
->
mu
=
0
;
c
->
mu
=
particleProblemGetMu
(
p
,
p
->
particleMaterial
[
id0
],
p
->
particleMaterial
[
id1
]);
;
return
c
->
D
<
alert
;
}
...
...
@@ -197,11 +199,6 @@ size_t particleProblemAddBoundaryDiskTagId(ParticleProblem *p, const double x[DI
return
vectorSize
(
p
->
disks
)
-
1
;
}
static
double
particleProblemGetMu
(
const
ParticleProblem
*
p
,
int
mat0
,
int
mat1
)
{
return
p
->
mu
[
mat0
*
particleProblemNMaterial
(
p
)
+
mat1
];
}
size_t
particleProblemAddBoundaryDisk
(
ParticleProblem
*
p
,
const
double
x
[
DIMENSION
],
double
r
,
const
char
*
tag
,
const
char
*
materialTag
)
{
return
particleProblemAddBoundaryDiskTagId
(
p
,
x
,
r
,
particleProblemGetTagId
(
p
,
tag
),
particleProblemGetMaterialTagId
(
p
,
materialTag
));
}
...
...
@@ -1539,6 +1536,7 @@ size_t particleProblemGetMaterialTagId(ParticleProblem *p, const char *tag) {
vectorPushN
(
&
p
->
mu
,
n
*
n
);
for
(
int
i
=
0
;
i
<
n
;
++
i
){
for
(
int
j
=
0
;
j
<
n
;
++
j
)
{
p
->
mu
[
i
*
n
+
j
]
=
0
;
p
->
mu
[
i
]
=
(
i
==
n
-
1
||
j
==
n
-
1
)
?
0
:
oldmu
[
i
*
(
n
-
1
)
+
j
];
}
}
...
...
testcases/avalanch/avalanch1fluid/avalanch1fluidfriction.py
View file @
86e8b17c
...
...
@@ -82,24 +82,21 @@ fluid.set_wall_boundary("Left")
fluid
.
set_wall_boundary
(
"Top"
,
pressure
=
0
)
fluid
.
set_wall_boundary
(
"Right"
)
# Set locations of the grains in the mesh and compute the porosity in each computation cell.
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
()
,
init
=
True
)
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
())
# Write output files for post-visualization.
fluid
.
export
_vtk
(
outputdir
,
0
,
0
)
fluid
.
write
_vtk
(
outputdir
,
0
,
0
)
tic
=
time
.
time
()
G
=
np
.
zeros
((
p
.
n_particles
(),
p
.
dim
()))
G
[:,
1
]
=
g
[
1
]
*
p
.
mass
()[:,
0
]
#
# COMPUTATION LOOP
#
while
t
<
tEnd
:
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
5
,
contact_tol
=
5e-9
,
external_particles_forces
=
G
)
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
5
,
external_particles_forces
=
g
*
p
.
mass
()
)
t
+=
dt
# Output files writing.
if
ii
%
outf
==
0
:
ioutput
=
int
(
ii
/
outf
)
+
1
p
.
write_vtk
(
outputdir
,
ioutput
,
t
)
fluid
.
export
_vtk
(
outputdir
,
t
,
ioutput
)
fluid
.
write
_vtk
(
outputdir
,
ioutput
,
t
)
ii
+=
1
print
(
"%i : %.2g/%.2g (cpu %.6g)"
%
(
ii
,
t
,
tEnd
,
time
.
time
()
-
tic
))
testcases/avalanch/avalanch1fluid/avalanch1fluidnofriction.py
View file @
86e8b17c
...
...
@@ -51,7 +51,7 @@ H = 0.2 # domain height
outf
=
10
# number of iterations between output files
dt
=
1e-3
# time step
tEnd
=
10
# final time
use_pre_deposit
=
Fals
e
# set if the deposit in ../depot/depot.py has been achieved. If false an hexagonal packing is used for the inital column
use_pre_deposit
=
Tru
e
# set if the deposit in ../depot/depot.py has been achieved. If false an hexagonal packing is used for the inital column
#
# PARTICLES PROBLEM
...
...
@@ -86,7 +86,7 @@ if use_pre_deposit:
p1
=
scontact
.
ParticleProblem
(
2
)
# Use particles deposit computed by the depot.py file of "depot" folder.
p1
.
read_vtk
(
"../depot/output"
,
25
)
p
.
add_particles
(
p1
.
position
(),
p1
.
r
(),
p1
.
mass
(),
v
=
p1
.
velocity
()
,
tag
=
"Sand"
)
p
.
add_particles
(
p1
.
position
(),
p1
.
r
(),
p1
.
mass
(),
v
=
p1
.
velocity
())
else
:
r
=
5e-4
# particles radius
hexagonal_packing
(
0
,
0
,
0.08
,
0.165
,
0.9
*
r
,
1.1
*
r
)
...
...
@@ -114,26 +114,22 @@ fluid.set_strong_boundary("Left",0,0)
fluid
.
set_strong_boundary
(
"Right"
,
0
,
0
)
# Set locations of the grains in the mesh and compute the porosity in each computation cell.
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
())
# Pressure initialization
fluid
.
solution
()[:,
2
]
=
(
H
-
fluid
.
coordinates
()[:,
1
])
*
(
-
g
[
1
])
*
rhof
# Write output files for post-visualization.
fluid
.
export
_vtk
(
outputdir
,
0
,
0
)
fluid
.
write
_vtk
(
outputdir
,
0
,
0
)
tic
=
time
.
time
()
G
=
np
.
zeros
((
p
.
n_particles
(),
p
.
dim
()))
G
[:,
1
]
=
g
[
1
]
*
p
.
mass
()[:,
0
]
#
# COMPUTATION LOOP
#
while
t
<
tEnd
:
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
10
,
external_particles_forces
=
G
)
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
10
,
external_particles_forces
=
g
*
p
.
mass
()
)
t
+=
dt
# Output files writing.
if
ii
%
outf
==
0
:
ioutput
=
int
(
ii
/
outf
)
+
1
p
.
write_vtk
(
outputdir
,
ioutput
,
t
)
fluid
.
export
_vtk
(
outputdir
,
t
,
ioutput
)
fluid
.
write
_vtk
(
outputdir
,
ioutput
,
t
)
ii
+=
1
print
(
"%i : %.2g/%.2g (cpu %.6g)"
%
(
ii
,
t
,
tEnd
,
time
.
time
()
-
tic
))
testcases/avalanch/avalanch2fluids/avalanch2fluids.py
View file @
86e8b17c
...
...
@@ -85,7 +85,7 @@ if not os.path.isdir(outputdir) :
# Physical parameters
g
=
np
.
array
([
0
,
-
9.81
])
# gravity
# Particles
r
=
0.00
0
5
# radius
r
=
0.00
1
5
# radius
lx
=
0.1
# particles area width
ly
=
0.18
# particles area height
N
=
15000
# number of particles
...
...
@@ -99,7 +99,7 @@ num = 1e-6 # sea water kinematic viscosity
# Numerical parameters
outf
=
10
#number of iterations between output files
dt
=
1e-
4
#time step
dt
=
1e-
3
#time step
tEnd
=
10
#final time
#
...
...
@@ -130,7 +130,7 @@ fluid.set_wall_boundary("Left")
fluid
.
set_wall_boundary
(
"Top"
,
pressure
=
0
)
fluid
.
set_wall_boundary
(
"Right"
)
# Set location of the particles in the mesh and compute the porosity in each computation cell
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
()
,
init
=
True
)
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
())
#Access to fluid fields and node coordiantes
s
=
fluid
.
solution
()
x
=
fluid
.
coordinates
()
...
...
@@ -139,22 +139,20 @@ c = np.ndarray((fluid.n_nodes()))
c
[:]
=
0
c
[
x
[:,
0
]
<
lx
]
=
1
fluid
.
set_concentration_cg
(
c
)
fluid
.
export
_vtk
(
outputdir
,
0
,
0
)
fluid
.
write
_vtk
(
outputdir
,
0
,
0
)
tic
=
time
.
time
()
G
=
np
.
zeros
((
p
.
n_particles
(),
p
.
dim
())
G
[:,
1
]
=
g
[
1
]
*
p
.
mass
()[:,
0
]
#
# COMPUTATION LOOP
#
while
t
<
tEnd
:
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
10
,
external_particles_forces
=
G
)
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
10
,
external_particles_forces
=
g
*
p
.
mass
()
)
t
+=
dt
# Output files writing
if
ii
%
outf
==
0
:
ioutput
=
int
(
ii
/
outf
)
+
1
p
.
write_vtk
(
outputdir
,
ioutput
,
t
)
fluid
.
export
_vtk
(
outputdir
,
t
,
ioutput
)
fluid
.
write
_vtk
(
outputdir
,
ioutput
,
t
)
ii
+=
1
print
(
"%i : %.2g/%.2g (cpu %.6g)"
%
(
ii
,
t
,
tEnd
,
time
.
time
()
-
tic
))
testcases/avalanch/avalanch2fluids/avalanch2fluidsnofriction.py
View file @
86e8b17c
...
...
@@ -36,7 +36,7 @@ import time
import
shutil
import
random
outputdir
=
"output"
outputdir
=
"output
2fluids
"
if
not
os
.
path
.
isdir
(
outputdir
)
:
os
.
makedirs
(
outputdir
)
...
...
@@ -51,8 +51,8 @@ rhom = 1050 # sea water density
num
=
1e-6
# sea water kinematic viscosity
# Numerical parameters
outf
=
10
0
# number of iterations between output files
dt
=
1e-
5
# time step
outf
=
10
# number of iterations between output files
dt
=
1e-
3
# time step
tEnd
=
1
# final time
#
...
...
@@ -83,7 +83,7 @@ fluid.set_wall_boundary("Left")
fluid
.
set_wall_boundary
(
"Top"
,
pressure
=
0
)
fluid
.
set_wall_boundary
(
"Right"
)
# Set location of the particles in the mesh and compute the porosity in each computation cell
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
()
,
init
=
True
)
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
())
# Access to fluid fields and node coordiantes
s
=
fluid
.
solution
()
x
=
fluid
.
coordinates
()
...
...
@@ -93,22 +93,20 @@ c = np.ndarray((fluid.n_nodes()))
c
[:]
=
0
c
[
x
[:,
0
]
<
lx
]
=
1
fluid
.
set_concentration_cg
(
c
)
fluid
.
export
_vtk
(
outputdir
,
0
,
0
)
fluid
.
write
_vtk
(
outputdir
,
0
,
0
)
tic
=
time
.
time
()
G
=
np
.
zeros
((
p
.
n_particles
(),
p
.
dim
())
G
[:,
1
]
=
g
[
1
]
*
p
.
mass
()[:,
0
]
#
# COMPUTATION LOOP
#
while
t
<
tEnd
:
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
5
,
contact_tol
=
5e-9
,
external_particles_forces
=
G
)
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
10
,
external_particles_forces
=
g
*
p
.
mass
()
)
t
+=
dt
# Output files writting
if
ii
%
outf
==
0
:
ioutput
=
int
(
ii
/
outf
)
+
1
p
.
write_vtk
(
outputdir
,
ioutput
,
t
)
fluid
.
export
_vtk
(
outputdir
,
t
,
ioutput
)
fluid
.
write
_vtk
(
outputdir
,
ioutput
,
t
)
ii
+=
1
print
(
"%i : %.2g/%.2g (cpu %.6g)"
%
(
ii
,
t
,
tEnd
,
time
.
time
()
-
tic
))
testcases/avalanch/avalanchnofluid/avalanchnofluidfriction.py
View file @
86e8b17c
...
...
@@ -57,27 +57,26 @@ p1.read_vtk("../depot/output",25)
p
=
scontact
.
ParticleProblem
(
2
,
True
,
True
)
p
.
load_msh_boundaries
(
"mesh.msh"
,
[
"Top"
,
"Bottom"
,
"Left"
,
"Right"
],
material
=
"Steel"
)
p
.
add_particles
(
p1
.
position
(),
p1
.
r
(),
p1
.
mass
(),
tag
=
"Sand"
)
#Taking friction into account
p
.
set_friction_coefficient
(
0.3
,
"Steel"
,
"Sand"
)
#Wall-Particle
p
.
set_friction_coefficient
(
0.3
,
"Sand"
,
"Sand"
)
#Particle-Particle
p
.
write_vtk
(
outputdir
,
0
,
0
)
#Taking friction into account
p
.
set_friction_coefficient
(
0.9
,
"Steel"
,
"Sand"
)
#Wall-Particle
p
.
set_friction_coefficient
(
0.9
,
"Sand"
,
"Sand"
)
#Particle-Particle
# Initial time and iteration.
t
=
0
ii
=
0
outf
=
5
G
=
np
.
zeros
((
p
.
n_particles
(),
p
.
dim
()))
G
[:,
1
]
=
g
[
1
]
*
p
.
mass
()[:,
0
]
#
# COMPUTATION LOOP
#
i
=
0
print
(
p
.
n_particles
())
while
t
<
tEnd
:
print
(
i
)
i
=
i
+
1
time_integration
.
iterate
(
None
,
p
,
dt
,
min_nsub
=
20
,
contact_tol
=
2.5e-8
,
external_particles_forces
=
G
)
time_integration
.
iterate
(
None
,
p
,
dt
,
min_nsub
=
5
,
external_particles_forces
=
g
*
p
.
mass
()
)
t
+=
dt
# Output files writing.
if
ii
%
outf
==
0
:
...
...
testcases/avalanch/depot/depot.py
View file @
86e8b17c
...
...
@@ -71,15 +71,15 @@ ii = 0
# Physical parameters
g
=
-
9.81
#gravity
g
=
np
.
array
([
0
,
-
9.81
])
#gravity
rhop
=
1500
#particles density
r
=
0
.5e-3
#radius
r
=
1
.5e-3
#radius
ly
=
0.2
#particles area height
lx
=
0.1
#particles area width
tEnd
=
5
#final time
# Numerical parameters
dt
=
1
e-4
#time step
dt
=
5
e-4
#time step
#
# PARTICLE PROBLEM
...
...
@@ -90,16 +90,14 @@ p.read_vtk(outputdir,0)
print
(
"r = %g, m = %g
\n
"
%
(
p
.
r
()[
0
],
p
.
mass
()[
0
]))
print
(
"RHOP = %g"
%
rhop
)
print
(
"number of grains = %d"
%
len
(
p
.
r
()))
outf
=
20
00
#number of iterations between output files
outf
=
4
00
#number of iterations between output files
tic
=
time
.
time
()
G
=
np
.
zeros
((
p
.
n_particles
(),
p
.
dim
())
G
[:,
1
]
=
p
.
mass
()[:,
0
]
*
g
-
p
.
velocity
()[:,
1
]
#
# COMPUTATION LOOP
#
while
t
<
tEnd
:
time_integration
.
iterate
(
None
,
p
,
dt
,
min_nsub
=
1
,
external_particles_forces
=
G
)
time_integration
.
iterate
(
None
,
p
,
dt
,
min_nsub
=
1
,
external_particles_forces
=
g
*
p
.
mass
()
)
t
+=
dt
# Output files writing
if
ii
%
outf
==
0
:
...
...
testcases/couette-2d/couette.py
View file @
86e8b17c
...
...
@@ -118,7 +118,7 @@ fluid.set_strong_boundary("Inner",0,lambda x : (x[:,1]/rout)*0.1)
fluid
.
set_strong_boundary
(
"Inner"
,
1
,
lambda
x
:
(
-
x
[:,
0
]
/
rout
)
*
0.1
)
# Set location of the grains in the mesh and compute the porosity in each computation cell
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
())
fluid
.
export
_vtk
(
outputdir
,
0
,
0
)
fluid
.
write
_vtk
(
outputdir
,
0
,
0
)
tic
=
time
.
time
()
#
# COMPUTATION LOOP
...
...
@@ -130,6 +130,6 @@ while t < tEnd :
if
ii
%
outf
==
0
:
ioutput
=
int
(
ii
/
outf
)
+
1
p
.
write_vtk
(
outputdir
,
ioutput
,
t
)
fluid
.
export
_vtk
(
outputdir
,
t
,
ioutput
)
fluid
.
write
_vtk
(
outputdir
,
ioutput
,
t
)
ii
+=
1
print
(
"%i : %.2g/%.2g (cpu %.6g)"
%
(
ii
,
t
,
tEnd
,
time
.
time
()
-
tic
))
testcases/depot-2d/depot.py
View file @
86e8b17c
...
...
@@ -69,14 +69,14 @@ if not os.path.isdir(outputdir) :
# Physical parameters
g
=
np
.
array
([
0
,
-
9.81
])
# gravity
r
=
1e-3
# particles radius
r
=
1
.5
e-3
# particles radius
rhop
=
1500
# particles density
rho
=
1000
# fluid density
nu
=
1e-6
# kinematic viscosity
# Numerical parameters
outf
=
5
# number of iterations between output files
dt
=
2.5
e-3
# time step
dt
=
1
e-3
# time step
tEnd
=
100
# final time
# Geometrical parameters
...
...
@@ -110,24 +110,21 @@ fluid.set_wall_boundary("Lateral")
fluid
.
set_wall_boundary
(
"Top"
,
pressure
=
0
)
# Set location of the particles in the mesh and compute the porosity in each computation cell
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
())
fluid
.
export
_vtk
(
outputdir
,
0
,
0
)
fluid
.
write
_vtk
(
outputdir
,
0
,
0
)
p
.
write_vtk
(
outputdir
,
0
,
0
)
tic
=
time
.
time
()
G
=
np
.
zeros
((
p
.
n_particles
(),
2
))
G
[:,
1
]
=
p
.
mass
()[:,
0
]
*
g
[
1
]
#
# COMPUTATION LOOP
#
while
t
<
tEnd
:
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
5
,
external_particles_forces
=
G
)
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
5
,
external_particles_forces
=
g
*
p
.
mass
()
)
t
+=
dt
# Output files writting
if
ii
%
outf
==
0
:
ioutput
=
int
(
ii
/
outf
)
+
1
p
.
write_vtk
(
outputdir
,
ioutput
,
t
)
fluid
.
export
_vtk
(
outputdir
,
t
,
ioutput
)
fluid
.
write
_vtk
(
outputdir
,
ioutput
,
t
)
ii
+=
1
print
(
"%i : %.2g/%.2g (cpu %.6g)"
%
(
ii
,
t
,
tEnd
,
time
.
time
()
-
tic
))
testcases/depot-3d/depot.py
View file @
86e8b17c
...
...
@@ -104,19 +104,17 @@ fluid.set_wall_boundary("Z")
fluid
.
set_particles
(
p
.
mass
(),
p
.
volume
(),
p
.
position
(),
p
.
velocity
(),
p
.
contact_forces
())
tic
=
time
.
time
()
fluid
.
export_vtk
(
outputdir
,
0
,
0
)
G
=
np
.
zeros
((
p
.
n_particles
(),
p
.
dim
()))
G
[:,
1
]
=
p
.
mass
()[:,
0
]
*
g
[
1
]
fluid
.
write_vtk
(
outputdir
,
0
,
0
)
#
# COMPUTATION LOOP
#
while
t
<
tEnd
:
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
20
,
contact_tol
=
1e-8
,
external_particles_forces
=
G
)
time_integration
.
iterate
(
fluid
,
p
,
dt
,
min_nsub
=
20
,
contact_tol
=
1e-8
,
external_particles_forces
=
g
*
p
.
mass
()
)
t
+=
dt
# Output files writing
if
ii
%
outf
==
0
:
ioutput
=
int
(
ii
/
outf
)
+
1
p
.
write_vtk
(
outputdir
,
ioutput
,
t
)
fluid
.
export
_vtk
(
outputdir
,
t
,
ioutput
)
fluid
.
write
_vtk
(
outputdir
,
ioutput
,
t
)
ii
+=
1
print
(
"%i : %.2g/%.2g (cpu %.6g)"
%
(
ii
,
t
,
tEnd
,
time
.
time
()
-
tic
))
testcases/funnel/depot.py
→
testcases/
deprecated/
funnel/depot.py
View file @
86e8b17c
File moved
testcases/funnel/mesh.geo
→
testcases/
deprecated/
funnel/mesh.geo
View file @
86e8b17c
File moved
testcases/funnel/radius.csv
→
testcases/
deprecated/
funnel/radius.csv
View file @
86e8b17c
File moved
testcases/injection-3d/inject2f.py
→
testcases/
deprecated/
injection-3d/inject2f.py
View file @
86e8b17c
...
...
@@ -67,9 +67,9 @@ fluid.set_open_boundary("Bottom",velocity=[0,outerBndV,0],concentration=1)
ii
=
0
t
=
0
fluid
.
solution
()[:,
3
]
=
-
g
*
rho1
*
(
0.26
-
fluid
.
coordinates
()[:,
1
])
fluid
.
export_vtk
(
outputdir
,
0
,
0
)
fluid
.
write_vtk
(
outputdir
,
0
,
0
)
tic
=
time
.
time
()
while
t
<
tEnd
:
#Fluid solver
...
...
@@ -78,6 +78,6 @@ while t < tEnd :
#Output files writting
if
ii
%
outf
==
0
:
ioutput
=
int
(
ii
/
outf
)
+
1
fluid
.
export
_vtk
(
outputdir
,
t
,
ioutput
)
fluid
.
write
_vtk
(
outputdir
,
ioutput
,
t
)
ii
+=
1
print
(
"%i : %.2g/%.2g (cpu %.6g)"
%
(
ii
,
t
,
tEnd
,
time
.
time
()
-
tic
))
testcases/injection-3d/mesh.geo
→
testcases/
deprecated/
injection-3d/mesh.geo
View file @
86e8b17c
File moved
testcases/injectionWGrains/Q0.05Lyon/adapt/mesh.geo
→
testcases/
deprecated/
injectionWGrains/Q0.05Lyon/adapt/mesh.geo
View file @
86e8b17c
File moved
testcases/injectionWGrains/Q0.05Lyon/inject2fGrains.py
→
testcases/
deprecated/
injectionWGrains/Q0.05Lyon/inject2fGrains.py
View file @
86e8b17c
File moved
testcases/injectionWGrains/Q0.05Lyon/mesh.geo
→
testcases/
deprecated/
injectionWGrains/Q0.05Lyon/mesh.geo
View file @
86e8b17c
File moved
testcases/injectionWGrains/adapt/mesh.geo
→
testcases/
deprecated/
injectionWGrains/adapt/mesh.geo
View file @
86e8b17c
File moved
testcases/injectionWGrains/depot.py
→
testcases/
deprecated/
injectionWGrains/depot.py
View file @
86e8b17c
File moved
Prev
1
2
3
Next
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