CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[blockMesh] Cannot find file "system/blockMeshDict"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 26, 2022, 08:43
Default Cannot find file "system/blockMeshDict"
  #1
New Member
 
Paul
Join Date: Apr 2022
Posts: 1
Rep Power: 0
ElPAul0 is on a distinguished road
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 9
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 9-b456138dc4bc
Exec : blockMesh
Date : Apr 26 2022
Time : 10:18:58
Host : "______"
PID : 48803
I/O : uncollated
Case : /home/______/OpenFOAM/_____-9/run/test1
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Reading "blockMeshDict"



--> FOAM FATAL ERROR:
Cannot find file "system/blockMeshDict"



Hello every one!
I share with you this error that I encountered for the first time recently
I'm working on a new PC with a fresh openfoam9 installation
I tested openfoam with the pitzDaily test case, and it did just fine.
I created a new test1 directory on the $FOAM_RUN directory, and copy/pasted pitzDaily system directory, and created an empty constant directory.

Then I started writing down a new blockMeshDict file, using a python code that I made that automatically generates the vertices / blocks / boundaries

The blockMeshDict is then saved into the system directory and theoritically it should start meshing when I execute "blockMesh" from /run/test1 but i get the previously mentioned error, as if the file did not exist, while it actually does, without any typing error or stuff like that.

Maybe an encoding problem? The blockMeshDict should be saved in utf8 / ascii / binary format?
Maybe some extension name problem? The blockMeshDict does not have any extension name, so maybe python doesn't know how to encode it

I hope someone will be able to help me
Many thanks
Paul


PS: here is the result of tree command, on my test1 directory. blockMeshDict exists and is at the right location as you can see.

.
├── constant
└── system
├── blockMeshDict
├── controlDict
├── fvSchemes
└── fvSolution
2 directories, 4 files
ElPAul0 is offline   Reply With Quote

Old   May 12, 2022, 09:09
Default
  #2
Senior Member
 
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6
Hr_kules is on a distinguished road
Hi,


since you mentioned an error with encoding, does your blockMeshdict file have the same type as the standard blockMesh file type?

I noticed that this could lead to problems, when just copying the contant of an openFoam file, but not the file itself.


Maybe this helps
Attached Images
File Type: png Bildschirmfoto vom 2022-05-12 16-06-25.png (9.8 KB, 31 views)
Hr_kules is offline   Reply With Quote

Reply

Tags
blockmesh, blockmeshdict, openfoam


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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 ordinary OpenFOAM Installation 19 September 3, 2019 19:13
[OpenFOAM] Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit ParaView 60 September 18, 2013 04:23
[swak4Foam] Error bulding swak4Foam sfigato OpenFOAM Community Contributions 18 August 22, 2013 13:41
DxFoam reader update hjasak OpenFOAM Post-Processing 69 April 24, 2008 02:24
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 18:51


All times are GMT -4. The time now is 11:42.