CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Problem with channeloodles and foamToVTK (http://www.cfd-online.com/Forums/openfoam-solving/58402-problem-channeloodles-foamtovtk.html)

farbfilm October 31, 2008 06:28

Hi, I tried to simulate a p
 
Hi,

I tried to simulate a pipeflow with the channeloodles-solver! Everything works fine!
Afterwards I tried to use foamToVTK and get the following message:

...

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

volScalarFields : pPrime2Mean p pMean
volVectorFields : U U_0 UMean
volSymmTensorFields : UPrime2Mean

Internal : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/OwnMesh_0_99.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/inout1/inout1_99.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/inout2/inout2_99.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/inout3/inout3_99.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/walls/walls_99.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/symmetry/symmetry_99.vtk"
Time 9.9
--> FOAM Serious Error :
From function IOobject::readHeader(Istream&)
in file db/IOobject/IOobjectReadHeader.C at line 93
Reading "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /9.9/gradP.raw" 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.5 |
| \ / A nd | Web: http://www.OpenFOAM.org |
| \/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class IOobject;
location "9.9";
object gradP.raw;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

volScalarFields : pPrime2Mean p pMean
volVectorFields : U U_0 UMean
volSymmTensorFields : UPrime2Mean

Internal : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/OwnMesh_0_100.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/inout1/inout1_100.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/inout2/inout2_100.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/inout3/inout3_100.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/walls/walls_100.vtk"
Patch : "/home/magnum/stur_mi/OpenFOAM/Version-1.5/run/tutorials/channelOodles/OwnMesh_0 /VTK/symmetry/symmetry_100.vtk"
Time 10
--> FOAM Serious Error :

Too many errors#0 Foam::error::printStack(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#1 Foam::error::abort() in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#2 Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream& Foam::operator<<>(Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifstream&, Foam::errorManip<foam::error>) in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/foamToVTK"
#3 Foam::messageStream::operator Foam:http://www.cfd-online.com/OpenFOAM_D...part/proud.gifSstream&() in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#4 Foam::messageStream::operator()(char const*, char const*, int, Foam::string const&, int, int) in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#5 Foam::messageStream::operator()(char const*, char const*, int, Foam::IOstream const&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#6 Foam::IOobject::readHeader(Foam::Istream&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#7 Foam::IOobject::headerOk() in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#8 Foam::IOobjectList::IOobjectList(Foam::objectRegis try const&, Foam::fileName const&, Foam::fileName const&) in "/home/fs/OpenFOAM/OpenFOAM-1.5/lib/linux64GccDPOpt/libOpenFOAM.so"
#9 main in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/foamToVTK"
#10 __libc_start_main in "/lib64/libc.so.6"
#11 __gxx_personality_v0 in "/home/fs/OpenFOAM/OpenFOAM-1.5/applications/bin/linux64GccDPOpt/foamToVTK"


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

FOAM aborting

Does anybody have some hints how to solve this problem???

Thanks, Michael


All times are GMT -4. The time now is 17:14.