Calculating surface normal vector

  1. 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 Files:

  2. jcsd
  3. tiny-tim

    tiny-tim 26,016
    Science Advisor
    Homework Helper

    Welcome to PF!

    Hello andykol! Welcome to PF! :smile:
    I'm not sure what you're asking :confused:

    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θ. :wink:
  4. 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.
  5. 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.
  6. tiny-tim

    tiny-tim 26,016
    Science Advisor
    Homework Helper

    Sorry, I still don't understand :confused:

    how is F defined?

    do you have a particular example in mind?
  7. Hello tiny-tim,

    I have attached detailed picture. I have to calculate unit vector for surface-E Ne. For given Cartesian coordinates, how I can calculate surface normal?
    E.g. 2D Cartesian mesh- I got surface-E at an angle θ.

    Attached Files:

    Last edited: Aug 4, 2009
Know someone interested in this topic? Share this thead via email, Google+, Twitter, or Facebook

Have something to add?