@李东岳 我不二次开发就不能用of呗??
shrine
帖子
-
-
- 开源的Openform软件往往被用于需要精细二次开发的数值仿真中,本文应指出本文工作内容与Openform软件结合的优越性和必要性,包括二次开发等介绍。
-
-
这个帖子里这句话啥意思啊
https://www.cfd-online.com/Forums/hardware/234076-general-recommendations-cfd-hardware-wip.html
conclusion: while these CPUs are available with up to 64 cores, these high core count models are a waste of money for CFD. They would run into the same memory bandwidth bottleneck that the TR-3960x encounters.
-
@dzw05 好的,谢谢分享
-
是哪里算错了还是设置有问题
-
@rafe 谢谢,已解决
-
-
设置文件
示意图
-
@vbcwl 复制过来,添加上去,第一步就发散,不知道是不是添加得不对
-
我好像什么都没改
-
@李东岳 所以of在可压缩模型里是用了Roe平均的?
-
@李东岳 用不用Roe平均会有什么区别?
-
笔记中提到
通量是面速度uf乘以面矢量sf那这个uf是怎么算的?
其实我是想找,有没有用到Roe平均
-
要加一句程序?不知道怎么加
-
@韬智tz 什么系统?我们单位的Redhat折腾了两月才好,最后还是交给运维
-
@tens 已成功,谢谢
-
@xpqiu 最后运维还是换成了OF5,好像还连外网了,要是当初就说能连外网,我觉得自己也能搞定,何必多花这一千块,前前后后折腾了一个月。
-
-
@bestucan 这个是把其中的网格瞬间变成wall,我想要的变化是一个过程
管道中阀门突然关闭会引起巨大的水锤,所以真实情况阀门都是缓慢关闭的。
-
@bestucan 没体积,UDF是指啥
-
比如需要30s把门关上,这个一般怎么实现
-
-
@xpqiu mpirun -np 8 interFoam -parallel
最后这个parallel如果加上的话就会出现如下错误
-
@xpqiu 是Opt
-
@xpqiu 求教在哪一步设置debug release
-
服务器上of789都安装不上去,最后试了esi的2112安装成功,但是跑起来非常慢,慢两个数量级,换了个2106,速度提升了一个数量级,但是离期望还是很远
有玩过esi的大佬说说,为何会是这样
-
@cccrrryyy 让运维换了个of2106版本,速度有所提升,相当于自己电脑的四分之一速度,离期望值还是低点
-
@cccrrryyy 在自己电脑上用of2112版本算了,跟服务器上速度在一个数量级,应该就是版本问题了。这就麻烦了,of789服务器根本装不上去。
-
@cccrrryyy 怀疑是版本的问题,前面运维安装of9 8都没成功,后来安装了2112,不知道什么版本
另外在自己机子上,编译weno也是不成功,也是换成2112就好了
现在发现2112上输出比of9多很多,不知道是不是这个原因导致的
今晚放到自己机子上用2112跑跑看
-
@李东岳 一个集群
-
@cccrrryyy 问过了,一台服务器一个节点
-
-
-
@cccrrryyy 是的
-
算interFoam
自己电脑上分成8个线程,一天能算个1000s左右,放到服务器上分成两个节点64线程,一天只有几十秒 -
按照官网docker步骤没有任何难度
楼上说的那种原装的,也试过,没成功
-
PATH=/usr/lib64/openmpi/bin:/home/xry/OpenFOAM/xry-2112/platforms/linux64GccDPInt32Opt/bin:/usr/lib/openfoam/openfoam2112/site/2112/platforms/linux64GccDPInt32Opt/bin:/usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/bin:/usr/lib/openfoam/openfoam2112/bin:/usr/java/jre1.8.0_151/bin:/opt/tsce4/maui/sbin:/opt/tsce4/maui/bin:/opt/tsce4/torque6/bin:/opt/tsce4/torque6/sbin:/usr/local/bin:/opt/software/openmpi/bin:/usr/mpich/bin:/usr/bin:/usr/local/sbin:/usr/sbin:.:/home/xry/.local/bin:/home/xry/bin
LD_LIBRARY_PATH=/home/xry/OpenFOAM/xry-2112/platforms/linux64GccDPInt32Opt/lib:/usr/lib/openfoam/openfoam2112/site/2112/platforms/linux64GccDPInt32Opt/lib:/usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/sys-openmpi:/usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib:/usr/lib/openfoam/openfoam2112/ThirdParty/platforms/linux64GccDPInt32/lib/sys-openmpi:/usr/lib/openfoam/openfoam2112/ThirdParty/platforms/linux64GccDPInt32/lib:/usr/lib64/openmpi/lib:/usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/dummy:/opt/software/openmpi/lib:/software/openmpi/lib:/usr/mpich/lib:/usr/local/mpc/lib:/usr/local/gmp/lib:/usr/local/mpfr-4.1.0/lib
linux-vdso.so.1 => (0x00007ffce15f4000) libfiniteVolume.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so (0x00007faff29f9000) libfvOptions.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libfvOptions.so (0x00007faff2583000) libmeshTools.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so (0x00007faff1c79000) libsampling.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libsampling.so (0x00007faff1568000) libdynamicFvMesh.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libdynamicFvMesh.so (0x00007faff12ad000) libincompressibleTransportModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libincompressibleTransportModels.so (0x00007faff101a000) libinterfaceProperties.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libinterfaceProperties.so (0x00007faff0d9c000) libimmiscibleIncompressibleTwoPhaseMixture.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libimmiscibleIncompressibleTwoPhaseMixture.so (0x00007faff0b91000) libturbulenceModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libturbulenceModels.so (0x00007faff073a000) libincompressibleTurbulenceModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libincompressibleTurbulenceModels.so (0x00007faff02a7000) libwaveModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libwaveModels.so (0x00007fafeffd5000) libVoFphaseTurbulentTransportModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libVoFphaseTurbulentTransportModels.so (0x00007fafefc15000) libincompressibleInterPhaseTransportModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libincompressibleInterPhaseTransportModels.so (0x00007fafefa12000) libOpenFOAM.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so (0x00007fafeeca9000) libdl.so.2 => /lib64/libdl.so.2 (0x00007fafeeaa5000) libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fafee79d000) libm.so.6 => /lib64/libm.so.6 (0x00007fafee49b000) libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fafee285000) libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fafee069000) libc.so.6 => /lib64/libc.so.6 (0x00007fafedc9c000) libPstream.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/sys-openmpi/libPstream.so (0x00007fafeda81000) libfileFormats.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libfileFormats.so (0x00007fafed6c5000) libsurfMesh.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libsurfMesh.so (0x00007fafed287000) libfluidThermophysicalModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libfluidThermophysicalModels.so (0x00007fafecac0000) libsolidThermo.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libsolidThermo.so (0x00007fafec7c2000) libcompressibleTurbulenceModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libcompressibleTurbulenceModels.so (0x00007fafec2eb000) libdynamicMesh.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libdynamicMesh.so (0x00007fafebbc5000) liblagrangian.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/liblagrangian.so (0x00007fafeb980000) libtwoPhaseMixture.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libtwoPhaseMixture.so (0x00007fafeb766000) libtwoPhaseProperties.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libtwoPhaseProperties.so (0x00007fafeb519000) libspecie.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libspecie.so (0x00007fafeaea1000) libz.so.1 => /lib64/libz.so.1 (0x00007fafeac8b000) /lib64/ld-linux-x86-64.so.2 (0x00007faff511c000) libmpi.so.12 => /usr/lib64/openmpi/lib/libmpi.so.12 (0x00007fafea9a7000) libcompressibleTransportModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libcompressibleTransportModels.so (0x00007fafea7a3000) libthermophysicalProperties.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libthermophysicalProperties.so (0x00007fafea466000) libsolidSpecie.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libsolidSpecie.so (0x00007fafea234000) libreactionThermophysicalModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libreactionThermophysicalModels.so (0x00007fafe940c000) libradiationModels.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libradiationModels.so (0x00007fafe9052000) libextrudeModel.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libextrudeModel.so (0x00007fafe8e22000) libopen-rte.so.12 => /usr/lib64/openmpi/lib/libopen-rte.so.12 (0x00007fafe8ba6000) libopen-pal.so.13 => /usr/lib64/openmpi/lib/libopen-pal.so.13 (0x00007fafe8902000) librt.so.1 => /lib64/librt.so.1 (0x00007fafe86fa000) libutil.so.1 => /lib64/libutil.so.1 (0x00007fafe84f7000) libhwloc.so.5 => /lib64/libhwloc.so.5 (0x00007fafe82ba000) libSLGThermo.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libSLGThermo.so (0x00007fafe80b2000) libdistributed.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libdistributed.so (0x00007fafe7e37000) libblockMesh.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libblockMesh.so (0x00007fafe7b93000) libnuma.so.1 => /lib64/libnuma.so.1 (0x00007fafe7987000) libltdl.so.7 => /lib64/libltdl.so.7 (0x00007fafe777d000) libdecompositionMethods.so => /usr/lib/openfoam/openfoam2112/platforms/linux64GccDPInt32Opt/lib/libdecompositionMethods.so (0x00007fafe74ec000)
-
@xpqiu 我在
https://www.cfd-china.com/topic/5535/rhel怎么安装of/14
里是自己安装的of8,用xshell运行遇到glibc版本低的问题运维安装了of9,用xshell运行mpi算例没有问题,但是用脚本提交就不行,估计运维把mpicc目录添加进去了,最终还是变成glibc版本太低
-
@cccrrryyy 我自己装了of8,运行不成功,出现glibc库版本不够。
运维装的of9,xshell登录进去,多线程并行运行没有问题
提交脚本就显示mpicc找不到,现在运维那边说就是glibc的原因
-
系统是centos,是运维帮忙安装的of9,自己用xshell登录进去运行算例没有问题,上传pbs脚本运行就会出现mpicc :command not found
-
@xpqiu 不是rpm包,是自己编译。
现在不管了,交给运维了,1000块,自己瞎搞,把同事的监测搞没了,被骂了一顿...
-
@xpqiu 不知道是不是安装gcc11惹的祸
我开始直接安装mpich,source的时候会出现三楼的错误,所以我怀疑时gcc版本不够,升级到11,其实source还是出现同样的错误,但我没管,仍然./Allwmake
居然成功了,后来再source就没再出现同样的错误,真tm神奇 -
@xpqiu 运行结果是
/home/xry/OpenFOAM-8/platforms/linux64GccDPInt32Opt/bin/blockMesh: /lib64/libm.so.6: version `GLIBC_2.29' not found (required by /home/xry/OpenFOAM-8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so) /home/xry/OpenFOAM-8/platforms/linux64GccDPInt32Opt/bin/blockMesh: /lib64/libm.so.6: version `GLIBC_2.23' not found (required by /home/xry/OpenFOAM-8/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so)
我安装完GCC11已经软链了
ln -sf /usr/local/gcc/lib64/libstdc++.so.6.0.22 /usr/lib64/libstdc++.so.6(6.0.22已经改成了29) -
@bestucan 原本想用docker,也是不熟悉,没弄起来
现在原生环境下thirdparty和of都./Allwmake成功了,但是blockmesh显示GLIBC_2.23' not found,不知道是不是哪里没装好
网上说升级这个GLIBC库挺危险的,我configure就没成功,
configure:5337: result: python3
configure:5352: checking version of python3
configure:5362: result: 3.7.11, ok
configure:5372: error:
*** These critical programs are missing or too old: make
*** Check the INSTALL file for required versions. -
@李东岳 我想放弃了,要装的东西太多了,关键一个个手动编译还有版本依赖。可不可以直接放到docker里运行
-
@李东岳 应该是没有,设置环境变量时
gcc: error: unrecognized command line option ‘--showme:link’
系统自带的gcc版本不够?
gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/libexec/gcc/x86_64-redhat-linux/4.8.5/lto-wrapper Target: x86_64-redhat-linux Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++,objc,obj-c++,java,fortran,ada,go,lto --enable-plugin --enable-initfini-array --disable-libgcj --with-isl=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/isl-install --with-cloog=/builddir/build/BUILD/gcc-4.8.5-20150702/obj-x86_64-redhat-linux/cloog-install --enable-gnu-indirect-function --with-tune=generic --with-arch_32=x86-64 --build=x86_64-redhat-linux Thread model: posix gcc version 4.8.5 20150623 (Red Hat 4.8.5-28) (GCC)
-
@shrine 先下载了mpich,安装了一两个小时才好,到了./Allwmake 时出现致命错误,缺少scotch.h
-
网上搜了下,第一步源就搞不定,有没有现成的,抄个作业
大佬们这句该怎么礼貌而又得体的喷死他
大佬们这句该怎么礼貌而又得体的喷死他
配台十万以下的计算服务器有推荐方案么
配台十万以下的计算服务器有推荐方案么
interFoam算出来α大于1是什么情况
interFoam算出来α大于1是什么情况
有人在mac上装of么?
有人在mac上装of么?
动网格残差不一致
请问这个是什么错误
请问这个是什么错误
of的通量计算
of的通量计算
of的通量计算
interFoam怎么输出水位
interFoam怎么输出水位
如何直接在linux下安装of
增加一个面用mapfields直接end
esi版本为何这么慢
管道中关门一般怎么实现啊
管道中关门一般怎么实现啊
管道中关门一般怎么实现啊
管道中关门一般怎么实现啊
增加一个面用mapfields直接end
esi版本为何这么慢
esi版本为何这么慢
esi版本为何这么慢
esi版本为何这么慢
服务器算的慢怎么排查
服务器算的慢怎么排查
服务器算的慢怎么排查
服务器算的慢怎么排查
服务器算的慢怎么排查
服务器算的慢怎么排查
服务器算的慢怎么排查
服务器算的慢怎么排查
服务器算的慢怎么排查
有人在mac上装of么?
计算服务器的问题
计算服务器的问题
计算服务器的问题
计算服务器的问题
rhel怎么安装OF
rhel怎么安装OF
rhel怎么安装OF
rhel怎么安装OF
rhel怎么安装OF
rhel怎么安装OF
rhel怎么安装OF
rhel怎么安装OF