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
7f50552a
Commit
7f50552a
authored
Jun 07, 2018
by
Matthieu Constant
Browse files
poiseuille avec 2 viscosités diff
parent
bf6c4877
Changes
1
Hide whitespace changes
Inline
Side-by-side
testcases/poiseuille2fluids/poiseuille2visc.py
View file @
7f50552a
...
...
@@ -110,10 +110,6 @@ while t < tEnd :
#Fluid solver
fluid
.
implicit_euler
(
dt
)
t
+=
dt
s
=
fluid
.
solution
()
x
=
fluid
.
coordinates
()
vel
=
(
s
[:,
0
]
+
s
[:,
3
]
-
1
/
(
20
*
nu0
*
rho
)
*
x
[:,
1
]
*
(
1
-
x
[:,
1
]))
**
2
print
(
'Error'
,
(
vel
.
sum
())
**
.
5
)
#Output files writting
if
ii
%
outf
==
0
:
ioutput
=
int
(
ii
/
outf
)
+
1
...
...
Write
Preview
Markdown
is supported
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