Post #2870364
2026-04-16 21:43 UTC
@kbob@chaos.social For PBC on a square grid you can use an extra layer of grid squares outside the tile, but they are not fixed – they copy values from the opposite side of the domain. See e.g. page 3 of https://www.josstam.com/_files/ugd/cf1fd6_9989229efbd34a26ba5ccd913721a2ac.pdf.
But I'm not using square grids - that would be the finite difference method. Instead I use triangle meshes with the finite element method. Much better for shapes like pentagons with no right angles.
Replies (1)
-
@kbob@chaos.social 2026-04-16 22:17
@matt_zucker@mastodon.social If the R-D process changes the values on the edges, does that mean every facet of the polyhedron has to be the same? Or do you run R-D on the whole polyhedron at once, glueing all the edges of all the facets together?