|
[Sponsors] |
[blockMesh] Cannot find file "system/blockMeshDict" |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 26, 2022, 08:43 |
Cannot find file "system/blockMeshDict"
|
#1 |
New Member
Paul
Join Date: Apr 2022
Posts: 1
Rep Power: 0 |
/*---------------------------------------------------------------------------*\
========= | \\ / 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 ├── blockMeshDict2 directories, 4 files |
|
May 12, 2022, 09:09 |
|
#2 |
Senior Member
Nico
Join Date: Jan 2022
Location: Germany
Posts: 122
Rep Power: 6 |
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 |
|
Tags |
blockmesh, blockmeshdict, openfoam |
|
|
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 |