2020年10月14日

Ubuntu18.0 安装 foam-extend-4.0

摘要: 1、Run the following commands: sudo apt-get updatesudo apt-get install git-core build-essential binutils-dev cmake flex bear \zlib1g-dev libncurses5-de 阅读全文

posted @ 2020-10-14 23:21 Yan12345678 阅读(780) 评论(0) 推荐(0) 编辑

2020年9月14日

网格转换flunt3DToFoam

摘要: Convert a mesh generated by Fluent/Gambit to OpenFOAM. 1. Save the file in Fluent/Gambit in ASCII format (uncheck the "Write Binary Files" option). If 阅读全文

posted @ 2020-09-14 22:26 Yan12345678 阅读(363) 评论(0) 推荐(0) 编辑

2020年8月9日

debug之libstdc++.so.6: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found `GLIBCXX_3.4.21' not found

摘要: blockMesh: /usr/lib64/libstdc++.so.6: version `CXXABI_1.3.8' not found (required by $HOME/OpenFOAM/OpenFOAM-7/platforms/linux64GccDPInt32Opt/lib/libex 阅读全文

posted @ 2020-08-09 12:44 Yan12345678 阅读(366) 评论(0) 推荐(0) 编辑

2020年8月8日

debug之ld:collect2: fatal error: cannot find 'ld' compilation terminated.

摘要: collect2: fatal error: cannot find 'ld'compilation terminated. 1、what is ld GNU Binutils是一套二进制工具集,提供了一系列用来创建、管理和维护二进制目标文件的工具程序。Binutils包括以下工具:The GNU 阅读全文

posted @ 2020-08-08 22:39 Yan12345678 阅读(1743) 评论(0) 推荐(0) 编辑

2020年8月7日

debug之gcc: error: unrecognized command line option '--showme:link'; did you mean '--force-link'

摘要: 在Google上搜索了这个问题,https://www.cfd-online.com/Forums/openfoam-installation/148321-gcc-error-unrecognized-command-line-option-showme-link.html 仔细阅读了这个链接,根 阅读全文

posted @ 2020-08-07 23:05 Yan12345678 阅读(3209) 评论(0) 推荐(0) 编辑

2020年8月6日

linux离线编译安装gcc-7.5

摘要: 1、将其他的几个依赖的解压文件放在gcc的解压文件下,就可以省去其他几个的编译安装过程 2、在解压文件目录下(copy自网络的两个配置) ../configure --enable-bootstrap --enable-shared --enable-threads=posix --enable-c 阅读全文

posted @ 2020-08-06 22:44 Yan12345678 阅读(3443) 评论(1) 推荐(0) 编辑

2020年8月5日

gcc入门学习

摘要: Linux编译工具:gcc入门 文章链接:https://www.cnblogs.com/QG-whz/p/5456720.html 1. 什么是gccgcc的全称是GNU Compiler Collection,它是一个能够编译多种语言的编译器。最开始gcc是作为C语言的编译器(GNU C Com 阅读全文

posted @ 2020-08-05 23:07 Yan12345678 阅读(327) 评论(0) 推荐(0) 编辑

Linux bash环境变量简单总结(搬运)

摘要: 来源链接:http://www.178linux.com/8005 作者:旺仔大战肥五花链接:https://zhuanlan.zhihu.com/p/82098647来源:知乎著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。 一.环境变量简介 Linux是一个多用户的操作系统。 阅读全文

posted @ 2020-08-05 22:55 Yan12345678 阅读(506) 评论(0) 推荐(0) 编辑

linux系统环境变量学习1

摘要: 前言 Linux环境 在 Linux Shell 登录成功以后,Linux 会从文件中获取一系列的数据为该次登录所用,这些数据会在某些指令或某些程序中被使用到。这些数据就称为 Linux Shell 运行时的环境。环境中的数据可以大致分为四种:环境变量,Shell 变量,别名(alias),Shel 阅读全文

posted @ 2020-08-05 22:24 Yan12345678 阅读(113) 评论(0) 推荐(0) 编辑

2020年5月16日

关于磁共振图像重建margosian的实现所用到的matlab函数(小白向)

摘要: 1、phantom函数简介:生成头部幻影图像举例:p=(phantom(N)); imshow(p);%会出现一个头部幻影图像,其中N表示图像矩阵的行列数。其他:p=phantom(def,n),这个是标准格式,上面的例子是助教代码中的例子。 2、zeros函数简介:生成全是零的矩阵举例:phase 阅读全文

posted @ 2020-05-16 10:14 Yan12345678 阅读(1021) 评论(0) 推荐(0) 编辑

导航