CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

FOAM FATAL IO ERROR: attempt to read beyond EOF

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 21, 2024, 07:49
Post FOAM FATAL IO ERROR: attempt to read beyond EOF
  #1
New Member
 
Yinghao Zhou
Join Date: Jun 2024
Location: China
Posts: 3
Rep Power: 2
Yinghao Zhou is on a distinguished road
I tried to set laplacianSchemes to Gauss linear quadraticFit to get higher accuracy, but the following error was reported:
Code:
 FOAM FATAL IO ERROR: 
-->attempt to read beyond EOF

file: /home/guest/OpenFOAM/OpenFOAM-6/tutorials/SOFC/zyh/FGM_porosity/0.02Vtest/system/Ni/fvSchemes.laplacianSchemes.default at line 47.

    From function virtual Foam::Istream& Foam::ITstream::read(Foam::token&)
    in file db/IOstreams/Tstreams/ITstream.C at line 82.

FOAM exiting
The relevant fvSchemes are set as follows:
Code:
laplacianSchemes
{
    default         Gauss linear quadraticFit;
}

interpolationSchemes
{
    default         quadraticFit;
}

snGradSchemes
{
    default         uncorrected;
}
Yinghao Zhou is offline   Reply With Quote

Old   June 27, 2024, 08:19
Default
  #2
New Member
 
talop
Join Date: Feb 2023
Posts: 6
Rep Power: 3
talop is on a distinguished road
Hi,

The error means that the laplacianSchemes sub-dictionary does not accept "Gauss linear quadraticFit" as a valid scheme. Try writing a random word (e.g. type banana to see the list of accepted keywords.

Best
talop is offline   Reply With Quote

Old   July 1, 2024, 04:29
Default
  #3
New Member
 
Yinghao Zhou
Join Date: Jun 2024
Location: China
Posts: 3
Rep Power: 2
Yinghao Zhou is on a distinguished road
Quote:
Originally Posted by talop View Post
Hi,

The error means that the laplacianSchemes sub-dictionary does not accept "Gauss linear quadraticFit" as a valid scheme. Try writing a random word (e.g. type banana to see the list of accepted keywords.

Best
OK,Thank you!
Yinghao Zhou is offline   Reply With Quote

Reply


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
[Salome] Salome import "Cannot find file "points" in directory..." mismichael OpenFOAM Meshing & Mesh Conversion 6 June 24, 2024 03:17
FOAM FATAL IO ERROR attempt to read beyond EOF unoder OpenFOAM Running, Solving & CFD 10 April 16, 2024 03:03
FOAM FATAL IO ERROR: attempt to read beyond EOF HeloïseM OpenFOAM 1 February 26, 2023 10:14
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51
[blockMesh] Axisymmetrical mesh Rasmus Gjesing (Gjesing) OpenFOAM Meshing & Mesh Conversion 10 April 2, 2007 14:00


All times are GMT -4. The time now is 22:05.