CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Native Meshers: blockMesh

OpenFoam blockMesh error

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 22, 2014, 21:15
Default OpenFoam blockMesh error
  #1
New Member
 
BOUNOU Clovis
Join Date: Aug 2014
Posts: 3
Rep Power: 4
cfd_clovis is on a distinguished road
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.
cfd_clovis is offline   Reply With Quote

Old   August 25, 2014, 03:28
Default
  #2
New Member
 
Join Date: Jul 2014
Posts: 22
Rep Power: 4
jokerito is on a distinguished road
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
From which folder are you running your program?
jokerito is offline   Reply With Quote

Old   August 25, 2014, 03:40
Default
  #3
Senior Member
 
Alexey Matveichev
Join Date: Aug 2011
Location: Nancy, France
Posts: 1,436
Rep Power: 25
alexeym will become famous soon enoughalexeym will become famous soon enough
Hi,

it seems you're trying to run blockMesh in cavity/constant/polyMesh folder while you should run it in just cavity folder.
alexeym is offline   Reply With Quote

Old   August 30, 2014, 07:29
Default
  #4
New Member
 
BOUNOU Clovis
Join Date: Aug 2014
Posts: 3
Rep Power: 4
cfd_clovis is on a distinguished road
Quote:
Originally Posted by alexeym View Post
Hi,

it seems you're trying to run blockMesh in cavity/constant/polyMesh folder while you should run it in just cavity folder.
Hi alexeym.
thank you for your help.
you're right I was poorly executed the commamde "blockMesh"
the prblome is resolved.
thanks
cfd_clovis is offline   Reply With Quote

Old   August 30, 2014, 07:31
Default
  #5
New Member
 
BOUNOU Clovis
Join Date: Aug 2014
Posts: 3
Rep Power: 4
cfd_clovis is on a distinguished road
Quote:
Originally Posted by jokerito View Post
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
From which folder are you running your program?
Hi jokerito.
the problem is solved.

i execcted "blockMesh command " in case directory

thanks you
cfd_clovis is offline   Reply With Quote

Old   October 16, 2015, 07:58
Default
  #6
New Member
 
Marcell Szabo-Meszaros
Join Date: Oct 2015
Posts: 4
Rep Power: 3
Samwise is on a distinguished road
Hey,

I'm a barely new user too.

Quote:
Originally Posted by alexeym View Post
Hi,

it seems you're trying to run blockMesh in cavity/constant/polyMesh folder while you should run it in just cavity folder.
Could you tell me, please how can I run only in the cavity folder?

(if I run the blockMesh commend in the case directory -cavity-, I get the same error msg)

Thanks
Samwise is offline   Reply With Quote

Reply

Tags
blockmesh, blockmeshdict, mesher

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mesquite - Adaptive mesh refinement / coarsening? philippose OpenFOAM Running, Solving & CFD 94 January 27, 2016 10:40
Pressure outlet boundary condition rolando OpenFOAM Running, Solving & CFD 59 January 26, 2016 22:01
Building OpenFOAM1.7.0 from source ata OpenFOAM Installation 42 May 14, 2012 20:48
Problem with compile the setParabolicInlet ivanyao OpenFOAM Running, Solving & CFD 6 September 5, 2008 20:50
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51


All times are GMT -4. The time now is 14:15.