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
3a2911b5
Commit
3a2911b5
authored
Jun 14, 2018
by
Matthieu Constant
Browse files
new separation test
parent
fe8015b2
Pipeline
#3728
failed with stage
in 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
testcases/separation/rest.py
View file @
3a2911b5
...
...
@@ -63,11 +63,11 @@ p = 6
#Object fluid creation + Boundary condition of the fluid (field 0 is horizontal velocity; field 1 is vertical velocity; field 2 is pressure)
#Format: strong_boundaries = [(Boundary tag, Fluid field, Value)
strong_boundaries
=
[
(
"Top"
,
u0
,
u0
,
0
),
(
"Top"
,
u1
,
u1
,
0
),
#
("Top",u0,u0,0),
#
("Top",u1,u1,0),
(
"PtFix"
,
q0
,
p
,
0
),
(
"Bottom"
,
u0
,
u0
,
0
),
(
"Bottom"
,
u1
,
u1
,
0
),
#
("Bottom",u0,u0,0),
#
("Bottom",u1,u1,0),
(
"Left"
,
u0
,
u0
,
0
),
(
"Left"
,
u1
,
u1
,
0
),
(
"Right"
,
u0
,
u0
,
0
),
...
...
@@ -76,10 +76,10 @@ strong_boundaries = [
(
"Top"
,
v1
,
v1
,
0
),
(
"Bottom"
,
v0
,
v0
,
0
),
(
"Bottom"
,
v1
,
v1
,
0
),
(
"Left"
,
v0
,
v0
,
0
),
(
"Left"
,
v1
,
v1
,
0
),
(
"Right"
,
v0
,
v0
,
0
),
(
"Right"
,
v1
,
v1
,
0
)
#
("Left",v0,v0,0),
#
("Left",v1,v1,0),
#
("Right",v0,v0,0),
#
("Right",v1,v1,0)
]
fluid
=
fluid
.
fluid_problem
(
"mesh.msh"
,
g
,[
nu
*
rho
,
nu
*
rho1
],[
rho
,
rho1
],
epsilon
,
strong_boundaries
,
2
)
ii
=
0
...
...
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