【源码】金属腐蚀:构造Pourbaix和Tafel图的基本工具

在这里插入图片描述

本代码主要是帮助任何接触腐蚀科学的学生完成课程

This program is mainly intended to assist in coursework for any student that comes across the science of corrosion

这个程序主要是作为一个练习,帮助作者学习相关课程。

This program was mainly written as an exercise for the author and to aid in coursework.

自从学习了两周的MATLAB后,我想自己构造Pourbaix和Tafel图表的设计。

Since learning MATLAB for 2 weeks, I was inspired by the repetitive calculations required to construct a Pourbaix and Tafel diagram.

这个程序接受用户输入,这些值(如离子浓度、δG、pH值)应该在使用程序之前提供给用户。

This program takes user inputs, which are values (like ion concentration, delta G, pH) that should be given to user before using the program.

不幸的是,如果用户没有特定的值,那么他们必须找到符合提示的值,否则程序可能无法使用。

Unfortunately, if the user doesn’t have certain values then they have to find the values that fit the prompt, or the program may be impossible to use.

由于我对MATLAB还不太熟悉,所以我不确定如何使这个程序达到最好的效果,但是我已经致力于改进这个程序来处理许多离子特性。

Since I am so new to MATLAB, I am unsure of how to make this program into the best it could be, but I will mainly work towards improving the program to handle many ionic species.

Pourbaix图是一种能够描绘出正在遭受腐蚀种类的图——特别是,我们能够确定使金属变得高贵、具有保护性钝化层或将腐蚀成离子并导致质量损失的pH值和电池电压区域。

Pourbaix diagrams are diagrams that can paint a picture of a species that undergoes corrosion – specifically, we are able to determine the areas of pH and cell voltage that allows a metal to be noble, have a protective passive layer, or will corrode into ionic species and cause loss of mass.

Tafel图显示了电化学反应的电压是如何随电流溶解常数的对数变化的。

Tafel diagrams are diagrams that show us how the voltage of an electrochemical reaction changes with respect to the log of the current dissolution constant.

然后我们可以计算临界电流溶解和电压,这些值将是导致渗透到金属的临界值。

We can then calculate the critical current dissolution and voltage that will cause penetration into the metal.

程序将基于正确的值进行计算。

The program will calculate these provided with the right values.

这些图表有助于腐蚀科学家确定腐蚀环境中合金的理想条件。

These diagrams aid corrosion scientists in determining what conditions are ideal for an alloy in a corrosive environment.

更多精彩文章请关注公众号:在这里插入图片描述

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值