⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 moyx.awk

📁 cfd求解器使用与gmsh网格的求解
💻 AWK
字号:
# When cut on a plane, this little program allows to calculate the mean in one# direction of the cut. If a cut of (4,3), moyx.awk gives 5 values with the # mean of the four associated values.BEGIN { y = 0; sum = 0;}{if ($1==15){if(y!=$4) {  printf("%12.5e %12.5e \n",y,sum/cont)  y = $4  sum = $9  cont=1  }  else {    sum+=$9    cont++  }}}END {printf("%12.5e %12.5e \n",y,sum/cont)}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -