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
RudolfWeeber
lbmpy
Commits
b144b368
Commit
b144b368
authored
Oct 01, 2019
by
Markus Holzer
Browse files
implemented unconventional D3Q27 stencil by Abbas Fakhari
parent
2b4af66d
Changes
2
Hide whitespace changes
Inline
Side-by-side
lbmpy/stencils.py
View file @
b144b368
...
...
@@ -83,6 +83,12 @@ get_stencil.data = {
(
1
,
0
,
1
),
(
-
1
,
0
,
1
),
(
1
,
0
,
-
1
),
(
-
1
,
0
,
-
1
),
(
0
,
1
,
1
),
(
0
,
-
1
,
1
),
(
0
,
1
,
-
1
),
(
0
,
-
1
,
-
1
),
(
1
,
1
,
1
),
(
-
1
,
1
,
1
),
(
1
,
-
1
,
1
),
(
-
1
,
-
1
,
1
),
(
1
,
1
,
-
1
),
(
-
1
,
1
,
-
1
),
(
1
,
-
1
,
-
1
),
(
-
1
,
-
1
,
-
1
))
(
1
,
1
,
-
1
),
(
-
1
,
1
,
-
1
),
(
1
,
-
1
,
-
1
),
(
-
1
,
-
1
,
-
1
)),
'fakhari'
:
((
0
,
0
,
0
),
(
1
,
0
,
0
),
(
-
1
,
0
,
0
),
(
0
,
1
,
0
),
(
0
,
-
1
,
0
),
(
0
,
0
,
1
),
(
0
,
0
,
-
1
),
(
1
,
1
,
1
),
(
-
1
,
1
,
1
),
(
1
,
-
1
,
1
),
(
-
1
,
-
1
,
1
),
(
1
,
1
,
-
1
),
(
-
1
,
1
,
-
1
),
(
1
,
-
1
,
-
1
),
(
-
1
,
-
1
,
-
1
),
(
1
,
1
,
0
),
(
-
1
,
1
,
0
),
(
1
,
-
1
,
0
),
(
-
1
,
-
1
,
0
),
(
1
,
0
,
1
),
(
-
1
,
0
,
1
),
(
1
,
0
,
-
1
),
(
-
1
,
0
,
-
1
),
(
0
,
1
,
1
),
(
0
,
-
1
,
1
),
(
0
,
1
,
-
1
),
(
0
,
-
1
,
-
1
)),
}
}
lbmpy_tests/test_stencils.py
View file @
b144b368
...
...
@@ -26,6 +26,8 @@ def get_all_stencils():
s
.
get_stencil
(
'D3Q19'
,
'braunschweig'
),
s
.
get_stencil
(
'D3Q27'
,
'premnath'
),
s
.
get_stencil
(
"D3Q27"
,
"fakhari"
),
]
...
...
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