CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM

dnsFoam boxturb16

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 28, 2010, 14:15
Default dnsFoam boxturb16
  #1
Member
 
Tony
Join Date: Jun 2010
Posts: 54
Rep Power: 7
tonyuprm is on a distinguished road
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
tonyuprm is offline   Reply With Quote

Reply

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Heat Transfer possibility with DnsFoam ? NorbertB OpenFOAM 6 July 7, 2010 08:39
bug in dnsFOAM cfdmarkus OpenFOAM Bugs 1 January 29, 2010 06:01
dnsFoam feijooos OpenFOAM 6 January 28, 2010 12:24
dnsFoam cfdmarkus OpenFOAM Running, Solving & CFD 0 July 15, 2009 06:26
Is dnsFoam can run in parallel mamaly60 OpenFOAM Running, Solving & CFD 0 October 29, 2007 19:27


All times are GMT -4. The time now is 03:43.