Skip to content

OpenFOAM

OpenFOAM交流区

5.2k 主题 31.0k 帖子
  • fluent网格转换问题

    6
    6 帖子
    872 浏览
    bestucanB

    @世界函数 画网格的时候、计算的时候都可以修改。在fluent里,网格那一栏。有检查网格质量、防缩网格尺寸,也有整体移动网格的。把网格的一个边界点对到原点上就行了。

  • 为什么计算域尺度不同会导致计算发散呀??

    10
    10 帖子
    1k 浏览
    东方白杨

    @学流体的小明 说错了,我的意思是v=w×r,这个算的是圆周速度,而我们看的是相对坐标系下的相对速度Urel,从NS方程来说它多受到了离心力和哥氏力,哥氏力和主流不在一个方向,而离心力是有势力,如果我进口主流速度都一样的话,不管旋转半径多大,与进口差距一定距离的点,其受到的离心力做功都是一样的,所以理论上改变旋转半径大小,那个点的相对速度应该基本是一样的吧。。。。

  • foam-extend-4.1安装出错

    10
    10 帖子
    1k 浏览

    @李东岳 我把ThirdParty里需要的包都手动添加在了

    foam/foam-extend-4.1/ThirdParty/rpmBuild/SOURCES/ ad@ad:~/foam/foam-extend-4.1/ThirdParty/rpmBuild/SOURCES$ ls bison-2.7.tar.gz openmpi-1.4.1.tar.gz parmetis-4.0.3.tar.gz cmake-3.2.2.tar.gz openmpi-1.4.3.tar.gz ParMGridGen-1.0.tar.gz hwloc-1.10.1.tar.gz openmpi-1.5.tar.gz PyFoam-0.6.4.tar.gz hwloc-2.0.1.tar.gz openmpi-1.6.5.tar.gz PyFoam-0.6.9.tar.gz libccmio-2.6.1.tar.gz openmpi-1.8.4.tar.gz scotch-6.0.0.tar.gz mesquite-2.1.2.tar.gz openmpi-1.8.8.tar.gz scotch_6.0.4.tar.gz mesquite-2.3.0.tar.gz openmpi-3.1.1.tar.gz metis-5.1.0.tar.gz openmpi-4.0.0.tar.gz

    也编译了scotch6.0.4,但还是会出现找不到decompositionMethod.H文件以及twoDPointCorrector.H文件的问题,还多了一个mgridgen.h文件的问题:

    ad@ad:~/foam/foam-extend-4.1$ fe41 ad@ad:~/foam/foam-extend-4.1$ echo $WM_THIRD_PARTY_USE_SCOTCH_604 1 ad@ad:~/foam/foam-extend-4.1$ ./Allwmake make: Nothing to be done for 'all'. + wmakePrintBuild -check no git description found + /bin/rm -f foam/Make/linux64GccDPInt32Opt/global.C foam/Make/linux64GccDPInt32Opt/global.o + wmakeLnInclude foam + wmakeLnInclude meshTools + wmakeLnInclude OSspecific/POSIX + wmake libo OSspecific/POSIX '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libOSspecific.o' is up to date. + set +x Note: ignore spurious warnings about missing mpicxx.h headers + wmake libso foam SOURCE=global/global.Cver ; sed -e 's/VERSION_STRING/4.1/' -e 's/BUILD_STRING/4.1/' $SOURCE > Make/linux64GccDPInt32Opt/global.C; g++-7 -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/home/ad/foam/foam-extend-4.1/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPInt32Opt/include -I/home/ad/foam/foam-extend-4.1/ThirdParty/zlib-1.2.3 -IlnInclude -I. -I/home/ad/foam/foam-extend-4.1/src/foam/lnInclude -I/home/ad/foam/foam-extend-4.1/src/OSspecific/POSIX/lnInclude -fPIC -c Make/linux64GccDPInt32Opt/global.C -o Make/linux64GccDPInt32Opt/global.o '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libfoam.so' is up to date. + decompositionMethods/AllwmakeLnInclude + wmakeLnInclude decomposeReconstruct + wmakeLnInclude decompositionMethods + wmakeLnInclude metisDecomp + wmakeLnInclude parMetisDecomp + wmakeLnInclude scotchDecomp + decompositionMethods/Allwmake + wmakeLnInclude decompositionMethods + wmake libso decompositionMethods '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libdecompositionMethods.so' is up to date. + wmake libso metisDecomp SOURCE=metisDecomp.C ; g++-7 -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I -I../decompositionMethods/lnInclude -I../scotchDecomp/lnInclude -IlnInclude -I. -I/home/ad/foam/foam-extend-4.1/src/foam/lnInclude -I/home/ad/foam/foam-extend-4.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/metisDecomp.o In file included from metisDecomp.C:26:0: metisDecomp.H:38:10: fatal error: decompositionMethod.H: No such file or directory #include "decompositionMethod.H" ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [metisDecomp.dep:342: Make/linux64GccDPInt32Opt/metisDecomp.o] Error 1 + wmake libso parMetisDecomp SOURCE=parMetisDecomp.C ; g++-7 -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -DOMPI_SKIP_MPICXX -I/home/ad/foam/foam-extend-4.1/ThirdParty/packages/openmpi-1.8.8/platforms/linux64GccDPInt32Opt/include -I -I../decompositionMethods/lnInclude -I../metisDecomp/lnInclude -I../scotchDecomp/lnInclude -IlnInclude -I. -I/home/ad/foam/foam-extend-4.1/src/foam/lnInclude -I/home/ad/foam/foam-extend-4.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/parMetisDecomp.o In file included from parMetisDecomp.C:26:0: parMetisDecomp.H:37:10: fatal error: decompositionMethod.H: No such file or directory #include "decompositionMethod.H" ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [parMetisDecomp.dep:362: Make/linux64GccDPInt32Opt/parMetisDecomp.o] Error 1 + wmake libso scotchDecomp SOURCE=scotchDecomp/scotchDecomp.C ; g++-7 -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I -I../decompositionMethods/lnInclude -IlnInclude -I. -I/home/ad/foam/foam-extend-4.1/src/foam/lnInclude -I/home/ad/foam/foam-extend-4.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/scotchDecomp.o SOURCE=engineScotchDecomp/engineScotchDecomp.C ; g++-7 -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I -I../decompositionMethods/lnInclude -IlnInclude -I. -I/home/ad/foam/foam-extend-4.1/src/foam/lnInclude -I/home/ad/foam/foam-extend-4.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/engineScotchDecomp.o In file included from scotchDecomp/scotchDecomp.C:107:0: scotchDecomp/scotchDecomp.H:38:10: fatal error: decompositionMethod.H: No such file or directory #include "decompositionMethod.H" ^~~~~~~~~~~~~~~~~~~~~~~ In file included from engineScotchDecomp/engineScotchDecomp.H:49:0, from engineScotchDecomp/engineScotchDecomp.C:26: lnInclude/scotchDecomp.H:38:10: fatal error: decompositionMethod.H: No such file or directory #include "decompositionMethod.H" ^~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. compilation terminated. make: *** [scotchDecomp/scotchDecomp.dep:342: Make/linux64GccDPInt32Opt/scotchDecomp.o] Error 1 make: *** Waiting for unfinished jobs.... make: *** [engineScotchDecomp/engineScotchDecomp.dep:343: Make/linux64GccDPInt32Opt/engineScotchDecomp.o] Error 1 + wmake libso lagrangian/basic '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/liblagrangian.so' is up to date. + wmake libso edgeMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libedgeMesh.so' is up to date. + wmake libso surfMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libsurfMesh.so' is up to date. + wmake libso meshTools '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libmeshTools.so' is up to date. + wmake libso finiteVolume '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libfiniteVolume.so' is up to date. + wmake libso finiteArea '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libfiniteArea.so' is up to date. + conversion/Allwmake + wmake libso '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libconversion.so' is up to date. + wmake libso lduSolvers '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/liblduSolvers.so' is up to date. + wmake libso tetFiniteElement '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libtetFiniteElement.so' is up to date. + wmake libso decompositionMethods/decomposeReconstruct '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libdecomposeReconstruct.so' is up to date. + dynamicMesh/AllwmakeLnInclude + wmakeLnInclude dynamicMesh + wmakeLnInclude dynamicFvMesh + wmakeLnInclude topoChangerFvMesh + meshMotion/AllwmakeLnInclude + wmakeLnInclude solidBodyMotion + wmakeLnInclude fvMotionSolver + wmakeLnInclude RBFMotionSolver + wmakeLnInclude mesquiteMotionSolver + dynamicMesh/Allwmake + wmake libso dynamicMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libdynamicMesh.so' is up to date. + meshMotion/Allwmake + wmake libso solidBodyMotion '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libsolidBodyMotion.so' is up to date. + wmake libso fvMotionSolver '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libfvMotionSolver.so' is up to date. + wmake libso RBFMotionSolver '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libRBFMotionSolver.so' is up to date. + wmake libso mesquiteMotionSolver SOURCE=mesquiteMotionSolver.C ; g++-7 -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I -I/home/ad/foam/foam-extend-4.1/src/meshTools/lnInclude -I/home/ad/foam/foam-extend-4.1/src/dynamicMesh/dynamicMesh/lnInclude -IlnInclude -I. -I/home/ad/foam/foam-extend-4.1/src/foam/lnInclude -I/home/ad/foam/foam-extend-4.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/mesquiteMotionSolver.o In file included from mesquiteMotionSolver.H:39:0, from mesquiteMotionSolver.C:26: /home/ad/foam/foam-extend-4.1/src/dynamicMesh/dynamicMesh/lnInclude/motionSolver.H:42:10: fatal error: twoDPointCorrector.H: No such file or directory #include "twoDPointCorrector.H" ^~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [mesquiteMotionSolver.dep:408: Make/linux64GccDPInt32Opt/mesquiteMotionSolver.o] Error 1 + wmake libso tetMotionSolver '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libtetMotionSolver.so' is up to date. + wmake libso dynamicFvMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libdynamicFvMesh.so' is up to date. + wmake libso dynamicTopoFvMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libdynamicTopoFvMesh.so' is up to date. + wmake libso topoChangerFvMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libtopoChangerFvMesh.so' is up to date. + wmake libso loadBalanceFvMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libloadBalanceFvMesh.so' is up to date. + wmake libso coupledMatrix '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libcoupledLduMatrix.so' is up to date. + wmake libso sampling '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libsampling.so' is up to date. + wmake libso ODE '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libODE.so' is up to date. + wmake libso POD '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libPOD.so' is up to date. + wmake libso randomProcesses '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/librandomProcesses.so' is up to date. + mesh/Allwmake + wmake libso autoMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libautoMesh.so' is up to date. + wmake libso blockMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libblockMesh.so' is up to date. + wmake libso extrudeModel '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libextrudeModel.so' is up to date. + wmake libso cfMesh '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libcfMesh.so' is up to date. + thermophysicalModels/Allwmake + wmake libso specie '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libspecie.so' is up to date. + wmake libso thermophysicalFunctions '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libthermophysicalFunctions.so' is up to date. + wmake libso liquids '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libliquids.so' is up to date. + wmake libso liquidMixture '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libliquidMixture.so' is up to date. + wmake libso solids '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libsolids.so' is up to date. + wmake libso solidMixture '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libsolidMixture.so' is up to date. + wmake libso basic '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libbasicThermophysicalModels.so' is up to date. + wmake libso reactionThermo '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libreactionThermophysicalModels.so' is up to date. + wmake libso laminarFlameSpeed '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/liblaminarFlameSpeedModels.so' is up to date. + wmake libso chemistryModel '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libchemistryModel.so' is up to date. + wmake libso pdfs '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libpdf.so' is up to date. + wmake libso radiation '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libradiation.so' is up to date. + wmake libso barotropicCompressibilityModel '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libbarotropicCompressibilityModel.so' is up to date. + transportModels/Allwmake + wmake libso incompressible '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libincompressibleTransportModels.so' is up to date. + wmake libso interfaceProperties '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libinterfaceProperties.so' is up to date. + wmake libso viscoelastic '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libviscoelasticTransportModels.so' is up to date. + turbulenceModels/Allwmake + LES/Allwmake + wmakeLnInclude ../incompressible/LES + wmake libso LESfilters '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libLESfilters.so' is up to date. + wmake libso LESdeltas '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libLESdeltas.so' is up to date. + incompressible/Allwmake + wmake libso turbulenceModel '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libincompressibleTurbulenceModel.so' is up to date. + wmake libso RAS '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libincompressibleRASModels.so' is up to date. + wmake libso LES '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libincompressibleLESModels.so' is up to date. + compressible/Allwmake + wmake libso turbulenceModel '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libcompressibleTurbulenceModel.so' is up to date. + wmake libso RAS '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libcompressibleRASModels.so' is up to date. + wmake libso LES '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libcompressibleLESModels.so' is up to date. + lagrangian/Allwmake + wmake libso basic '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/liblagrangian.so' is up to date. + wmake libso solidParticle '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libsolidParticle.so' is up to date. + wmake libso intermediate '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/liblagrangianIntermediate.so' is up to date. + wmake libso dieselSpray '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libdieselSpray.so' is up to date. + wmake libso dsmc '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libdsmc.so' is up to date. + wmake libso coalCombustion '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libcoalCombustion.so' is up to date. + molecularDynamics/Allwmake + wmake libso potential '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libpotential.so' is up to date. + wmake libso molecularMeasurements '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libmolecularMeasurements.so' is up to date. + wmake libso molecule '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libmolecule.so' is up to date. + wmake libso conjugateHeatTransfer '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libconjugateHeatTransfer.so' is up to date. + postProcessing/Allwmake + wmake libo postCalc '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/postCalc.o' is up to date. + wmake libso foamCalcFunctions '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libfoamCalcFunctions.so' is up to date. + functionObjects/Allwmake + wmake libso check '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libcheckFunctionObjects.so' is up to date. + wmake libso field '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libfieldFunctionObjects.so' is up to date. + wmake libso forces '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libforces.so' is up to date. + wmake libso fvTools '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libFVFunctionObjects.so' is up to date. + wmake libso IO '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libIOFunctionObjects.so' is up to date. + wmake libso jobControl '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libjobControl.so' is up to date. + wmake libso systemCall '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libsystemCall.so' is up to date. + wmake libso utilities '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libutilityFunctionObjects.so' is up to date. + wmake libso errorEstimation '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/liberrorEstimation.so' is up to date. + fvAgglomerationMethods/Allwmake + wmake libso MGridGenGamgAgglomeration SOURCE=MGridGenGAMGAgglomerate.C ; g++-7 -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/ad/foam/foam-extend-4.1/src/finiteVolume/lnInclude -I/Lib -I/IMlib -IlnInclude -I. -I/home/ad/foam/foam-extend-4.1/src/foam/lnInclude -I/home/ad/foam/foam-extend-4.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/MGridGenGAMGAgglomerate.o MGridGenGAMGAgglomerate.C:35:13: fatal error: mgridgen.h: No such file or directory # include "mgridgen.h" ^~~~~~~~~~~~ compilation terminated. make: *** [MGridGenGAMGAgglomerate.dep:447: Make/linux64GccDPInt32Opt/MGridGenGAMGAgglomerate.o] Error 1 + wmake libso pairPatchAgglomeration '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libpairPatchAgglomeration.so' is up to date. + wmake libso engine '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libengine.so' is up to date. + wmake libso equationReader '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libequationReader.so' is up to date. + wmake libso multiSolver '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libmultiSolver.so' is up to date. + wmake libso solidModels '/home/ad/foam/foam-extend-4.1/lib/linux64GccDPInt32Opt/libsolidModels.so' is up to date. + wmake libso dbns SOURCE=multigrid/mgMeshLevel/mgMeshLevel.C ; g++-7 -std=c++11 -m64 -Dlinux64 -DWM_ARCH_OPTION=64 -DWM_DP -DWM_LABEL_SIZE=32 -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-200 -I/home/ad/foam/foam-extend-4.1/src/finiteVolume/lnInclude -I/home/ad/foam/foam-extend-4.1/src/meshTools/lnInclude -I/home/ad/foam/foam-extend-4.1/src/thermophysicalModels/basic/lnInclude -I/home/ad/foam/foam-extend-4.1/src/turbulenceModels/compressible/turbulenceModel -I/IMlib -I/Lib -IlnInclude -I. -I/home/ad/foam/foam-extend-4.1/src/foam/lnInclude -I/home/ad/foam/foam-extend-4.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPInt32Opt/mgMeshLevel.o multigrid/mgMeshLevel/mgMeshLevel.C:31:13: fatal error: mgridgen.h: No such file or directory # include "mgridgen.h" ^~~~~~~~~~~~ compilation terminated. make: *** [multigrid/mgMeshLevel/mgMeshLevel.dep:428: Make/linux64GccDPInt32Opt/mgMeshLevel.o] Error 1

    :135:

  • waves2Foam安装 2024年更新版本

    15
    15 帖子
    7k 浏览
    李东岳

    你得问题,主要是gfortran没装上,我试了一下,我这面能装上,也是2204,

    捕获.JPG

    下面是我的源

    deb http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse # deb-src http://archive.ubuntu.com/ubuntu/ jammy-backports main restricted universe multiverse deb http://archive.canonical.com/ubuntu/ jammy partner # deb-src http://archive.canonical.com/ubuntu/ jammy partner deb http://cn.archive.ubuntu.com/ubuntu/ xenial main deb http://cn.archive.ubuntu.com/ubuntu/ xenial universe deb http://mirrors.aliyun.com/ubuntu/ trusty main deb-src http://mirrors.aliyun.com/ubuntu/ trusty universe

    在这个链接里面,写了如何安装老版本的fortran: https://www.cfd-china.com/topic/4196/ubuntu-20-04-安装-openfoam-v1712

    另外我看你也是用的虚拟机。你还不如直接下载一个我装好的,你这卡了好几条了。现在个我那个15分钟就完事了。

  • 【无痛苦NS方程笔记勘误】komega2006模型

    3
    3 帖子
    546 浏览
    李东岳

    感谢,将在下一版本更新

  • 求助-如何使用OpenFOAM进行多孔介质内数值模拟

    13
    13 帖子
    14k 浏览
    1

    感觉好多可以学的

  • 量纲不匹配

    7
    7 帖子
    936 浏览

    @18190691340 是的,谢谢老师,我发现是我的0文件夹下的G的参数量纲定义错了,是从别的算例文件那一起考过来的,因为我的计算都是无重力情况下的,所以一直没考虑过是这个文件出了问题,我还以为是求解器中的变量量纲定义错了:zoule:

  • wave2foam编译问题

    4
    4 帖子
    596 浏览
    B

    @zhou 刚才又试了一下。ubuntu18.04_of1812 gcc\g++\gfortran 7可以编译 ;另一个是ubuntu 20.04_of2012 gcc\g++\gfortran 9可以编译。但是具体好像也得看waves2foam的版本吧,这个我忘记装的哪个了……

  • 8 帖子
    4k 浏览
    A

    考虑是不是网格质量太差了? 楼上说法很有道理

  • 6 帖子
    784 浏览
    X

    我一直认为会在postProcessing文件夹下生成一个目标值的文件。谢谢您!@ice_flow

  • compressibleInterFoam求解器怎么加入空化模型

    14
    14 帖子
    12k 浏览
    U

    前辈你好,我最经也遇到这个问题,请问有时间交流一下吗?

  • 2 帖子
    614 浏览
    M

    你好,请问解决了吗?

  • interFoam如何实现库水位的反复升降

    4
    4 帖子
    756 浏览

    @Stan同学 cfd online上面搜fixed water level

  • 12 帖子
    7k 浏览
    S

    @liuxin ba23ab12-472e-41b8-ba9b-2261e9863739-image.png 请问您有没有遇到这个问题呀,使用temporal shift scale之后发现有多个重复时间

  • CFDEM

    1
    1 帖子
    320 浏览
    H

    本人想用CFDEM+liggghts+Openfoam仿真气固流化床,哪位大神能否分享一下求解案例,可以赠送一杯咖啡,聊表心意,表示感谢。

  • 多相流的扭矩提取

    8
    8 帖子
    3k 浏览

    @青山 好的好的,非常感谢,谢谢,感激不尽。

  • 关于turbinefoam的网格大小问题

    4
    4 帖子
    804 浏览
    C

    @zhou 谢谢,不过这个方法还是挺难搞得,真难搞这东西

  • 3 帖子
    457 浏览
    liuxinL

    @学流体的小明 在 周期性边界明渠的两点相关性分析Ruu、Rvv、Rww如何计算? 中说:

    取一个或多个平行于壁面的面(Kim的图也是不同高度的,y^+=5.39和149.23),使用surfaces工具输出这个面上的速度,然后每个面计算速度的展向、流向空间相关函数就行了。
    可以直接计算二维的相关。
    也可以固定z坐标,一条线一条线地计算流向的相关函数,再做个平均。

    明白了,谢谢大佬

  • 使用blockMesh无法生成cellZones

    7
    7 帖子
    874 浏览
    C

    这个map我没使用过,具体我还真不了解这到底怎么回事

  • 对于流固耦合的网格无关性验证算例困惑

    1
    1 帖子
    265 浏览
    J

    各位大佬好!
    我现在做的是柔性体与流体的流固耦合问题,现在涉及到了网格无关性的验证问题
    我想咨询下,我的算例安排为与实际算例相同的流固耦合问题好,还是说将柔性体交界面视为壁面,单纯进行流体计算好?
    我的算例较为简单,只是流体与简单几何之间的耦合问题,柔性体变形不会特别离谱