|
[Sponsors] |
September 22, 2020, 03:55 |
tried
|
#21 |
Member
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 6 |
Hey,
I tried blockMesh command using compressible/sonicFoam/laminar/forwardStep and it worked. /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2006 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : _b45f8f6f58-20200629 OPENFOAM=2006 Arch : "LSB;label=32;scalar=64" Exec : blockMesh Date : Sep 22 2020 Time : 09:51:34 Host : LAPTOP-A0NOGRUJ PID : 604 I/O : uncollated Case : /home/sam/OpenFOAM/OpenFOAM-v2006/tutorials/compressible/sonicFoam/laminar/forwwardStep_1 nProcs : 1 trapFpe: Floating point exception trapping enabled (FOAM_SIGFPE). fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 5, maxFileModificationPolls 20) allowSystemOperations : Allowing user-supplied system call operations // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Creating block mesh from "system/blockMeshDict" Creating block edges No non-planar block faces defined Creating topology blocks Creating topology patches Creating block mesh topology --> FOAM Warning : From Foam:olyMesh:olyMesh(const Foam::IOobject&, Foam:ointField&&, const cellShapeList&, const faceListList&, const wordList&, const Foam::PtrList<Foam::dictionary>&, const Foam::word&, const Foam::word&, bool) in file meshes/polyMesh/polyMeshFromShapeMesh.C at line 915 Found 6 undefined faces in mesh; adding to default patch defaultFaces Check topology Basic statistics Number of internal faces : 2 Number of boundary faces : 14 Number of defined boundary faces : 14 Number of undefined boundary faces : 0 Checking patch -> block consistency Creating block offsets Creating merge list (topological search)... Creating polyMesh from blockMesh Creating patches Creating cells Creating points with scale 1 Block 0 cell size : i : 0.024 .. 0.024 j : 0.02 .. 0.02 k : 0.1 .. 0.1 Block 1 cell size : i : 0.024 .. 0.024 j : 0.02 .. 0.02 k : 0.1 .. 0.1 Block 2 cell size : i : 0.024 .. 0.024 j : 0.02 .. 0.02 k : 0.1 .. 0.1 There are no merge patch pairs Writing polyMesh with 0 cellZones ---------------- Mesh Information ---------------- boundingBox: (0 0 -0.05) (3 1 0.05) nPoints: 10852 nCells: 5250 nFaces: 21175 nInternalFaces: 10325 ---------------- Patches ---------------- patch 0 (start: 10325 size: 50) name: inlet patch 1 (start: 10375 size: 40) name: outlet patch 2 (start: 10415 size: 25) name: bottom patch 3 (start: 10440 size: 125) name: top patch 4 (start: 10565 size: 110) name: obstacle patch 5 (start: 10675 size: 10500) name: defaultFaces End |
|
September 22, 2020, 04:58 |
|
#22 |
Member
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 6 |
Hey.
I copied blockMeshDict from compressible/sonicFoam/laminar/forwardStep/system to wigleyHull/system and tried running blockMesh and it worked. but when I tried to run the blockMeshDict from wigleyHull to (which I posted here) by copying it to forwardStep I got the same error Do anyone have any guess why this might happen?? |
|
September 22, 2020, 17:56 |
|
#23 |
Member
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 6 |
hey everyone,
Thank you for your help. I solved it. the issue was theblockMeshDict didn't have permission to be read. when I changed it it worked. hope this might help someone in future. Best regards vava10 |
|
February 13, 2021, 12:05 |
|
#24 | |
Member
Bushra Rasheed
Join Date: Dec 2020
Posts: 97
Rep Power: 5 |
Quote:
I am getting the same error while making a blockMesh for cylinder ...except that mine says From int main(int, char**) in file findBlockMeshDict.H at line 61. Were you able to find any solution? Edit: Found the solution by adjusting the header Last edited by B_R_Khan; February 13, 2021 at 14:44. |
||
February 13, 2021, 12:08 |
|
#25 |
Member
Bushra Rasheed
Join Date: Dec 2020
Posts: 97
Rep Power: 5 |
Hey!
I am getting the same error while making a blockMesh for cylinder ...except that mine says From int main(int, char**) in file findBlockMeshDict.H at line 61. Were you able to find any solution? |
|
February 14, 2021, 06:19 |
|
#26 |
Member
Deutschland
Join Date: Sep 2020
Posts: 69
Rep Power: 6 |
Hey,
I am really new to OpenFOAM. So I am not exactly sure. I tried to google your error. I could not find anything. I resolved my issue by making sure all the syntax was correct. And I also had an issue with permission for the file. If I make corrections using notepad and then try to run the file in Linux first it wouldn't work. so I had to give permission to the file using chmod +rwx filename Best regards Vava10 |
|
December 1, 2021, 09:47 |
|
#27 |
New Member
Ali Can
Join Date: Apr 2021
Posts: 28
Rep Power: 5 |
Hello sir,
Can you please give more detail about it? What do you mean adjusting the header? I have the same issue :/ |
|
March 12, 2023, 08:10 |
Facing Similar issue
|
#28 |
New Member
US
Join Date: Mar 2023
Posts: 4
Rep Power: 3 |
I am facing a similar error while running the simulation file.
Error: HTML Code:
--> FOAM Warning : From static Foam::IOstreamOption::compressionType Foam::IOstreamOption::compressionEnum(const Foam::word&, Foam::IOstreamOption::compressionType) in file db/IOstreams/IOstreams/IOstreamOption.C at line 115 Unknown compression specifier 'uncompressed', using compression off --> FOAM Warning : From bool Foam::IOobject::readHeader(Foam::Istream&) in file db/IOobject/IOobjectReadHeader.C at line 111 Reading "/home/shruti_g/OpenFOAM/shruti_g-v2012/run/double_pipe_heat_exchanger/system/blockMeshDict" at line 1 First token could not be read or is not the keyword 'FoamFile' Check header is of the form: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class IOobject; location "system"; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // --> FOAM FATAL ERROR: (openfoam-2012) "/home/shruti_g/OpenFOAM/shruti_g-v2012/run/double_pipe_heat_exchanger/system/blockMeshDict" From int main(int, char**) in file findBlockMeshDict.H at line 61. FOAM exiting Can anyone please have a look. |
|
March 26, 2023, 14:56 |
|
#29 |
New Member
Prithvi
Join Date: Mar 2022
Location: Darmstadt
Posts: 6
Rep Power: 4 |
Hi Trojan,
You missed the following lines at the header in the blockMeshDict file: Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * ///*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] blockMesh issue on openfoam6 startup - ubuntu 16.04 | bjdarrer | OpenFOAM Installation | 7 | August 25, 2020 19:15 |
Is Playstation 3 cluster suitable for CFD work | hsieh | OpenFOAM | 9 | August 16, 2015 14:53 |
[blockMesh] External flow around cube with blockMesh | Woody8 | OpenFOAM Meshing & Mesh Conversion | 0 | March 31, 2015 14:54 |
[blockMesh] set of xyz data in blockMesh | psk | OpenFOAM Meshing & Mesh Conversion | 12 | August 27, 2013 08:37 |
Blockmesh cavity error message | tonitoney | OpenFOAM Installation | 2 | March 17, 2008 11:59 |