Fluent post-processing: getting velocity component in arbitrary direction
Question:
How to get velocity components in arbitrary direction?
?
Solution:
The essence of this question is computing the projection of velocity vector onto arbitrary vector.
?
1 Projection
According to the definition of projection, velocity's projection on vector n, named vn, can be calculated:
where:
?
In Fluent, vn can be calculate by expression:
In expression, ne_x、ne_y、ne_z are coordinates of ne defined by named expressions, with the unit of meter. The unit of expression is m/s.
Also, coordinates of vn can be calculated by expression:
2 Rejection
Rejection is the vector’s projection onto a plane. It is apparent that vp is orthogonal with vn.
For any vector v, vp can be calculated:
?
Similarly, coordinates of vp can be calculated by expression:
Notes
The dot product of vector is a scalar, the formula is:
?
?
?