|
|
发表于 2011-12-30 16:35:29
|
显示全部楼层
回复 1# 紫金黄朝 的帖子
NV_S(vel, =, 0.0);
NV_S(omega, =, 0.0);
这个的意思是这么用吗?我在CFD online上看见的解释是:
I want to know the meaning of the following expression.
1. real NV_VEC(psi), NV_VEC(A); 2. NV_D(psi, =, F_U(f,t), F_V(f,t), F_W(f,t));
3. NV_S(psi, *=, F_R(f,t)); 4. NV_DS(psi_vec, =, F_U(f,t), F_V(f,t), F_W(f,t), *, dens);
answer:
VEC for vector, D for directions and S for scalar;
real NV_VEC(psi--- defines a vector psi[0]i+psi[1]j+psi[2]k
NV_D(psi,=,u,v,w)--- assigns values in 3directions to a vector
psi = ui+vj+wk
NV_S(psi,*=,R) => psi = psi * R (assigns/modifies magnitude)
NV_DS(psi_vec,=,u,v,w,*,dens) =>direction & scalar operations
psi_vec = (ui+vj+wk)*dens; |
|