How can I get or calculate the gradient of the surface normal? #27767
Answered
by
lindsayad
Always-kimi
asked this question in
Q&A Modules: Navier-Stokes
-
Check these boxes if you have followed the posting rules.
QuestionHi there, Does anyone know how to calculate the gradient of the surface normal? In my application, I consider the surface tension force and it need to calculate the surface curvature. According the equation it is equal to the gradient of the surface normal. Additional informationNo response |
Beta Was this translation helpful? Give feedback.
Answered by
lindsayad
Jun 3, 2024
Replies: 1 comment 2 replies
-
@lindsayad did you have a surface tension term in the melt pool? |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yes, but it's only computed through a correlation with the temperature. @Always-kimi we do compute curvatures in libMesh and in MOOSE assembly. You can retrieve curvatures with automatic differentiation (AD) information, via
_assembly.adCurvatures()
. We do also have anAssembly
member for curvatures without AD, but we strangely don't have an API for it. It could be easily added