CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   Normal vectors to the curve (https://www.cfd-online.com/Forums/main/15074-normal-vectors-curve.html)

jinwon park April 14, 2008 11:33

Normal vectors to the curve
 
I am needing to find out the normal vectors to the curve to impose interface conditions in fluid-structure interactions. Could anyone give me hints?

Ananda Himansu April 14, 2008 11:43

Re: Normal vectors to the curve
 
At the point of interest on the curve, find the tangent vector to the curve. Next find the (vector) radius of curvature, which is the first normal to the curve and lies in the local plane of the curve. Finally, find the second and last normal vector as the cross-product of the tangent and the radius of curvature. You can normalize all vectors to be unit vectors.

John April 14, 2008 14:30

Re: Normal vectors to the curve
 
assuming your surface is implicitely defined by a regular function (sufficiently smooth) F(x,y,z) = 0, then gridient of F at each point is equal to normal vector.

to determin tangential components of basis, pass a plan from your point based on your normal, then any two non-paralel vectors in this plan are two remained local basis, of cource when they are orthogonal your based will be orthogonal.


All times are GMT -4. The time now is 11:16.