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
User Profile
Collapse
-
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]...Leave a comment:
-
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...Leave a comment:
-
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]);...Last edited by Killer42; Nov 30 '07, 01:28 AM.
No activity results to display
Show More
Leave a comment: