Skip to content

How to compute the boundary normal for a 2D -> 3D mapped geometry #764

Discussion options

You must be logged in to vote

The problem here is that Nutils does not know how the normal to the 1D boundary in 3D space is defined. Naturally, you want the one that is tangential to the manifold, but Nutils only sees a 1x3 coordinate transformation that it does not know how to handle. I'm not sure if we have an elegant solution in place for this situation, but the following (untested) workaround comes to mind:

ns.N = ('n_i ∇_i(X_j)' @ ns).normalized()

Replies: 1 comment 8 replies

Comment options

You must be logged in to vote
8 replies
@gertjanvanzwieten
Comment options

@SteinStoter
Comment options

@gertjanvanzwieten
Comment options

@gertjanvanzwieten
Comment options

@SteinStoter
Comment options

Answer selected by SteinStoter
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants