User Profile

Collapse

Profile Sidebar

Collapse
royrana
royrana
Last Activity: Jan 14 '08, 02:43 PM
Joined: Nov 27 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • royrana
    replied to tangential velocoity and impact angle
    in C
    dear cucumber,

    the tangential velocity which is am referring to is the velocity of the particle. the particle will have two velocity, tangential and normal.
    can u please script the expression, as i am not able to udnerstand it clearly.
    p->state.V is the velocity vector in to the boundary (before the particle hits with the wall)

    kind regards,
    rana
    See more | Go to post

    Leave a comment:


  • royrana
    replied to tangential velocoity and impact angle
    in C
    dear cucumber,

    thanks a lot for your reply even when the moderator 'denied'. thanks a lot truly..
    i have made the impact angle one and it gives ok. (no nan)..

    i just wanted to check the expression for tangential velocity which i figured from your post. Is it somthing like this ?
    [code=c]
    vel_tang_in = abs(p->state.V[0] - (f_normal[0]*p->state.V[0])
    + p->state.V[1]...
    See more | Go to post
    Last edited by pbmods; Nov 30 '07, 12:05 AM. Reason: Added CODE tags.

    Leave a comment:


  • royrana
    replied to tangential velocoity and impact angle
    in C
    dear moderator,

    the problem is not of physics, although it is a physics problem.
    i have read the guidelines and have posted this.
    well this is not my homework assignment, as i am doing my doctoral thesis..and this is only a small part of my extended research.
    i asked this question because i am stuck, as i am getting nan (not a number) for many cases of particle impact..and i think this is where i think the programming...
    See more | Go to post

    Leave a comment:


  • royrana
    started a topic tangential velocoity and impact angle
    in C

    tangential velocoity and impact angle

    Hello,

    I am working on a problem in which a particle hits a wall and gets reflected.
    I need to calculate the tangential velocity and the impact angle with the wall.
    I wrote this:
    [code=c]/*for tangential velocity*/
    real vi = sqrt(p->state.V[0]* p->state.V[0]
    + p->state.V[1]* p->state.V[1]
    + p->state.V[2]* p->state.V[2]);...
    See more | Go to post
    Last edited by Killer42; Nov 30 '07, 01:28 AM.
No activity results to display
Show More
Working...