CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Setting a Default divSchemes scheme fails (https://www.cfd-online.com/Forums/openfoam-pre-processing/105522-setting-default-divschemes-scheme-fails.html)

iamed18 August 1, 2012 17:52

Setting a Default divSchemes scheme fails
 
I've noticed that I'm only using "Gauss upwind" in my fvSchemes::divSchemes dictionary, so instead of listing all the exact operations, I figured I would just change the default like so:

Code:

divSchemes
{
      default Gauss upwind;
}

However, I get this error at runtime:

Code:

Starting time loop

Time = 1



--> FOAM FATAL IO ERROR:
attempt to read beyond EOF

file: /home/leonard/OpenFOAM/sgr/testing/makeCase.20120801.174158/system/fvSchemes::divSchemes::default at line 4.

    From function ITstream::read(token&)
    in file db/IOstreams/Tstreams/ITstream.C at line 83.

FOAM exiting

Any thoughts on how to fix this?

wyldckat August 2, 2012 15:31

Hi Edward,

I saw that you got an answer in your bug report: http://www.openfoam.org/mantisbt/view.php?id=611 :D

Best regards,
Bruno


All times are GMT -4. The time now is 09:59.