CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   dnsFoam boxturb16 (https://www.cfd-online.com/Forums/openfoam/80517-dnsfoam-boxturb16.html)

tonyuprm September 28, 2010 14:15

dnsFoam boxturb16
 
Hi,

I am trying to run a simulation of a flat channel with periodic boundary conditions streamwise and spanwise. I modified the dnsFoam tutorial case with the respective boundary conditions. I am able to run the case but I get an error when running "foamToVTK":

within every time:

Code:

--> FOAM Serious Error :
    From function IOobject::readHeader(Istream&)
    in file db/IOobject/IOobjectReadHeader.C at line 89
    Reading "/home/tony/OpenFOAM/tony-1.7.1/run/cases/dnsFoam/boxTurb16/23.75/Ek.xy" 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:  1.7.1                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.com                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version    2.0;
    format      ascii;
    class      IOobject;
    location    "23.75";
    object      Ek.xy;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

    volScalarFields            : p enstrophy
    volVectorFields            : U

    Internal  : "/home/tony/OpenFOAM/tony-1.7.1/run/cases/dnsFoam/boxTurb16/VTK/boxTurb16_950.vtk"
    Patch    : "/home/tony/OpenFOAM/tony-1.7.1/run/cases/dnsFoam/boxTurb16/VTK/spanWise/spanWise_950.vtk"
    Patch    : "/home/tony/OpenFOAM/tony-1.7.1/run/cases/dnsFoam/boxTurb16/VTK/streamWise/streamWise_950.vtk"
    Patch    : "/home/tony/OpenFOAM/tony-1.7.1/run/cases/dnsFoam/boxTurb16/VTK/fixedWalls/fixedWalls_950.vtk"

At some point it stops and delivers this message:

Code:

--> FOAM FATAL ERROR:
Too many errors

    From function messageStream::operator OSstream&()
    in file lnInclude/messageStream.C at line 200.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#1  Foam::error::abort() in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#2  Foam::messageStream::operator Foam::OSstream&() in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#3  Foam::messageStream::operator()(char const*, char const*, int, Foam::string const&, int, int) in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#4  Foam::messageStream::operator()(char const*, char const*, int, Foam::IOstream const&) in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#5  Foam::IOobject::readHeader(Foam::Istream&) in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#6  Foam::IOobject::headerOk() in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#7  Foam::IOobjectList::IOobjectList(Foam::objectRegistry const&, Foam::fileName const&, Foam::fileName const&) in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/lib/linux64GccDPOpt/libOpenFOAM.so"
#8 
 in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/foamToVTK"
#9  __libc_start_main in "/lib64/libc.so.6"
#10 
 in "/home/tony/OpenFOAM/OpenFOAM-1.7.1/applications/bin/linux64GccDPOpt/foamToVTK"
Aborted (core dumped)

I dont know if this is because I should modify the E.q and E.xy files in some other way or if I'm making any other rookie mistakes. Thanks in advance!

Tony


All times are GMT -4. The time now is 11:55.