OpenFOAM小玩笑
-
最近看多相流求解器,发现了个有意思的东西。OpenFOAM每次的版本都会对一些文件声明进行改动,但是每个文件都有声明,Henry的操作是每次改动一个文件,就改一些声明。
Andy有一天写了个脚本给Henry:
用这个吧,一键改动!
Henry:
你这脚本不错啊,我试试
于是Henry用这个Andy的脚本改了声明,可是他没注意到这个东西,原来的
OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
全部被改成了:
OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or
(at your (at your (at your option) any later version.
但是没人发现,大家相安无事。
...
...
一年后,Henry默默地手动又改回去了...:laughing:
OpenFOAM is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.