@尚善若水 DLB跟org的cpuload,大佬测试的哪个性能更好?
欧
欧阳
@欧阳
帖子
-
DLBfoam的编译 -
DLBfoam的编译谢谢,谢谢大佬,太感谢了,大佬使用过DLBfoam吗?
-
ORourke碰撞模型调用//- Space coefficient scalar cSpace_; //- Time coefficient scalar cTime_;
这两个嘛,应该是都需要的
TrajectoryCollision.H这个文件中应该有说明 -
ORourke碰撞模型调用直接调用trajectory就行
-
ORourke碰撞模型调用日历文件的输出有吗?
这是我的,目前是可以计算的,在计算中ORourkeCoeffs { coalescence false; // 是否考虑液滴聚合 }这段代码没有在v2306中会报错 stochasticCollisionModel none;//ORourke;//随机碰撞模型为无。随机碰撞模型描述了颗粒之间的碰撞行为。 ORourkeCoeffs { coalescence false; // 是否考虑液滴聚合 }
-
DLBfoam的编译https://github.com/Aalto-CFD/DLBFoam
请问有人使用过DLBfoam吗?我在编译过程中
./Allwmake --clean --platform STANDALONE
出现的以下的错误,在参考https://github.com/Aalto-CFD/DLBFoam/issues/21的帖子讨论结果后,还是没有解决这个问题wmake libso src/thermophysicalModels/chemistryModel wmake libso src/ODE_DLB wmakeLnInclude: linking include files to ./lnInclude Making dependency list for source file seulex_LAPACK.C g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/usr/include -I/work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include -DDEBUG=0 -IlnInclude -I. -I/work/opt/local/apps/gcc/4.8.5/impi/2019.9.304/openfoam/8/OpenFOAM-8/src/OpenFOAM/lnInclude -I/work/opt/local/apps/gcc/4.8.5/impi/2019.9.304/openfoam/8/OpenFOAM-8/src/OSspecific/POSIX/lnInclude -fPIC -c ODESolvers/ODESolver/ODESolver.C -o Make/linux64GccDPInt32Opt/ODESolvers/ODESolver/ODESolver.o g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/usr/include -I/work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include -DDEBUG=0 -IlnInclude -I. -I/work/opt/local/apps/gcc/4.8.5/impi/2019.9.304/openfoam/8/OpenFOAM-8/src/OpenFOAM/lnInclude -I/work/opt/local/apps/gcc/4.8.5/impi/2019.9.304/openfoam/8/OpenFOAM-8/src/OSspecific/POSIX/lnInclude -fPIC -c ODESolvers/ODESolver/ODESolverNew.C -o Make/linux64GccDPInt32Opt/ODESolvers/ODESolver/ODESolverNew.o g++ -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wold-style-cast -Wnon-virtual-dtor -Wno-unused-parameter -Wno-invalid-offsetof -Wno-attributes -O3 -DNoRepository -ftemplate-depth-100 -I/usr/include -I/work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include -DDEBUG=0 -IlnInclude -I. -I/work/opt/local/apps/gcc/4.8.5/impi/2019.9.304/openfoam/8/OpenFOAM-8/src/OpenFOAM/lnInclude -I/work/opt/local/apps/gcc/4.8.5/impi/2019.9.304/openfoam/8/OpenFOAM-8/src/OSspecific/POSIX/lnInclude -fPIC -c ODESolvers/seulex_LAPACK/seulex_LAPACK.C -o Make/linux64GccDPInt32Opt/ODESolvers/seulex_LAPACK/seulex_LAPACK.o ODESolvers/seulex_LAPACK/seulex_LAPACK.C: In member function ‘bool Foam::seulex_LAPACK::seul(Foam::scalar, const scalarField&, Foam::label, Foam::scalar, Foam::label, Foam::scalarField&, const scalarField&) const’: ODESolvers/seulex_LAPACK/seulex_LAPACK.C:157:53: error: too few arguments to function ‘void dgetrs_(const char*, const int*, const int*, const double*, const int*, const int*, double*, const int*, int*, size_t)’ dgetrs_(&TRANS,&N,&NRHS,A,&LDA,IPIV,b,&LDB,&INFO); ^ In file included from /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapack.h:11:0, from /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapacke.h:36, from ODESolvers/seulex_LAPACK/seulex_LAPACK.H:58, from ODESolvers/seulex_LAPACK/seulex_LAPACK.C:28: /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapack.h:4043:42: note: declared here #define LAPACK_dgetrs_base LAPACK_GLOBAL(dgetrs,DGETRS) ^ /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro ‘LAPACK_GLOBAL’ #define LAPACK_GLOBAL(lcname,UCNAME) lcname##_ ^ /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapack.h:4044:6: note: in expansion of macro ‘LAPACK_dgetrs_base’ void LAPACK_dgetrs_base( ^ ODESolvers/seulex_LAPACK/seulex_LAPACK.C:211:61: error: too few arguments to function ‘void dgetrs_(const char*, const int*, const int*, const double*, const int*, const int*, double*, const int*, int*, size_t)’ dgetrs_(&TRANS,&N,&NRHS,A,&LDA,IPIV,b,&LDB,&INFO); ^ In file included from /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapack.h:11:0, from /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapacke.h:36, from ODESolvers/seulex_LAPACK/seulex_LAPACK.H:58, from ODESolvers/seulex_LAPACK/seulex_LAPACK.C:28: /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapack.h:4043:42: note: declared here #define LAPACK_dgetrs_base LAPACK_GLOBAL(dgetrs,DGETRS) ^ /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro ‘LAPACK_GLOBAL’ #define LAPACK_GLOBAL(lcname,UCNAME) lcname##_ ^ /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapack.h:4044:6: note: in expansion of macro ‘LAPACK_dgetrs_base’ void LAPACK_dgetrs_base( ^ ODESolvers/seulex_LAPACK/seulex_LAPACK.C:268:57: error: too few arguments to function ‘void dgetrs_(const char*, const int*, const int*, const double*, const int*, const int*, double*, const int*, int*, size_t)’ dgetrs_(&TRANS,&N,&NRHS,A,&LDA,IPIV,b,&LDB,&INFO); ^ In file included from /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapack.h:11:0, from /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapacke.h:36, from ODESolvers/seulex_LAPACK/seulex_LAPACK.H:58, from ODESolvers/seulex_LAPACK/seulex_LAPACK.C:28: /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapack.h:4043:42: note: declared here #define LAPACK_dgetrs_base LAPACK_GLOBAL(dgetrs,DGETRS) ^ /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapacke_mangling.h:12:39: note: in definition of macro ‘LAPACK_GLOBAL’ #define LAPACK_GLOBAL(lcname,UCNAME) lcname##_ ^ /work/00/gs50/s50001/lapack-3.10.1/LAPACKE/include/lapack.h:4044:6: note: in expansion of macro ‘LAPACK_dgetrs_base’ void LAPACK_dgetrs_base( ^ make: *** [Make/linux64GccDPInt32Opt/ODESolvers/seulex_LAPACK/seulex_LAPACK.o] Error 1