|
[Sponsors] |
August 22, 2014, 22:15 |
OpenFoam blockMesh error
|
#1 |
New Member
BOUNOU Clovis
Join Date: Aug 2014
Posts: 3
Rep Power: 12 |
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. |
|
August 25, 2014, 04:28 |
|
#2 |
New Member
Join Date: Jul 2014
Posts: 22
Rep Power: 12 |
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 |
|
August 25, 2014, 04:40 |
|
#3 |
Senior Member
|
Hi,
it seems you're trying to run blockMesh in cavity/constant/polyMesh folder while you should run it in just cavity folder. |
|
August 30, 2014, 08:29 |
|
#4 |
New Member
BOUNOU Clovis
Join Date: Aug 2014
Posts: 3
Rep Power: 12 |
||
August 30, 2014, 08:31 |
|
#5 | |
New Member
BOUNOU Clovis
Join Date: Aug 2014
Posts: 3
Rep Power: 12 |
Quote:
the problem is solved. i execcted "blockMesh command " in case directory thanks you |
||
October 16, 2015, 08:58 |
|
#6 | |
New Member
Marcell Szabo-Meszaros
Join Date: Oct 2015
Posts: 9
Rep Power: 11 |
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 |
||
June 21, 2018, 08:46 |
blockMesh error
|
#7 |
New Member
pelin ilker
Join Date: Jun 2018
Posts: 2
Rep Power: 0 |
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. |
|
June 21, 2018, 09:05 |
|
#8 |
Senior Member
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14 |
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. |
|
Tags |
blockmesh, blockmeshdict, mesher |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Building OpenFOAM1.7.0 from source | ata | OpenFOAM Installation | 46 | March 6, 2022 14:21 |
long error when using make-install SU2_AD. | tomp1993 | SU2 Installation | 3 | March 17, 2018 07:25 |
Pressure outlet boundary condition | rolando | OpenFOAM Running, Solving & CFD | 62 | September 18, 2017 07:45 |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 10:40 |
DecomposePar links against liblamso0 with OpenMPI | jens_klostermann | OpenFOAM Bugs | 11 | June 28, 2007 18:51 |