|
发表于 2010-4-15 14:51:49
|
显示全部楼层
用TECPLOT中的宏命令,很简单就实现了。
$!MacroFunction Name "Compute Para"
$!ALTERDATA
EQUATION = '{du/dy}=1000*(U(i,j+1)-U(i,j-1))/(Y(i,j+1)-Y(i,j-1))'
$!ALTERDATA
EQUATION = '{dv/dx}=1000*(V(i+1,j)-V(i-1,j))/(X(i+1,j)-X(i-1,j))'
$!ALTERDATA
EQUATION = '{du/dx}=1000*(U(i+1,j)-U(i-1,j))/(X(i+1,j)-X(i-1,j))'
$!ALTERDATA
EQUATION = '{dv/dy}=1000*(V(i,j+1)-V(i,j-1))/(Y(i,j+1)-Y(i,j-1))'
$!ALTERDATA
EQUATION = '{dw/dz}= (1000*(V(i+1,j)-V(i-1,j))/(X(i+1,j)-X(i-1,j))+1000*(U(i,j+1)-U(i,j-1))/(Y(i,j+1)-Y(i,j-1)))'
$!ALTERDATA
EQUATION = '{Vorticity}=(1000*(V(i+1,j)-V(i-1,j))/(X(i+1,j)-X(i-1,j))-1000*(U(i,j+1)-U(i,j-1))/(Y(i,j+1)-Y(i,j-1)))'
$!EndMacroFunction |
|