Discretisation of Darcy Equation with variable coefficients #91
annereinarz
started this conversation in
General
Replies: 1 comment 1 reply
|
Presumably the one sided difference doesn't also need to be 7 points, and why does that not reduce the overall convergence rate? |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
For anyone with issues getting the 7 point stencil for the Darcy equation:
Now you can compute
$$ k'(y) d_y + k(y) (d_x^2+d_y^2+d_z^2)$$
where
You can then add the 7 point stencil for the laplacian (multiplied with k) to a centered difference stencil for$d_y$
All reactions