OpenFoam blockMesh error
Hello to all the member of Frum,
I am a new user of CFD code OpenFoam I installed the 2.3.0 CFD code OpenFoam there some time but it does not work well. Because for the tutorial cavity when I run the "blockMesh" command on the terminal in the $ FOAM_RUN / tutorials / incompressible / icoFoam / cavity directory, I get the following errors in the terminal: /////////////////////////////////////////////////////// nProcs : 1 sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster allowSystemOperations : Disallowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time --> FOAM FATAL IO ERROR: cannot find file file: /home/elvy/OpenFOAM/elvy-2.3.0/run/tutorials/incompressible/icoFoam/cavity/constant/polyMesh/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 73. FOAM exiting ////////////////////////// * Following this message as you know the mesh is created. NB: the result of the command "cat log.foamInstallationTest" on the terminal is: Executing /home/elvy/OpenFOAM/OpenFOAM-2.3.0/bin/foamInstallationTest: Checking basic setup... ------------------------------------------------------------------------------- Shell: bash Host: elvy OS: Linux version 3.13.0-24-generic ------------------------------------------------------------------------------- Checking main OpenFOAM env variables... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Crit ------------------------------------------------------------------------------- $WM_PROJECT_INST_DIR /home/elvy/OpenFOAM yes yes $WM_PROJECT_USER_DIR /home/elvy/OpenFOAM/elvy-2.3.0 yes no $WM_THIRD_PARTY_DIR /home/elvy/OpenFOAM/ThirdParty-2.3.0 yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $WM_PROJECT_DIR /home/elvy/OpenFOAM/OpenFOAM-2.3.0 yes yes yes $FOAM_APPBIN ...-2.3.0/platforms/linux64GccDPOpt/bin yes yes yes $FOAM_SITE_APPBIN .../2.3.0/platforms/linux64GccDPOpt/bin no no $FOAM_USER_APPBIN ...-2.3.0/platforms/linux64GccDPOpt/bin no no $WM_DIR /home/elvy/OpenFOAM/OpenFOAM-2.3.0/wmake yes yes yes ------------------------------------------------------------------------------- Checking the OpenFOAM env variables set on the LD_LIBRARY_PATH... ------------------------------------------------------------------------------- Environment_variable Set_to_file_or_directory Valid Path Crit ------------------------------------------------------------------------------- $FOAM_LIBBIN ...-2.3.0/platforms/linux64GccDPOpt/lib yes yes yes $FOAM_SITE_LIBBIN .../2.3.0/platforms/linux64GccDPOpt/lib no no $FOAM_USER_LIBBIN ...-2.3.0/platforms/linux64GccDPOpt/lib no no $MPI_ARCH_PATH /usr/lib/openmpi yes yes yes ------------------------------------------------------------------------------- Third party software ------------------------------------------------------------------------------- Software Version Location ------------------------------------------------------------------------------- flex 2.5.35 /usr/bin/flex gcc 4.8.2 /usr/bin/gcc gzip 1.6 /bin/gzip tar 1.27.1 /bin/tar icoFoam 2.3.0 ...M/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin/icoFoam ------------------------------------------------------------------------------- Summary ------------------------------------------------------------------------------- Base configuration ok. Critical systems ok. Done Please I need your help to solve the problem I do not know the origin. |
Hello and welcome to the forum,
It seems like your installation for OpenFoam is correct. You have also tipped 'of230' in the terminal before you started? And I could help you more if you upload a *.log - file Code:
blockMesh > blockMesh.log 2>&1 |
Hi,
it seems you're trying to run blockMesh in cavity/constant/polyMesh folder while you should run it in just cavity folder. |
Quote:
thank you for your help. you're right I was poorly executed the commamde "blockMesh" the prblome is resolved. thanks |
Quote:
the problem is solved. i execcted "blockMesh command " in case directory thanks you |
Hey,
I'm a barely new user too. Quote:
(if I run the blockMesh commend in the case directory -cavity-, I get the same error msg) Thanks |
blockMesh error
Hello all,
I am new at Openfoam and I have question about blockMesh. When I run blockMesh command on the cavity file, the system gives me this error: FOAM FATAL ERROR: cannot find file "/opt/openfoam5/tutorials/incompressible/icoFoam/cavity/system/controlDict" From function virtual Foam::autoPtr<Foam::ISstream> Foam::fileOperations::uncollatedFileOperation::rea dStream(Foam::regIOobject&, const Foam::fileName&, const Foam::word&, bool) const in file global/fileOperations/uncollatedFileOperation/uncollatedFileOperation.C at line 505. FOAM exiting Do you know how can I solve this problem? Thanks, P. |
You need a controlDict file in your system dictionary:
"FOAM FATAL ERROR: cannot find file "/opt/openfoam5/tutorials/incompressible/icoFoam/cavity/system/controlDict" If you are totally new to OF, you should go through this user guide: https://cfd.direct/openfoam/user-guide/ After this a lot of stuff will be clear. |
All times are GMT -4. The time now is 15:58. |