|
[Sponsors] |
December 13, 2023, 07:25 |
Foam fatal error
|
#1 |
New Member
Manoj
Join Date: Nov 2023
Posts: 6
Rep Power: 2 |
I am getting this error while executing blockMesh for elbow tutorial. For some tutorials this error pops up and i dont know why..
Code:
manoj@manoj-HP-Laptop-15s-fr2xxx:~/OpenFOAM/manoj-10/run/elbow$ blockMesh /*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2306 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : _fbf00d6b-20230626 OPENFOAM=2306 version=2306 Arch : "LSB;label=32;scalar=64" Exec : blockMesh Date : Dec 13 2023 Time : 17:46:57 Host : manoj-HP-Laptop-15s-fr2xxx PID : 6727 I/O : uncollated Case : /home/manoj/OpenFOAM/manoj-10/run/elbow 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 --> FOAM Warning : From bool Foam::IOobject::readHeader(Foam::dictionary&, Foam::Istream&) in file db/IOobject/IOobjectReadHeader.C at line 116 Reading "system/blockMeshDict" at line 1 First token could not be read or is not 'FoamFile' Check header is of the form: /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2306 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; arch "LSB;label=32;scalar=64"; class IOobject; location "system"; object blockMeshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // --> FOAM FATAL ERROR: (openfoam-2306) "/home/manoj/OpenFOAM/manoj-10/run/elbow/system/blockMeshDict" From int main(int, char**) in file findBlockMeshDict.H at line 81. FOAM exiting I am attaching the file |
|
December 19, 2023, 03:12 |
|
#2 |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
I think you might need to check the file permissions (ie, you have read permissions) of the directory and file. Probably not an issue, but also check if you have regular newline line endings (if you've moved the file from an other operating system).
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM] ParaView command in Foam-extend-4.1 | mitu_94 | ParaView | 0 | March 4, 2021 13:46 |
Mesquite - Adaptive mesh refinement / coarsening? | philippose | OpenFOAM Running, Solving & CFD | 94 | January 27, 2016 09:40 |
Compiling dynamicTopoFvMesh for OpenFOAM 2.1.x | Saxwax | OpenFOAM Installation | 25 | November 29, 2013 05:34 |
checking the system setup and Qt version | vivek070176 | OpenFOAM Installation | 22 | June 1, 2010 12:34 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |