|
[Sponsors] |
January 28, 2018, 20:50 |
OF+/v1712 incorrect first token
|
#1 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 |
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:perator>>(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 |
|
January 29, 2018, 01:28 |
|
#2 |
Senior Member
Uwe Pilz
Join Date: Feb 2017
Location: Leipzig, Germany
Posts: 744
Rep Power: 15 |
Please give at least line 8 of 0/U.
__________________
Uwe Pilz -- Die der Hauptbewegung überlagerte Schwankungsbewegung ist in ihren Einzelheiten so hoffnungslos kompliziert, daß ihre theoretische Berechnung aussichtslos erscheint. (Hermann Schlichting, 1950) |
|
January 29, 2018, 01:34 |
|
#3 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 |
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 |
|
January 30, 2018, 01:00 |
|
#4 | |
New Member
Yuncheng Xu (Cloud)
Join Date: May 2011
Location: State College, PA
Posts: 20
Rep Power: 15 |
Quote:
check this https://github.com/OpenFOAM/OpenFOAM...Data/inlet/0/U |
||
January 30, 2018, 05:16 |
|
#5 |
Member
Robert Ong
Join Date: Aug 2010
Posts: 86
Rep Power: 16 |
Thanks. The issue is resolved.
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem About Running Fluent In Linux | mitra | FLUENT | 18 | June 20, 2019 03:11 |
problem during mpi in server: expected Scalar, found on line 0 the word 'nan' | muth | OpenFOAM Running, Solving & CFD | 3 | August 27, 2018 05:18 |
Field Mapper- Mesh refinment | mm.abdollahzadeh | OpenFOAM Programming & Development | 2 | January 24, 2013 10:18 |
wmake compiling Problem with OF1.5 | openTom | OpenFOAM Installation | 4 | May 3, 2009 15:44 |
Compiling problems with hello worldC | fw407 | OpenFOAM Installation | 21 | January 6, 2008 18:38 |