博客园 - 小厨房uuid:24b78886-0ed1-41c2-8670-e3f31dcf42c4;id=1303072023-06-13T02:49:39Z小厨房https://www.cnblogs.com/erichf/feed.cnblogs.comhttps://www.cnblogs.com/erichf/p/17254316.html防爬 - 小厨房防爬2023-03-25T02:51:00Z2023-03-25T02:51:00Z小厨房https://www.cnblogs.com/erichf/【摘要】防爬 <a href="https://www.cnblogs.com/erichf/p/17254316.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/17055822.html开启终端没有应用bashrc的解决方式 - 小厨房设置开启终端自动读取 bashrc的方式: Create a ~/.bash_profile file. If bash is started as a login shell it will first look for ~/.bash_profile before looking for ~/.2023-01-16T08:48:00Z2023-01-16T08:48:00Z小厨房https://www.cnblogs.com/erichf/【摘要】设置开启终端自动读取 bashrc的方式: Create a ~/.bash_profile file. If bash is started as a login shell it will first look for ~/.bash_profile before looking for ~/. <a href="https://www.cnblogs.com/erichf/p/17055822.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/16668256.htmlwsl设置开机启动ssh服务 - 小厨房win10下开启wsl服务(非wsl2) 参考博文,修正部分错误 ##linux下的操作 打开开机后进入wsl 输入 sudo vi /etc/init.wsl 创建文件并且输入下列代码,保存退出 输入 sudo chmod +x /etc/init.wsl 添加为root可执行 添加root免密执2022-09-08T00:53:00Z2022-09-08T00:53:00Z小厨房https://www.cnblogs.com/erichf/【摘要】win10下开启wsl服务(非wsl2) 参考博文,修正部分错误 ##linux下的操作 打开开机后进入wsl 输入 sudo vi /etc/init.wsl 创建文件并且输入下列代码,保存退出 输入 sudo chmod +x /etc/init.wsl 添加为root可执行 添加root免密执 <a href="https://www.cnblogs.com/erichf/p/16668256.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/16551198.htmlKinematics 和 Dynamics的区别 - 小厨房牛津字典 Kinematics: The branch of mechanics concerned with the motion of objects without reference to the forces which cause the motion. Dynamics: The br2022-08-04T09:02:00Z2022-08-04T09:02:00Z小厨房https://www.cnblogs.com/erichf/【摘要】牛津字典 Kinematics: The branch of mechanics concerned with the motion of objects without reference to the forces which cause the motion. Dynamics: The br <a href="https://www.cnblogs.com/erichf/p/16551198.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/16543145.html矢量绘图工具、图片 - 小厨房程序类:Python MATLAB 绘图类:Inkscape Visio 其它:Adobe Illustrator CC。 建筑模型和相关图片在网上寻找 1、花瓣网、昵图网 2、千图、千库(推荐千库)2022-08-02T03:15:00Z2022-08-02T03:15:00Z小厨房https://www.cnblogs.com/erichf/【摘要】程序类:Python MATLAB 绘图类:Inkscape Visio 其它:Adobe Illustrator CC。 建筑模型和相关图片在网上寻找 1、花瓣网、昵图网 2、千图、千库(推荐千库) <a href="https://www.cnblogs.com/erichf/p/16543145.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/16008120.htmlfluent中自动生成的边界 overlaping与non-overlapping - 小厨房当两个interface不能完全匹配时,fluent会自动将边界分为匹配的边界(overlapping)和不匹配的边界(non-overlapping)两部分 流体与流体 匹配的部分,命名为 Interface Interior Zone,表示允许流体通过 不匹配的部分,命名为 Boundary Z2022-03-15T05:59:00Z2022-03-15T05:59:00Z小厨房https://www.cnblogs.com/erichf/【摘要】当两个interface不能完全匹配时,fluent会自动将边界分为匹配的边界(overlapping)和不匹配的边界(non-overlapping)两部分 流体与流体 匹配的部分,命名为 Interface Interior Zone,表示允许流体通过 不匹配的部分,命名为 Boundary Z <a href="https://www.cnblogs.com/erichf/p/16008120.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/15743955.html焓、比焓、标准生成焓、标准摩尔生成焓、标准状态焓 - 小厨房各变量的单位 焓,单位为:J 比焓,为单位质量的焓,单位为 J/kg 标准生成焓也叫标准摩尔生成焓,在Fluent中,也称为标准状态焓,它是标准状态下的焓,单位为 J/kg 或 J/mol,也有些写成 J/kgmol mol 与kgmol mol为物质的量,表示12g的C12所包含的原子个数对应的物2021-12-29T02:35:00Z2021-12-29T02:35:00Z小厨房https://www.cnblogs.com/erichf/【摘要】各变量的单位 焓,单位为:J 比焓,为单位质量的焓,单位为 J/kg 标准生成焓也叫标准摩尔生成焓,在Fluent中,也称为标准状态焓,它是标准状态下的焓,单位为 J/kg 或 J/mol,也有些写成 J/kgmol mol 与kgmol mol为物质的量,表示12g的C12所包含的原子个数对应的物 <a href="https://www.cnblogs.com/erichf/p/15743955.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/15739817.html读取wsl2下的vhdx文件 - 小厨房参见 Access WSL2 .vhdx on External Drive Within a Windows 10 System Image2021-12-28T03:07:00Z2021-12-28T03:07:00Z小厨房https://www.cnblogs.com/erichf/【摘要】参见 Access WSL2 .vhdx on External Drive Within a Windows 10 System Image <a href="https://www.cnblogs.com/erichf/p/15739817.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/15671214.htmlOpenFOAM中的wedge边界条件 - 小厨房OpenFOAM中的Wedge边界条件,似乎是通过类似cyclic边界条件来实现的,即Wedge的前后其实相当于是cyclic边界条件, 因此: wedge不是通过改变控制方程的形式实现的(不是 转化到柱坐标下求解) wedge的角度会影响计算结果,一般不能超过5°,可能造成较大的偏差。 参考 We2021-12-10T04:56:00Z2021-12-10T04:56:00Z小厨房https://www.cnblogs.com/erichf/【摘要】OpenFOAM中的Wedge边界条件,似乎是通过类似cyclic边界条件来实现的,即Wedge的前后其实相当于是cyclic边界条件, 因此: wedge不是通过改变控制方程的形式实现的(不是 转化到柱坐标下求解) wedge的角度会影响计算结果,一般不能超过5°,可能造成较大的偏差。 参考 We <a href="https://www.cnblogs.com/erichf/p/15671214.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/15571217.htmlparaview做动画 - 小厨房使用File → Save Animation ...保存为png图片 使用ffmpeg或者convert命令转成无损mp4视频或者gif动图。2021-11-18T02:47:00Z2021-11-18T02:47:00Z小厨房https://www.cnblogs.com/erichf/【摘要】使用File → Save Animation ...保存为png图片 使用ffmpeg或者convert命令转成无损mp4视频或者gif动图。 <a href="https://www.cnblogs.com/erichf/p/15571217.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/15566877.htmlcons_cast、static_cast与dynamic_cast - 小厨房const_cast 去掉const属性 static_cast 将nullptr转为对应类型的空指针 从上到下转换不安全 dynamic_cast 安全类型转换2021-11-17T05:37:00Z2021-11-17T05:37:00Z小厨房https://www.cnblogs.com/erichf/【摘要】const_cast 去掉const属性 static_cast 将nullptr转为对应类型的空指针 从上到下转换不安全 dynamic_cast 安全类型转换 <a href="https://www.cnblogs.com/erichf/p/15566877.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/15560058.htmlvim常用快捷键 - 小厨房请跳转至:https://www.cnblogs.com/markleaf/p/7808817.html 跳转 w 跳转到下一个字的字首 e 跳转到下一个字的末尾 fx 查找字母x,并跳转到x ; 查找;并跳转到; 0 跳转到行首2021-11-16T02:51:00Z2021-11-16T02:51:00Z小厨房https://www.cnblogs.com/erichf/【摘要】请跳转至:https://www.cnblogs.com/markleaf/p/7808817.html 跳转 w 跳转到下一个字的字首 e 跳转到下一个字的末尾 fx 查找字母x,并跳转到x ; 查找;并跳转到; 0 跳转到行首 <a href="https://www.cnblogs.com/erichf/p/15560058.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/15389479.html单机搭建svn文件服务 - 小厨房以下在WSL + Ubuntu20.04下实现 安装svn apt-get install subversion 创建svn文件夹 mkdir /mnt/c/svn #在c盘下创建svn文件夹 cd /mnt/c/svn svnadmin create src #创建仓库src 开启svn服务 sv2021-10-10T06:58:00Z2021-10-10T06:58:00Z小厨房https://www.cnblogs.com/erichf/【摘要】以下在WSL + Ubuntu20.04下实现 安装svn apt-get install subversion 创建svn文件夹 mkdir /mnt/c/svn #在c盘下创建svn文件夹 cd /mnt/c/svn svnadmin create src #创建仓库src 开启svn服务 sv <a href="https://www.cnblogs.com/erichf/p/15389479.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/15271790.html网页上数学公式显示不出来的办法(chrome插件) - 小厨房仅部分有效,作为参考,原始链接:网页上数学公式显示不正确的解决方案 Chrome浏览器的解决方法 1、经各种插件的测试使用,Tex All the Thing的可以使用 https://chrome.google.com/webstore/detail/tex-all-the-things/cbim2021-09-15T04:56:00Z2021-09-15T04:56:00Z小厨房https://www.cnblogs.com/erichf/【摘要】仅部分有效,作为参考,原始链接:网页上数学公式显示不正确的解决方案 Chrome浏览器的解决方法 1、经各种插件的测试使用,Tex All the Thing的可以使用 https://chrome.google.com/webstore/detail/tex-all-the-things/cbim <a href="https://www.cnblogs.com/erichf/p/15271790.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/14963388.html压力、静压、动压、动力学压力 - 小厨房英语 压力: pressure 静压: static pressure 动压: dynamic pressure 静水压:hydrostatic pressure 动理学压力/动力学压力:kinematic pressure 总压:total pressure 释义 压力 在流体力学中,通常所说的压2021-07-02T07:11:00Z2021-07-02T07:11:00Z小厨房https://www.cnblogs.com/erichf/【摘要】英语 压力: pressure 静压: static pressure 动压: dynamic pressure 静水压:hydrostatic pressure 动理学压力/动力学压力:kinematic pressure 总压:total pressure 释义 压力 在流体力学中,通常所说的压 <a href="https://www.cnblogs.com/erichf/p/14963388.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/14963384.htmllinux处理含特殊字符的文件/文件夹 - 小厨房主要有以下几种办法: 使用完整路径 使用转义符,斜杠“\” 使用通配符 使用双引号2021-07-02T07:10:00Z2021-07-02T07:10:00Z小厨房https://www.cnblogs.com/erichf/【摘要】主要有以下几种办法: 使用完整路径 使用转义符,斜杠“\” 使用通配符 使用双引号 <a href="https://www.cnblogs.com/erichf/p/14963384.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/14799546.html防爬 - 小厨房防爬 containmentfoam https://github.com/awaldm/read_tecplot/blob/master/read_tecplot.py https://github.com/JunhuaPAN?tab=repositories2021-05-22T11:09:00Z2021-05-22T11:09:00Z小厨房https://www.cnblogs.com/erichf/【摘要】防爬 containmentfoam https://github.com/awaldm/read_tecplot/blob/master/read_tecplot.py https://github.com/JunhuaPAN?tab=repositories <a href="https://www.cnblogs.com/erichf/p/14799546.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/14798901.htmlOpenFOAM字典中的fluxRequired - 小厨房需要使用到flux时,就在fluxRequire列表中添加。 参考链接 If the code is solving a transport equation, it also calculates the fluxes at each cell face. If this information 2021-05-22T07:05:00Z2021-05-22T07:05:00Z小厨房https://www.cnblogs.com/erichf/【摘要】需要使用到flux时,就在fluxRequire列表中添加。 参考链接 If the code is solving a transport equation, it also calculates the fluxes at each cell face. If this information <a href="https://www.cnblogs.com/erichf/p/14798901.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/14667728.htmlFluent计算报错Error: arg(2nd) out of range in string-ref - 小厨房计算两相流VoF问题时,会报Error: arg(2nd) out of range in string-ref 错误。 看到string-ref,联想到可能是字符串出错,于是取消计算时同步输出的tecplot文件。此时发现计算可以继续。 因此,猜测可能是fluent中的bug,某些变量的名字可能有2021-04-16T08:48:00Z2021-04-16T08:48:00Z小厨房https://www.cnblogs.com/erichf/【摘要】计算两相流VoF问题时,会报Error: arg(2nd) out of range in string-ref 错误。 看到string-ref,联想到可能是字符串出错,于是取消计算时同步输出的tecplot文件。此时发现计算可以继续。 因此,猜测可能是fluent中的bug,某些变量的名字可能有 <a href="https://www.cnblogs.com/erichf/p/14667728.html" target="_blank">阅读全文</a>https://www.cnblogs.com/erichf/p/14658569.html奇排列与偶排列 - 小厨房在线性代数中,经常会使用到这个概念,如计算一个行列式的大小、求$e_$的值。为了搞清楚奇排列与偶排列的概念,需要先知道逆序数的定义。 逆序数 在一个排列中,任意2个数字可以组成“一对数”,若这“一对数”中,前面的数字大于后面的数字,那么它们就称为一个“逆序对”。一个排列中“逆序对”的总数就称为这个排2021-04-14T08:24:00Z2021-04-14T08:24:00Z小厨房https://www.cnblogs.com/erichf/【摘要】在线性代数中,经常会使用到这个概念,如计算一个行列式的大小、求$e_$的值。为了搞清楚奇排列与偶排列的概念,需要先知道逆序数的定义。 逆序数 在一个排列中,任意2个数字可以组成“一对数”,若这“一对数”中,前面的数字大于后面的数字,那么它们就称为一个“逆序对”。一个排列中“逆序对”的总数就称为这个排 <a href="https://www.cnblogs.com/erichf/p/14658569.html" target="_blank">阅读全文</a>