# Calculating surface normal vector

by andykol
Tags: normal, surface, vector
 P: 9 Hello, I am trying to calculate normal vector for surface F Nf (see attached picture) to calculate velocity component for U. I tried to get more info but got confused. Please tell me how I can calculate Nf. Thanks in advance. Attached Thumbnails
HW Helper
Thanks
P: 26,148
Hello andykol! Welcome to PF!
 Quote by andykol I am trying to calculate normal vector for surface F Nf (see attached picture) to calculate velocity component for U. I tried to get more info but got confused.
I'm not sure what you're asking

you don't need the normal vector

to calculate the normal component for U, all you need is the angle, θ, between Nf and U …

the normal component of U is simply Ucosθ.
 P: 898 More information is necessary. In any coordinate system, a vector normal to another vector has a dot product of 0 with that vector. In 2 dimensions, this simplifies to the normal vector having the negative reciprocal slope of the vector it is normal to. you haven't given two-dimensional coordinates to the points, nor angles, so there is no way to calculate an absolute normal vector, but if the problem does not relate to any particular coordinate system (ie., there is no potential field; gravity, electromagnetism) then choose a convenient set of coordinates; ie., let that rectangle be horizontal with vertical sides; then the normal vector points along the positive x-axis. You still need the angle between F and N.
 P: 9 Calculating surface normal vector Thank you for reply. But I need to calculate unit normal vector for surface F. I am looking for formula that calculates normal vector of surface with any given angle.