Open JordiManyer opened 4 months ago
Current state:
φh(p) = 0
for all mesh nodes p
. During level-set updates, we can always add artificial advection (order ε) in the direction of movement that ensure we do not move our level set right on top of a mesh node. We have the code working for simplicial meshes. Moving to QUAD/HEX meshes, however, requires some modification of the cutting algorithm:
Currently , QUADs are simplexified then cut using a marching tetrahedron algorithm. This creates bad cuts when the level set is not linear, because our FE space is locally Q1 (instead of P1, which is what the algorithm assumes).
To remedy this, we need to implement a marching cubes algorithm. This would allow us to cut QUADs directly, instead of having to go through a mesh of simplices first. (TODO)
So here are some notes on the implementation of Autodiff for embedded triangulations. A similar discussion on this can be found in here.
Overview of the problem:
We distinguish two cases:
Case 1:
Case 2: