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

simpleFoam error while running the simulation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 12, 2015, 13:58
Angry simpleFoam error while running the simulation
  #1
New Member
 
Honey
Join Date: Jun 2015
Posts: 9
Rep Power: 10
ansab is on a distinguished road
Hey guys I am new to OpenFoam,

As for my project , I have to simulate an external flow around an airfoil. I did all the steps and successfully create the mesh using snappyHexMesh. I intend to use K-Epsilon model and setup the files according to it. But when I am running simpleFoam command, I am getting this error.

Build : 2.3.1-bcfaaa7b8660
Exec : simpleFoam
Date : Aug 12 2015
Time : 19:36:36
Host : "ka-pc5l"
PID : 9605
Case : /home/kalabor/tutorials/mesh/snappyHexMesh/goe532-airfoil-testsimulation
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

Reading field p



--> FOAM FATAL IO ERROR:
cannot find file

file: /home/kalabor/tutorials/mesh/snappyHexMesh/goe532-airfoil-testsimulation/0/p at line 0.

From function regIOobject::readStream()
in file db/regIOobject/regIOobjectRead.C at line 73.


I am stuck here for 2 weeks now. Please help me. Thanks in advance.

Ansab
ansab is offline   Reply With Quote

Old   August 12, 2015, 14:04
Default
  #2
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12
ssss is on a distinguished road
Seriously? Two weeks? The error tells you exactly what is failing, there is no p file in the 0 folder.

Go to the tutorials/incompressible/simpleFoam and look how the test case is configured
ssss is offline   Reply With Quote

Old   August 12, 2015, 17:09
Default
  #3
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
@ansab: Quick suggestion: Study chapter 2 of the OpenFOAM User Guide: http://cfd.direct/openfoam/user-guide/tutorials/ - because the reported problem is first explained in subsection "2.1.1.2 Boundary and initial conditions"
wyldckat is offline   Reply With Quote

Old   August 13, 2015, 02:51
Default
  #4
New Member
 
Honey
Join Date: Jun 2015
Posts: 9
Rep Power: 10
ansab is on a distinguished road
Dear ssss, the problem is that I do have p file in 0 folder along with all the necessary files required to run the simulation
ansab is offline   Reply With Quote

Old   August 13, 2015, 03:35
Default
  #5
Senior Member
 
anonymous
Join Date: Aug 2014
Posts: 205
Rep Power: 12
ssss is on a distinguished road
Okey then upload the case and I will have a look at it (don't upload the polymesh folder because I imagine that it will weight a lot)
ssss is offline   Reply With Quote

Old   August 13, 2015, 06:46
Default
  #6
New Member
 
Honey
Join Date: Jun 2015
Posts: 9
Rep Power: 10
ansab is on a distinguished road
Dear ssss, thanks for the reply but I am now successful in running the simulation. The problem as suggested by Bruno, was in the BOUNDARY FIELDS in P, U, K ,Epsilon and Nut files.
ansab 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
Crashed user libraries due to compiling them while running a simulation juhuettn OpenFOAM Programming & Development 1 June 3, 2015 09:22
Having problems running transient fluent simulation in batch mode obylong FLUENT 1 August 14, 2014 23:58
SimpleFoam convergence problem with really simple simulation mayank.dce2k7 OpenFOAM Running, Solving & CFD 2 November 19, 2013 05:28
Replacing mesh while running a simulation akultane CFX 1 November 15, 2009 13:46
What do you CFD guys do during a long simulation running? bearcat Main CFD Forum 5 July 23, 2009 08:08


All times are GMT -4. The time now is 04:46.