CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   PDRFoam solver (https://www.cfd-online.com/Forums/openfoam-solving/103487-pdrfoam-solver.html)

Bombolati June 19, 2012 07:28

PDRFoam solver
 
Hi, I've converted a mesh from .msh to OpenFOAM format. Now, I want to use the PDRFoam solver to do the simulation. I copied all the tutorial PDRFoam folder on the desktop and I put in my mesh. When I run the solver OF asks me to refresh some file, as U p T etc, after it needs of the <<betav>> file in the <<constant>> folder. When I put it in, the error is:

--> FOAM FATAL IO ERROR:
size 8025 is not equal to the given value of 978495

file: /home/francesco/Scrivania/PDRFoam/flamePropagationWithObstacles/constant/betav from line 18 to line 8079.

From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
in file /home/opencfd/OpenFOAM/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/Field.C at line 236.

FOAM exiting

So I opened the file <<betav>> and I modified the number 8025 in 978495. The next error is:

--> FOAM FATAL IO ERROR:
wrong token type - expected Scalar, found on line 8048 the punctuation token ')'

file: /home/francesco/Scrivania/PDRFoam/flamePropagationWithObstacles/constant/betav at line 8048.

From function operator>>(Istream&, Scalar&)
in file lnInclude/Scalar.C at line 91.

FOAM exiting

I don't understand what is wrong and what kind of file is <<betav>>.
Someone could help me please.
Thanks a lot.


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