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/)
-   -   KinematicLookupTableInjection (http://www.cfd-online.com/Forums/openfoam-solving/102164-kinematiclookuptableinjection.html)

Kojote May 24, 2012 03:29

KinematicLookupTableInjection
 
Hi

I want to setup a case with a KinematicLookupTableInjection of lagrangian particle.
But if i want to start i get the following output:

--> FOAM FATAL IO ERROR:
problem while reading header for object inject.dat

my inject.dat file looks like this

(
(0 0.01 0) (0 0 0) 1 1 1
(0 -0.01 0) (0 0 0) 1 10000 0.0001
);


Christian

dima May 24, 2012 03:38

Hi,
i think this "header" have to be on top of your injection file

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 2.0.0 |
| \\ / A nd | Web: www.OpenFOAM.com |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "constant";
object scalarListList;
}


hope that was it


Dima

Kojote May 24, 2012 03:41

:-)

many thanks


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