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

unable to solve problem using SimpleFoam. Error showing in setting boundary condition

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 4, 2018, 13:31
Default unable to solve problem using SimpleFoam. Error showing in setting boundary condition
  #1
New Member
 
Pawan Sharma
Join Date: Dec 2018
Posts: 10
Rep Power: 8
pawansharma is on a distinguished road
hiii i was trying to solve my problem using SimpleFoam. The below attached error is shown,help me out please.


kuldeep@kuldeep-HP-15-TS-Notebook-PC:~/OpenFOAM/kuldeep-6/run/symmetric$ simpleFoam
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Version: 6
\\/ M anipulation |
\*---------------------------------------------------------------------------*/
Build : 6-d3fd147e6c65
Exec : simpleFoam
Date : Dec 04 2018
Time : 22:56:36
Host : "kuldeep-HP-15-TS-Notebook-PC"
PID : 1503
I/O : uncollated
Case : /home/kuldeep/OpenFOAM/kuldeep-6/run/symmetric
nProcs : 1
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster (fileModificationSkew 10)
allowSystemOperations : Allowing user-supplied system call operations

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

Create mesh for time = 0

--> FOAM Warning :
From function entry::getKeyword(keyType&, Istream&)
in file db/dictionary/entry/entryIO.C at line 96
Reading /home/kuldeep/OpenFOAM/kuldeep-6/run/symmetric/constant/polyMesh/boundary
found on line 39 the punctuation token ')'
expected either } or EOF


--> FOAM FATAL IO ERROR:
Expected a ')' or a '}' while reading PtrList, found on line 43 an error

file: /home/kuldeep/OpenFOAM/kuldeep-6/run/symmetric/constant/polyMesh/boundary at line 43.

From function char Foam::Istream::readEndList(const char*)
in file db/IOstreams/IOstreams/Istream.C at line 155.

FOAM exiting

kuldeep@kuldeep-HP-15-TS-Notebook-PC:~/OpenFOAM/kuldeep-6/run/symmetric$

Last edited by pawansharma; December 4, 2018 at 17:21.
pawansharma is offline   Reply With Quote

Old   December 5, 2018, 05:42
Default
  #2
Senior Member
 
anonymous
Join Date: Jan 2016
Posts: 416
Rep Power: 14
simrego is on a distinguished road
Hi!

You have a problem in the boundary file. I think you have modified it and you made a typo.
You missed a } or has an extra ) in your constant/polyMesh/boundary file.
The error tells you the problem exactly:


Code:
Reading /home/kuldeep/OpenFOAM/kuldeep-6/run/symmetric/constant/polyMesh/boundary
    found on line 39 the punctuation token ')'
    expected either } or EOF
Code:
--> FOAM FATAL IO ERROR: 
Expected a ')' or a '}' while reading PtrList, found on line 43 an error

 file: /home/kuldeep/OpenFOAM/kuldeep-6/run/symmetric/constant/polyMesh/boundary at line 43.

So check line 39, and 43.
simrego is offline   Reply With Quote

Old   December 5, 2018, 07:08
Default
  #3
Senior Member
 
Samuele Z
Join Date: Oct 2009
Location: Mozzate - Co - Italy
Posts: 520
Rep Power: 19
samiam1000 is on a distinguished road
If you attach the file, it would be easier to help you.

Samuele
samiam1000 is offline   Reply With Quote

Old   December 19, 2018, 12:49
Default
  #4
New Member
 
Pawan Sharma
Join Date: Dec 2018
Posts: 10
Rep Power: 8
pawansharma is on a distinguished road
Problem has been solved thank you so much!
pawansharma 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
Setting up cyclic boundary condition KateEisenhower OpenFOAM Pre-Processing 6 January 11, 2017 18:17
Wrong flow in ratating domain problem Sanyo CFX 17 August 15, 2015 07:20
Time dependant pressure boundary condition yosuke1984 OpenFOAM Verification & Validation 3 May 6, 2015 07:16
Error finding variable "THERMX" sunilpatil CFX 8 April 26, 2013 08:00
Setting outlet Pressure boundary condition using CAFFA code Mukund Pondkule Main CFD Forum 0 March 16, 2011 04:23


All times are GMT -4. The time now is 19:06.