|
[Sponsors] |
FOAM FATAL IO ERROR: Bad token - could not get scalar value file: 0/alpha.water |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
April 3, 2023, 14:42 |
FOAM FATAL IO ERROR: Bad token - could not get scalar value file: 0/alpha.water
|
#1 |
New Member
Shuvashish Roy
Join Date: Mar 2023
Posts: 6
Rep Power: 3 |
Hi,
I am an absolute begineer in OF. I am trying to run a simulation of simple intake struture with culvert. However, when I run the following command: Code:
mpiexec -n 20 setFields |tee setfields.out Code:
...... --> FOAM FATAL IO ERROR: (openfoam- --> FOAM FATAL IO ERROR: 2206 --> FOAM FATAL IO ERROR: (openfoam- --> FOAM FATAL IO ERROR: ) (openfoam- 2206 (openfoam- 2206 ) 2206 Bad token - could not get scalar value ) file: file: 0/alpha.water 0/alpha.water at line at line 1616910 1675675 . . From From Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&) Foam::Istream& Foam::operator>>(Foam::Istream&, Foam::doubleScalar&) ..... Code:
mpiexec -n 20 interFoam -parallel |tee interfoam.out Last edited by sroy; April 4, 2023 at 16:15. |
|
April 5, 2023, 12:47 |
SetFields is serial only
|
#2 |
New Member
Join Date: Jun 2019
Location: United States
Posts: 15
Rep Power: 7 |
Roy,
The setFields utility cannot be run on multiple processors. If you run on a single processor this should work fine. |
|
April 5, 2023, 12:56 |
|
#3 |
New Member
Shuvashish Roy
Join Date: Mar 2023
Posts: 6
Rep Power: 3 |
Ryan, I can't thank you enough for your help with my openFOAM problems.
|
|
Tags |
alpha.water, fatal io error, setfields |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[openSmoke] LaminarSMOKE compilation error | mdhfiz | OpenFOAM Community Contributions | 8 | July 2, 2024 10:32 |
[foam-extend.org] Problems installing foam-extend-4.0 on openSUSE 42.2 and Ubuntu 16.04 | ordinary | OpenFOAM Installation | 19 | September 3, 2019 18:13 |
[swak4Foam] build problem swak4Foam OF 2.2.0 | mcathela | OpenFOAM Community Contributions | 14 | April 23, 2013 13:59 |
Version 15 on Mac OS X | gschaider | OpenFOAM Installation | 113 | December 2, 2009 10:23 |
error while compiling the USER Sub routine | CFD user | CFX | 3 | November 25, 2002 15:16 |