OpenFOAM编译安装后blockMesh可以运行,求解器无法使用
-
gcc版本也换过,结果都是一样
zf@zf-Lenovo-XiaoXinAir-14-ACN-2021:~/OpenFOAM/OpenFOAM-v2406$ blockMesh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2406 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : _630d60de3b-20240620 OPENFOAM=2406 version=v2406 Arch : "LSB;label=32;scalar=64" Exec : blockMesh Date : Dec 25 2024 Time : 18:21:00 Host : zf-Lenovo-XiaoXinAir-14-ACN-2021 PID : 372228 I/O : uncollated Case : /home/zf/OpenFOAM/OpenFOAM-v2406 nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM FATAL ERROR: (openfoam-2406) cannot find file "/home/zf/OpenFOAM/OpenFOAM-v2406/system/controlDict" From virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::readStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 629. FOAM exiting zf@zf-Lenovo-XiaoXinAir-14-ACN-2021:~/OpenFOAM/OpenFOAM-v2406$ icoFoam 找不到命令 “icoFoam”,但可以通过以下软件包安装它: sudo apt install openfoam