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:

  • vector vn is parallel to n
  • absolute value of scalar vn is the length of vector vn
  • negative value of vn means vn has opposite direction respect with n

?

In Fluent, vn can be calculate by expression:

(Velocity.x*ne_x+Velocity.y*ne_y+Velocity.z*ne_z)/(1 [m])


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:

(vn_scalar*ne_x)/1[m]


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:

Velocity.x-vn_vector_x


Notes

The dot product of vector is a scalar, the formula is:


?

?

?

要查看或添加评论,请登录

高威的更多文章

社区洞察

其他会员也浏览了