Matrix for Poisson equation

91 views
Skip to first unread message

Viktor

unread,
Oct 6, 2021, 5:46:02 AM10/6/21
to mantaflow Forum
Hi!

I have a question regarding the way the Laplacian matrix is constructed in mantaflow for the pressure projection step. The values of the matrix as it is constructed in the "MakeLaplaceMatrix" function at the conjugategard.h file, are not scaled with (1/dx)^2 because mantaflow assumes unit grid cell size, right?

Thank you!

thu...@gmail.com

unread,
Oct 18, 2021, 8:20:38 AM10/18/21
to mantaflow Forum
Hi, yes - exactly. The grid in mantaflow has a normalized cell size of dx=1, which leads to a constant Laplace stencil.
Reply all
Reply to author
Forward
0 new messages