CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

"wrong token type - expected Scalar, found on line - the punctuation token '('"

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 16, 2016, 05:58
Smile "wrong token type - expected Scalar, found on line - the punctuation token '('"
  #1
Member
 
JIN WEIGUO
Join Date: Sep 2016
Posts: 35
Rep Power: 9
Mark JIN is on a distinguished road
Quote:
Originally Posted by Tobi View Post
Hi,

I can not help you with the ICEM import (I did it only for simple 2D cases during my study time) but for 6 years now, I am using snappyHexMesh for everything. See the wiki site, the openfoam tutorials or check out my website. The next two tutorials that I will publish are:

  • Sphere, Diffusor combustion chamber
  • Jet-Engine Turbine

Hi Tobi,

Thanks for your reply, I saw your comment on other people's openfoam video on youtube. Could you help me check with my error as shown below? Is it naming problem in 'pressure' file?



markjin@markjin-VirtualBox:~/OpenFOAM/markjin-4.0/run/Case2$ icoFoam
/*---------------------------------------------------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
Build : 4.0-665f1db4c1f1
Exec : icoFoam
Date : Sep 16 2016
Time : 19:35:06
Host : "markjin-VirtualBox"
PID : 4880
Case : /home/markjin/OpenFOAM/markjin-4.0/run/Case2
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0


PISO: Operating solver in PISO mode

Reading transportProperties

Reading field p



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

file: /home/markjin/OpenFOAM/markjin-4.0/run/Case2/0/p.internalField at line 19.

From function Foam::Istream& Foam:perator>>(Foam::Istream&, Foam::doubleScalar&)
in file lnInclude/Scalar.C at line 93.

FOAM exiting
Mark JIN is offline   Reply With Quote

Old   September 16, 2016, 06:01
Default
  #2
Super Moderator
 
Tobi's Avatar
 
Tobias Holzmann
Join Date: Oct 2010
Location: Tussenhausen
Posts: 2,708
Blog Entries: 6
Rep Power: 51
Tobi has a spectacular aura aboutTobi has a spectacular aura aboutTobi has a spectacular aura about
Send a message via ICQ to Tobi Send a message via Skype™ to Tobi
Hi,

I will report your last replay to be wrong in that thread. The admin will make a new thread then. Please keep clearance in that forum. The question you have is not related to the thread and therefore I will not replay in detail but the error tells you that you did something wrong in the p file. Finally, it is always necessary to ask yourself, if the question you asked has enough information. Here, it would be good to have you p file, that we can check and tell you what you did wrong. One hint more. The forum offers code tags. Please use it for formating your text.
__________________
Keep foaming,
Tobias Holzmann
Tobi is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
whats the cause of error? immortality OpenFOAM Running, Solving & CFD 13 March 24, 2021 07:15
Error during initialization of "rhoSimpleFoam" kornickel OpenFOAM Running, Solving & CFD 8 September 17, 2013 05:37
Pressure instability with rhoSimpleFoam daniel_mills OpenFOAM Running, Solving & CFD 44 February 17, 2011 17:08
Regarding FoamX running Kindly help out hariya03 OpenFOAM Pre-Processing 0 April 18, 2008 04:26
Problem with rhoSimpleFoam matteo_gautero OpenFOAM Running, Solving & CFD 0 February 28, 2008 06:51


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