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
13c3b511
Commit
13c3b511
authored
Oct 11, 2021
by
Jonathan Lambrechts
Browse files
fix validation
parent
0127284b
Pipeline
#9832
passed with stages
in 7 minutes and 43 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
validation/cavity/cavity.py
View file @
13c3b511
...
...
@@ -43,7 +43,7 @@ class Poiseuille(unittest.TestCase) :
if
not
os
.
path
.
isdir
(
outputdir
)
:
os
.
makedirs
(
outputdir
)
subprocess
.
call
([
"gmsh"
,
"-2"
,
"mesh.geo"
,
"-clscale"
,
"0.
1
"
])
subprocess
.
call
([
"gmsh"
,
"-2"
,
"mesh.geo"
,
"-clscale"
,
"0.
5
"
])
t
=
0
ii
=
0
...
...
@@ -93,8 +93,6 @@ class Poiseuille(unittest.TestCase) :
while
ii
<
1000
:
#Fluid solver
time_integration
.
iterate
(
fluid
,
None
,
dt
,
check_residual_norm
=
1
)
if
ii
==
10
:
exit
(
0
)
t
+=
dt
#Output files writting
if
ii
%
outf
==
0
:
...
...
Jonathan Lambrechts
@jlambrechts
mentioned in commit
0659028d
·
Oct 12, 2021
mentioned in commit
0659028d
mentioned in commit 0659028de0deee8acf9a0a55ba89628436c18ff6
Toggle commit list
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