新版本的ABAQUS2MATLAB发布了

用于32位Windows的Abaqus2Matlab v2.0刚刚发布!

新的32位ABAQUS2MATLAB插件可以从百度云盘下载地址:https://pan.baidu.com/s/1HdYQRvKubPBU7Z3du28rrQ

将Abaqus连接到Matlab的软件现在可以在Windows 32位平台上使用,旨在加快研究和工程的步伐。您现在可以从该软件的官方网站免费下载32位版本,包括但不限于64位版本,文档,示例和入门指南:http://www.abaqus2matlab.com/

感谢所有勤奋工作的Abaqus2Matlab社区,他们通过分享他们的经验,识别错误以及证明Abaqus2Matlab可用于工程研究的非常广泛的应用范围,为软件的各种改进做出了贡献!

其他资源
下载软件,其文档,示例和更多免费:http://abaqus2matlab.wixsite.com/abaqus2matlab/copy-of-downloads
在此处查看关于Abaqus2Matlab新闻的论坛:http://abaqus2matlab.wixsite.com/abaqus2matlab/forum/news-about-abaqus2matlab
在这里询问,讨论或者提出你的问题和/或Abaqus2Matlab的经验:http://abaqus2matlab.wixsite.com/abaqus2matlab/forum/abaqus2matlab-users-forum
查看原始公告:http://abaqus2matlab.wixsite.com/abaqus2matlab/forum/news-about-abaqus2matlab/abaqus2matlab-v2-0-for-32-bit-windows-has-just-been-released

关于Abaqus2Matlab
提出了一种新颖的软件,将Abaqus(一种复杂的有限元软件包)与Matlab(最全面的数学分析程序)连接起来。
这些众所周知的代码之间的接口不仅受益于Matlab的图像处理和集成图形绘制功能,而且还为结果后处理,统计分析和数学优化等众多可能性提供了新的机会。
Abaqus2Matlab作为源代码免费发布,目的是促进研究。

以下为新版本英文介绍

Abaqus2Matlab v2.0 for 32-bit Windows has just been released!
The software that connects Abaqus to Matlab and vice versa can now be used in Windows 32-bit platforms, aiming to accelerate the pace of research and engineering. You can now download the 32-bit version including but not limited to the 64-bit version, documentation, examples and getting started guide, all for free, from the official website of the software: http://www.abaqus2matlab.com/
Thanks to all the hard-working Abaqus2Matlab community who have contributed to various improvements of the software by sharing their experience, identifying bugs, and proving that Abaqus2Matlab can be used for a very broad scope of applications for engineering research!

Additional Resources
Download the software, its documentation, examples and more for free: http://abaqus2matlab.wixsite.com/abaqus2matlab/copy-of-downloads
Follow the forum for news about Abaqus2Matlab here: http://abaqus2matlab.wixsite.com/abaqus2matlab/forum/news-about-abaqus2matlab
Ask, discuss or suggest your problems and/or experiences with Abaqus2Matlab here: http://abaqus2matlab.wixsite.com/abaqus2matlab/forum/abaqus2matlab-users-forum
View the original announcement here: http://abaqus2matlab.wixsite.com/abaqus2matlab/forum/news-about-abaqus2matlab/abaqus2matlab-v2-0-for-32-bit-windows-has-just-been-released

About Abaqus2Matlab
A novel software is presented to connect Abaqus, a sophisticated finite element package, with Matlab, the most comprehensive program for mathematical analysis.
This interface between these well-known codes not only benefits from the image processing and the integrated graph-plotting features of Matlab, but opens up new opportunities in results post-processing, statistical analysis, and mathematical optimization, among many other possibilities.
Abaqus2Matlab is freely distributed as source code with the aim of facilitating research.

Bugs of ABAQUS2MATLAB 插件的错误规整

bug 1在使用ABAQUS2MATLAB的过程可能会出现MATLAB的崩溃,这个主要是因为时区的设置不正确。所以需要进行下面三步操作。
1) Did you install the app permanently? If not, then either go to Tools->Install Library Permanently in the Abaqus2Matlab GUI window or open the file Abaqus2MatlabSetUp.m and run it (or press F5).
2) On your PC, go to Control Panel->Change date, time, or number formats->Formats tab->Format: and select English (United States)
3) On your PC, go to Control Panel->Change date, time, or number formats->Administrative tab->Change system locale and select English (United States).
Please follow the above instructions and let me know if your problem is resolved.

推荐一个MATLAB插件(Abaqus2Matlab)用于和Abaqus进行数据交换的

Abaqus2Matlab这是一个用于将Abaqus的数据内容与MATLAB进行交换的文件,插件可以读取Abaqus结果文件中的二进制文件。同时也可以较为方便的对INP文件进行修改操作。根据操作环境的不同,可能会遇到兼容性平台的问题,可以联系官方维护组 www.abaqus2matlab.com 鉴于原网站提供的下载链接为Dropbox的(被墙了),且访问比较慢,这里提供一个百度云的下载链接链接:https://pan.baidu.com/s/1kVqwR8z 密码:w99b。下文为与原作者之一(G. Papazafeiropoulos)沟通后呈现的内容(在后一段中,我提供了原文的翻译)。

” A new application has been released which aims to provide a link between Abaqus and Matlab: Abaqus2Matlab. This is an easy-to-install Matlab App that includes the following capabilities:
Postprocessing results files (either *.fil or *fin) as well as output data base (*.odb) and matrix (*.mtx) files
A Graphical User Interface (GUI) that enables the user to easily request output variables and automatically creates a Matlab script with all the required information.
Everything has been extensively documented, including video tutorials. The app is available online for free (百度云链接:https://pan.baidu.com/s/1kVqwR8z 密码:w99b) and at www.abaqus2matlab.com  .
Abaqus2Matlab comes also in the form of a toolbox (a zip file containing Matlab code, Abaqus code, and the relevant applications and examples) which is the first version of this software.
This release constitutes a very significant step forward regarding the connection between Abaqus and Matlab.
The authors of the Abaqus2Matlab application are open to any recommendations, observations, bug reports, comments, which will be used as feedback to improve the software in future versions.
I and the Abaqus2Matlab work team hope that you enjoy it and we look forward to hearing your feedback.
For more information and submission of various inquiries please visit www.abaqus2matlab.com

” 很高兴,我们发布了一个用于ABAQUS和MATLAB之间进行数据交换的MATLAB插件:Abaqus2Matlab。这个MATLAB插件包含以下几个功能:
ABAQUS后处理(不论是 *.fil或者 *fin文件) 也包括(*.odb)和(*.mtx)文件。
2.0版本的用户图形接口(GUI)使得用户可以方便的控制ABAQUS的输出变量以及输出MATLAB的脚本文件。
每一个功能都在帮助文档中有详细的说明,同时我们提供了视频教程。这个MATLAB插件可以通过百度云免费获取 (百度云链接:https://pan.baidu.com/s/1kVqwR8z 密码:w99b) 或者在官方网站上下载www.abaqus2matlab.com  .
Abaqus2Matlab 也有工具箱版本也就是软件的1.0版本(包含Matlab代码, Abaqus代码和相关的例子)。这一版是我们这款插件的第一版也是第一次为ABAQUS和MATLAB之间的数据交换提供了一个新的数据接口。
我以及Abaqus2Matlab小组希望你们喜欢它同时也希望获得你们的反馈意见。
如果需要进一步了解相关信息或者提供反馈欢迎访问官方网站 www.abaqus2matlab.com

如果这个插件对你的研究工作有帮助,请在文章或者报告的合适地方引用该工作。
If using this application for research or industrial purposes, please cite:
G. Papazafeiropoulos, M. Muniz-Calvente, E. Martinez-Paneda.
Abaqus2Matlab: a suitable tool for finite element post-processing.
Advances in Engineering Software. Vol 105. March 2017. Pages 9-16. (2017)
DOI:10.1016/j.advengsoft.2017.01.006

另一方面,插件有某些错误,所以新建了一个bug归类,如果有使用错误可以访问bug页面

再论MATLAB的力学传感器测量信号处理,消除脉冲噪音

最近的传感器测量过程中发现,数据中出现了类似于脉冲数据(如下图所示),这对于数据处理产生了困难。

解决思路是采用MATLAB中的diff判断两个数据采集点的大小,如果两个数据采集点的大小过大的那么就删除原有数据点,同时用旁边的数据点替代。旁边数据点替代的过程中可以采用linear fitting。

下图展示了diff(y_data)后的数据图(脉冲附近的数据点之间的difference比较大)

下图展示了数据处理后的数据图,脉冲信号消除。

处理代码如下:

function new_data=flat_data(ori_data)
% the difference of the data point is fixed and is equal to 1
% then we will measure the difference of pressure between two data points
n_length=length(ori_data);
diff_y=abs(diff(ori_data));% absolute value
new_data=ori_data;% data initialization
span_end=1;
flag_start=1;
for i_data=1:n_length-1
    if diff_y(i_data)>100&&flag_start==1
        snap_start=i_data;
        span_end=n_length;
        flag_start=0;
    else
        if span_end>1&&diff_y(i_data)<100
            snap_end=i_data;
            length_span=snap_end-snap_start;
            span_y=ori_data(snap_end)-ori_data(snap_start);
            if abs(span_y)>0
                span_dif=span_y/length_span;
                new_data_rep=ori_data(snap_start):span_dif:ori_data(snap_end);% linear fitting
                new_data(snap_start:snap_end)=new_data_rep;
            else
                new_data_rep=ones(length_span+1,1)*ori_data(snap_start);
                new_data(snap_start:snap_end)=new_data_rep;
            end
            flag_start=1;
            span_end=1;
        end
    end
end

Matlab 一维中值滤波(信号处理)

matlab 中值滤波函数 medfilt1函数用于一维信号的处理。例如在动态压力测量时由于电路上的干扰会出现测量值发生突变,为了消除这种突变可以采用一维中值滤波的方法。

常用的两个命令如下。

  • y = medfilt1(x), 对于输入的向量采用3阶的一维滤波
  • y = medfilt1(x,n),对于输入的向量采用n阶的一维滤波
    效果如下图(MATLAB  help  medfilt1 参考页)。

结构化科研——如何开展一个科研工作(如何水论文)!

作者:Rocket Mao

什么叫做结构化科研。个人认为科研可以看做是一种具有创造性的工作,所以作为一个工作而言,其必然有其工作流程。如果能将科研工作结构化,流程化,势必能提高科研工作的效率。所以本文主要探究,如果将科研结构化。

一般而言,一项科研工作的开展需要原始驱动力(motivation),也就是为什么要开展这个科研项目。一般在论文中就是前言要干的事情(introduction)。前言就是告诉大家,这个工作历史上有哪些人在做,做到什么程度上,还有哪些可以提高的,我这个工作准备在哪些方面进行补充工作。

前言讲完,就是要介绍具体的工作内容方法。想在的科学研究手段,主要三种:理论推演,数值计算以及实验验证。其中一般而言,实验验证的方法最容易让大家接受。理论推演因为其严格的推理过程,也容易让大家接受,而数字计算的工作往往需要结合另两种方法中的一种。

讲完了工作方法就是要谈通过上述研究方法获得了什么样的研究成果。这一块就是要介绍,研究取得的进展。进展可以包括,报道新的实验现象,报道研究对象的某些性能上的突破。也可以报道对某些问题的科学解释。总之,这一块就是文章中的核心部分,报道科研工作的具体内容以及取得的进展。

最后一部分总结一下本文的工作,再宣言一下自己工作的意义。

大体上这个就是科研的总体脉络。

纪念网站正式启用

今天是10月1日,我终于完成了我的建立个人网站的愿望。从买域名,购买阿里云的虚拟主机,再到审核,以及网站建站(WordPress),完成了0->1 的转变。虽然作为一个科技爱好者,但是对于建网站的事情还是不感冒,想想还是用一套成熟的方案可能比较节省时间,而且毕竟临近毕业,所以还是要好好学习的,后期这个网站应该会一直运行下去,感谢阿里云的低价格的服务器和域名服务(每年大致百元)。
网站我还是希望定位为科研分享的网站,主要讲自己做的东西,当然不排除介绍些我觉得有意思的东西。也不知道这200M的云服务器空间够不够用,如果不够的话可能要升级。这个后期到时候再看。暂时先这样。