Skip to content
  • 0 赞同
    3 帖子
    6k 浏览
    Y

    已经解决。
    (在一个视频中提到这一点)网格统计问题有三种情况:
    第一种,是显示问题的网格数目很少,就几个,占总体的0.0002%。对于这种情况直接更改限定值。
    第二种,是显示问题的网格数目很多,占总体的超过10%,甚至更多,对于这种情况需要更改MeshData的参数设置,重新对网格进行绘制。
    必须保证,不能出现负网格。

  • foam-extend-4.1安装出错

    OpenFOAM
    10
    0 赞同
    10 帖子
    9k 浏览

    @李东岳 我把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:

  • 0 赞同
    4 帖子
    7k 浏览
    刀尔東

    @刀尔東 在 向各位大佬请教一下网格划分的基础问题 中说:

    感谢各位大佬不吝赐教。

    链接: https://pan.baidu.com/s/11z9O_mzDLuqEp30mWRr5Ow?pwd=1234 提取码: 1234 复制这段内容后打开百度网盘手机App,操作更方便哦
    --来自百度网盘超级会员v6的分享

    以上是我的两个文件

    网格文件为ENSIGHT GOLD FORMAT

  • DSMC时间平均

    OpenFOAM
    11
    0 赞同
    11 帖子
    10k 浏览
    K

    @jeffx 在 DSMC时间平均 中说:

    @kuangyonglin 54fedbea-3a2e-4e8a-b075-2a4af7befba9-image.png 5ae00d70-d00d-42b5-94d2-f04fa8e72805-image.png 大佬如果不考虑化学反应的话,分子性质需要定义红框内参数吗?因为我看官方tutorial里supersonicFlatPlate案例里没有定义那些参数,因为我需要模拟水分子,很多参数查不到。

    不需要,你可以看一下bird的书,也可以扒一下代码,不考虑化学反应的话,看你选择的粒子模型,根据模型的需要定义相关参数就可以了

  • 全导和偏导,怎么分清楚?

    Algorithm
    7
    0 赞同
    7 帖子
    18k 浏览
    C

    更精准一些的话,D为全导。d后为单变量的函数。:cheeky:

  • 0 赞同
    5 帖子
    7k 浏览
    Y

    @yingqing 不知道为啥,有一次成功了,在弄就不能成功了。节点的位置进行了设置,但网格的节点与我设置的节点不重合。就像这样
    177924ad-d438-468f-8cf5-a612fe049465-image.png

  • Paraview求助,操作出现问题了

    OpenFOAM
    5
    0 赞同
    5 帖子
    5k 浏览
    L

    "ParaView-5.12.0-MPI-Windows-Python3.10-msvc2017-AMD64-2\ParaView-5.12.0-MPI-Windows-Python3.10-msvc2017-AMD64\bin\Lib\site-packages\paraview\simple.py"

    第790-792行:

    if value == None: rep.SetScalarColoring(None, servermanager.GetAssociationFromString(association)) return

    第786-826行代码:

    rep.UseSeparateColorMap = separate
    association = rep.ColorArrayName.GetAssociation()
    arrayname = rep.ColorArrayName.GetArrayName()
    component = None
    if value == None:
    rep.SetScalarColoring(None, servermanager.GetAssociationFromString(association))
    return
    if not isinstance(value, tuple) and not isinstance(value, list):
    value = (value,)
    if len(value) == 1:
    arrayname = value[0]
    elif len(value) >= 2:
    association = value[0]
    arrayname = value[1]
    if len(value) == 3:
    # component name provided
    componentName = value[2]
    if componentName == "Magnitude":
    component = -1
    else:
    if association == "POINTS":
    array = rep.Input.PointData.GetArray(arrayname)
    if association == "CELLS":
    array = rep.Input.CellData.GetArray(arrayname)
    if array:
    # looking for corresponding component name
    for i in range(0, array.GetNumberOfComponents()):
    if componentName == array.GetComponentName(i):
    component = i
    break
    # none have been found, try to use the name as an int
    if i == array.GetNumberOfComponents() - 1:
    try:
    component = int(componentName)
    except ValueError:
    pass
    if component is None:
    rep.SetScalarColoring(arrayname, servermanager.GetAssociationFromString(association))
    else:
    rep.SetScalarColoring(arrayname, servermanager.GetAssociationFromString(association), component)
    rep.RescaleTransferFunctionToDataRange()

  • 请问今年的培训有安排了吗

    已移动 CFD彩虹条
    3
    0 赞同
    3 帖子
    4k 浏览
    S

    @东岳 我报名,一位老师两名学生,稍后把报名表发给你

  • waves2Foam安装 2024年更新版本

    OpenFOAM
    15
    0 赞同
    15 帖子
    20k 浏览
    李东岳

    你得问题,主要是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分钟就完事了。

  • 结构网格

    Meshy
    3
    0 赞同
    3 帖子
    6k 浏览
    J

    @李东岳 感谢李老师。我去学习下:140:

  • 清网行动/CORE成立

    CFD彩虹条
    4
    0 赞同
    4 帖子
    8k 浏览
    I

    @东岳 ok 已发送

  • 搅拌反应器ICEM结构网格划分方式

    Meshy
    12
    0 赞同
    12 帖子
    18k 浏览
    C

    @李东岳 好的,谢谢李老师耐心解答

  • 改一改个性签名?

    CFD彩虹条
    1
    0 赞同
    1 帖子
    2k 浏览
    李东岳

    现在的个性签名是胖猫说的,当时的背景是我创立各种网站,翻译OpenFOAM用户指南,做很多人觉得毫无意义的事情。于是胖猫说

    你去了那么多地方,走了那么多的路,你要学会的就是包容和接受这个世界的一切观念

    博士联合培养期间我去了意大利,博士后我去了德国,中途为了见各种CFD大牛一直在欧洲奔波。这句话确实很适合我。我曾经跨过山和大海,也穿过人山人海,去了很多地方,应该包容和接收其他人的一切观念。

    今天,或许应该改一改个性签名咯?:baobao:

  • 32岁了...

    CFD彩虹条
    2
    0 赞同
    2 帖子
    4k 浏览

    生诞快乐 :chitang:

  • 0 赞同
    4 帖子
    7k 浏览
    HalfishH

    @haining-luo
    我现在用ansa处理极复杂三维模型,保存.mesh格式面网格,用fluent meshing或star ccm生成多面体网格或切割体网格,挺方便。
    如果模型太复杂,搞科研可以用icem,工程上不太建议用ICEM生成非结构网格。

  • 求大佬! 解答审稿意见回复-网格独立性

    Meshy
    3
    0 赞同
    3 帖子
    6k 浏览
    X

    @李东岳 谢谢:threaten: :qinqin:

  • vmdk文件越来越大,没得治了?

    CFD彩虹条
    11
    0 赞同
    11 帖子
    15k 浏览
    R

    发完帖子,我发现 transfer.sh 复活了!!! 太棒了!

    Don’t Panic! transfer.sh will live on!
    After running and supporting transfer.sh for 4 years on my own, I’m happy to announce we are partnering with Storj Labs to keep the project going. From day one, the transfer.sh code has been open source. Storj has a commitment to open source sustainability and reached out to help us find a way to keep our project alive. Stay tuned for updates on the partnership with Storj, but for now, please continue to enjoy the service!
    Blue skies, Remco Verhoef

  • 0 赞同
    1 帖子
    1k 浏览
    1

    9014ed72-a94e-4c09-b581-d14e11c5724e-image.png 如图所示,我想给vv赋予随机变量xx1的值,但xx1处会报错,试了好多方法都无法解决,想请教下各位老师修改的方向。

  • 0 赞同
    12 帖子
    23k 浏览
    S

    @wwzhao :thanks!

  • 压力p非均匀初始场

    OpenFOAM
    5
    0 赞同
    5 帖子
    5k 浏览
    A

    @bestucan 感谢大神 我去试试