diff --git a/lbmpy/stencils.py b/lbmpy/stencils.py index a0d9001c782bb5e7043257f40885731ff828ec9e..38710e5503f34047140472fc847ee778319294a1 100644 --- a/lbmpy/stencils.py +++ b/lbmpy/stencils.py @@ -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)), } } diff --git a/lbmpy_tests/test_stencils.py b/lbmpy_tests/test_stencils.py index eb07afc57ebacfabc367bfdf011195ef545ed834..1a03e2a433cbe341a68d7ffdde805b2425753268 100644 --- a/lbmpy_tests/test_stencils.py +++ b/lbmpy_tests/test_stencils.py @@ -26,6 +26,8 @@ def get_all_stencils(): s.get_stencil('D3Q19', 'braunschweig'), s.get_stencil('D3Q27', 'premnath'), + + s.get_stencil("D3Q27", "fakhari"), ]