Input: results from solver output: circumferential averge physical quantities( such as streamwise velocity) How to? 1. draw an structured 2D axial meshin Pointwise a. similar nodes distribution as the mesh  in the solver ( normally unstructured) b. e…
Goal: get a averaged axial velocity in a circular loop (dashed line in the following figure) Steps: 1. import data, and select velocity variable 2. sectional slice - slice type: plane - slice origin and normal axis 3. cut a circular using "plot over…
matlab code: load aver_ux_array.dat; load z_array.dat; r=z_array(:,); r=r.' r_j=0.00125; r_nor=r/d; ux_x_3d=aver_ux_array[,:]; % extract arrow, which ux_x_3d=ux_x_3d.'; % transpose u0=1102.9; ux_nor=ux_x_3d/u0; ux_vs_r_3d=[r_nor ux_nor]; save -ascii…
Table of Contents 1. contacts 2. Paper digest 2.1. LES vs. RANS 2.2. Dynamics of Transient Fuel Injection, Mixing, and Auto-Ignition 2.3. rothamer research group, Experimental Studies of Transient Jets 2.4. the transient start of supersonic jets 2.5.…
PMD An extensible cross-language static code analyzer. https://github.com/pmd/pmd 跨语言静态代码分析工具.可以查找通用的编码错误,例如 未使用的变量.空catch块.非必须的对象创建.等等. 另外,它也包括CPD工具, 复制-黏贴-检查工具.可以检查出代码中的重复部分. PMD is a source code analyzer. It finds common programming flaws like unu…
FindBugs FindBugs, a program which uses static analysis to look for bugs in Java code. It is free software, distributed under the terms of the Lesser GNU Public License. The name FindBugs™ and the FindBugs logo are trademarked by The University of Ma…
input file: v.csv scpirts as follows filename='v.csv'; % assign file to a variable m=csvread(filename); %Read comma-separated value (CSV) file u=m(:,1); % extract first column data, i.e. U_x u=u.' ; %change column vector to row vector (transpose) u_x…
要查看Matlab所有绘图函数,请从Matlab主界面菜单查看“绘图目录”,或从Matlab帮助文档查看“Types of MATLAB Plots”(在线版本).本文的图和英文解释摘自Matlab帮助文档. 类别 Function 图 维度 描述 曲线 plot 2 绘制曲线,相邻点之间被插值 fplot     输入函数或函数句柄.自变量取值区间,绘制曲线 plotyy 2 双纵坐标图,两个纵坐标的数量级不同 plot3 3 绘制3D曲线 loglog 2 X,Y坐标都按对数缩放 semil…
2011-05-25 17:21 非刚性图像配准 matlab简单示例 demons算法, % Clean clc; clear all; close all; % Compile the mex files %compile_c_files % Read two images I1=im2double(imread('ssftrinew1.png'));  I2=im2double(imread('ssftri.png')); % Set static and moving image S=I…
美国康奈尔大学BioNB441在Matlab中的元胞自动机 介绍 元胞自动机(CA)是用于计算计划利用当地的规则和本地通信.普遍CA定义一个网格,网格上的每个点代表一个有限数量的状态中的细胞.过渡规则同时应用到每一个细胞. 典型的转换规则依赖于细胞和它的(4个或8个)近邻的状态,虽然临近的细胞也同样使用. CA的应用在并行计算研究,物理模拟和生物模拟.这个页面将考虑如何写出高效的MATLAB代码的CA的实施和看一些有趣的规则. Matlab代码注意事项 以下注意事项将说明使用Matlab程序计算…