OF+/v1712 incorrect first token
Hi,
I am using OF+/v1712, and the error is related with using the timeVaryingMappedFixedValue which looks up for inputs in the constant/boundaryData. When I run decomposePar, I am getting this error: --> FOAM FATAL IO ERROR: incorrect first token, expected <int> or '(', found on line 8: word 'FoamFile' file: /scratch/RDS-FEI-Bushfire-RW/silsoe_validation/komegasstiddes_mesh1/constant/boundaryData/inlet/0/U at line 8. From function Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::List<T>&) [with T = Foam::Vector<double>] in file /usr/local/openfoam/v1712/OpenFOAM-v1712/src/OpenFOAM/lnInclude/ListIO.C at line 152. FOAM exiting I don't have the same error using the older or other OpenFOAM.org versions. Please help if you know the workaround. Thanks and regards, Robert |
Please give at least line 8 of 0/U.
|
Hi Uwe,
It's a standard FOAM header. Line #8 is the word FoamFile. /*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class vectorAverageField; location "constant/boundaryData/inlet/0.1"; object U; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Thanks Robert |
Quote:
check this https://github.com/OpenFOAM/OpenFOAM...Data/inlet/0/U |
Thanks. The issue is resolved.
|
All times are GMT -4. The time now is 05:55. |