TY - GEN
T1 - A Compact Numerical Implementation for Solving Stokes Equations Using Matrix-vector Operations
AU - Zhang, Tao
AU - Salama, Amgad
AU - Sun, Shuyu
AU - Zhong, Hua
N1 - KAUST Repository Item: Exported on 2020-10-01
PY - 2015/6/1
Y1 - 2015/6/1
N2 - In this work, a numerical scheme is implemented to solve Stokes equations based on cell-centered finite difference over staggered grid. In this scheme, all the difference operations have been vectorized thereby eliminating loops. This is particularly important when using programming languages that require interpretations, e.g., MATLAB and Python. Using this scheme, the execution time becomes significantly smaller compared with non-vectorized operations and also become comparable with those languages that require no repeated interpretations like FORTRAN, C, etc. This technique has also been applied to Navier-Stokes equations under laminar flow conditions.
AB - In this work, a numerical scheme is implemented to solve Stokes equations based on cell-centered finite difference over staggered grid. In this scheme, all the difference operations have been vectorized thereby eliminating loops. This is particularly important when using programming languages that require interpretations, e.g., MATLAB and Python. Using this scheme, the execution time becomes significantly smaller compared with non-vectorized operations and also become comparable with those languages that require no repeated interpretations like FORTRAN, C, etc. This technique has also been applied to Navier-Stokes equations under laminar flow conditions.
UR - http://hdl.handle.net/10754/556714
UR - http://linkinghub.elsevier.com/retrieve/pii/S1877050915011059
UR - http://www.scopus.com/inward/record.url?scp=84939170102&partnerID=8YFLogxK
U2 - 10.1016/j.procs.2015.05.297
DO - 10.1016/j.procs.2015.05.297
M3 - Conference contribution
SP - 1208
EP - 1218
BT - Procedia Computer Science
PB - Elsevier BV
ER -