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

SimpleFoam cannot open include file

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   August 31, 2018, 06:46
Default SimpleFoam cannot open include file
  #1
New Member
 
Marie
Join Date: Aug 2018
Posts: 1
Rep Power: 0
Marija is on a distinguished road
Hi !
I'm running a simulation on wind going on a cylinder. I did it before and it worked. But now I'm trying to automate these kind of simulation but when running simpleFoam the log file report an error :
Code:
/*---------------------------------------------------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  4.x                                   |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
/*   Windows 32 and 64 bit porting by blueCAPE: http://www.bluecape.com.pt   *\
|  Based on Windows porting (2.0.x v4) by Symscape: http://www.symscape.com   |
\*---------------------------------------------------------------------------*/
Build  : 4.x-ac34cdb2053d
Exec   : simpleFoam -parallel
Date   : Aug 31 2018
Time   : 10:55:37
Host   : "GRANDET_B_4"
PID    : 10852
Case   : E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST
nProcs : 16
Slaves : 
15
(
"GRANDET_B_4.19300"
"GRANDET_B_4.21212"
"GRANDET_B_4.20444"
"GRANDET_B_4.11536"
"GRANDET_B_4.13780"
"GRANDET_B_4.17976"
"GRANDET_B_4.18700"
"GRANDET_B_4.21808"
"GRANDET_B_4.22052"
"GRANDET_B_4.16716"
"GRANDET_B_4.22152"
"GRANDET_B_4.18528"
"GRANDET_B_4.21752"
"GRANDET_B_4.20420"
"GRANDET_B_4.19492"
)

Pstream initialized with:
    floatTransfer      : 0
    nProcsSimpleSum    : 0
    commsType          : nonBlocking
    polling iterations : 0
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


SIMPLE: convergence criteria
    field p	 tolerance 0.001
    field U	 tolerance 0.0001
    field "(k|epsilon)"	 tolerance 0.0001

Reading field p

Reading field U

[3] 
[0] 


[10] 
[3] 
[0] 
[1] 
[8] 



[6] 
[13] 

[14] 
[12] 

[10] 
[3] 
[0] 
[11] 

[2] 

[1] 


[8] 

[5] 
--> FOAM FATAL IO ERROR: 
--> FOAM FATAL IO ERROR: 

[6] 

[13] 

[14] 
[12] 

[10] 
[7] 



[11] 

[2] 

[1] 


[8] 
--> FOAM FATAL IO ERROR: 

[5] 
[3] 
[0] 

[6] 
[4] 

[13] 
--> FOAM FATAL IO ERROR: 
[14] 
[12] 
--> FOAM FATAL IO ERROR: 

[7] 

Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor3/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor3/0/U.boundaryField.ORInlet"
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor0/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor0/0/U.boundaryField.ORInlet"
[11] 
--> FOAM FATAL IO ERROR: 

[2] 
--> FOAM FATAL IO ERROR: 

[9] 
--> FOAM FATAL IO ERROR: 
--> FOAM FATAL IO ERROR: 

[10] 

[5] 


--> FOAM FATAL IO ERROR: 

[4] 
--> FOAM FATAL IO ERROR: 

[1] 



[8] 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor10/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor10/0/U.boundaryField.ORInlet"
[7] 
--> FOAM FATAL IO ERROR: 
[3] 
[0] 
[15] 

[6] 


[13] 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor1/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor1/0/U.boundaryField.ORInlet"
[9] 
[14] 
[12] 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor8/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor8/0/U.boundaryField.ORInlet"

--> FOAM FATAL IO ERROR: 




[11] 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor6/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor6/0/U.boundaryField.ORInlet"
[4] 
[2] 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor13/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor13/0/U.boundaryField.ORInlet"


Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor14/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor14/0/U.boundaryField.ORInlet"
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor12/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor12/0/U.boundaryField.ORInlet"

[10] 

[5] 
[3] 
[0] 
[15] 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor11/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor11/0/U.boundaryField.ORInlet"

--> FOAM FATAL IO ERROR: 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor2/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor2/0/U.boundaryField.ORInlet"

[1] 
[9] 


[8] 

[7] 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor5/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor5/0/U.boundaryField.ORInlet"
file: 
file: 


[6] 


[13] 

--> FOAM FATAL IO ERROR: 
[14] 
[12] 

[10] 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor7/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor7/0/U.boundaryField.ORInlet"

E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor3/0/includeIC/ABLConditions
E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor0/0/includeIC/ABLConditions
[15] 
[11] 

[4] 
[2] 

[1] 



[8] 
file: 

[5] 
 at line 
 at line 
--> FOAM FATAL IO ERROR: 

[6] 
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor4/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor4/0/U.boundaryField.ORInlet"

[13] 
file: 
[9] 
[14] 
[12] 
file: 
E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor10/0/includeIC/ABLConditions
[7] 

8
8

[11] 
file: 

[2] 
file: 
E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor1/0/includeIC/ABLConditions
Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor9/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor9/0/U.boundaryField.ORInlet"
file: 
file: 
E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor8/0/includeIC/ABLConditions
 at line 

[5] 
.
.
[15] 
file: 
E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor6/0/includeIC/ABLConditions
[4] 
file: 
E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor13/0/includeIC/ABLConditions
 at line 

E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor14/0/includeIC/ABLConditions
E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor12/0/includeIC/ABLConditions
 at line 
8
[7] 
file: 


Cannot open include file "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor15/0/includeIC/includeCal/py" while reading dictionary "E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor15/0/U.boundaryField.ORInlet"
E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor11/0/includeIC/ABLConditions
 at line 

E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor2/0/includeIC/ABLConditions
 at line 
8
[9] 
 at line 
 at line 
8
.
file: 
E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor5/0/includeIC/ABLConditions
[3] 
[0] 

 at line 
8
[4] 
 at line 
8
.

8
8
.

E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor7/0/includeIC/ABLConditions
 at line 


[15] 
8
.
file: 
8
.

[9] 
.
.

[10] 
 at line 
8
[3] 
[0] 

.

E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor4/0/includeIC/ABLConditions
.

[1] 
file: 


[8] 

8
.
    From function 
    From function 
[15] 

[6] 
 at line 

[13] 

E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor9/0/includeIC/ABLConditions
[14] 
[12] 

[10] 
.

static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
file: 
[11] 

8
[2] 

[1] 
 at line 


[8] 
    From function 

[5] 


E:/RSA_IN~1/BLUECF~1/ofuser-of4/run/TEST/processor15/0/includeIC/ABLConditions

[6] 
.

[13] 
    From function 
8
[14] 
[12] 
    From function 
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
[7] 

[3] 
[0] 
 at line 
[11] 
    From function 

[2] 
    From function 
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
.
    From function 
    From function 
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)


[5] 
    in file 
    in file 
8
    From function 
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
[4] 
    From function 
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)


static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)

[10] 
[7] 
    From function 
db/dictionary/functionEntries/includeEntry/includeEntry.C
db/dictionary/functionEntries/includeEntry/includeEntry.C
.
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)


static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)

[1] 
[9] 


[8] 
    in file 
    From function 
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
 at line 
 at line 


[6] 
[4] 

[13] 
    in file 

[14] 
[12] 
    in file 
db/dictionary/functionEntries/includeEntry/includeEntry.C
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)

146
146
[15] 
[11] 
    in file 
    From function 
[2] 
    in file 
db/dictionary/functionEntries/includeEntry/includeEntry.C
[9] 
    in file 
    in file 
db/dictionary/functionEntries/includeEntry/includeEntry.C
 at line 

[5] 
.
.

    in file 
db/dictionary/functionEntries/includeEntry/includeEntry.C
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
    in file 
db/dictionary/functionEntries/includeEntry/includeEntry.C
 at line 
    From function 
db/dictionary/functionEntries/includeEntry/includeEntry.C
db/dictionary/functionEntries/includeEntry/includeEntry.C
 at line 
146
[7] 
    in file 


[15] 
db/dictionary/functionEntries/includeEntry/includeEntry.C
 at line 

db/dictionary/functionEntries/includeEntry/includeEntry.C
 at line 
146
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
 at line 
 at line 
146
.
    in file 
db/dictionary/functionEntries/includeEntry/includeEntry.C
[3] 
[0] 
    From function 
 at line 
146
[4] 
 at line 
146
.

146
146
.

db/dictionary/functionEntries/includeEntry/includeEntry.C
 at line 

FOAM parallel run exiting

FOAM parallel run exiting
static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
146
.
    in file 
146
.

[9] 
.
.

[10] 
 at line 
146
[3] 
[0] 

.

db/dictionary/functionEntries/includeEntry/includeEntry.C
.

[1] 
    in file 


[8] 

FOAM parallel run exiting
146
.


[15] 

[6] 
 at line 

[13] 

FOAM parallel run exiting
db/dictionary/functionEntries/includeEntry/includeEntry.C
[14] 
[12] 

FOAM parallel run exiting
[10] 
.

    in file 
[11] 

FOAM parallel run exiting
146
[2] 

FOAM parallel run exiting
[1] 
 at line 

FOAM parallel run exiting

FOAM parallel run exiting
[8] 


[5] 
db/dictionary/functionEntries/includeEntry/includeEntry.C

FOAM parallel run exiting
[6] 
.

FOAM parallel run exiting
[13] 

146
[14] 
[12] 

[7] 

FOAM parallel run exiting
 at line 
[11] 


[2] 

.



FOAM parallel run exiting
[5] 
146

[4] 


[7] 

.

FOAM parallel run exiting
[9] 


[4] 

FOAM parallel run exiting
[15] 

[9] 

FOAM parallel run exiting

[15] 

job aborted:
[ranks] message

[0] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 0

[1] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 1

[2] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 2

[3] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 3

[4] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 4

[5] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 5

[6] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 6

[7] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 7

[8] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 8

[9] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 9

[10] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 10

[11] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 11

[12] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 12

[13] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 13

[14] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 14

[15] application aborted
aborting MPI_COMM_WORLD (comm=0x44000000), error 1, comm rank 15

---- error analysis -----

[0-15] on GRANDET_B_4
simpleFoam aborted the job. abort code 1

---- error analysis -----
I'm running simple foam in parallel. At first I thought it was just a problem of missing coma or something like that but I didn't find anything different from my working simulation and I don't quite understand the error.

Is there anyone understanding it and knowing what I did wrong ?

Marie
Marija is offline   Reply With Quote

Old   October 28, 2020, 11:35
Default Maybe it's just a typo
  #2
New Member
 
Harald Radlwimmer
Join Date: Sep 2020
Location: Vienna, Austria
Posts: 5
Rep Power: 6
Harald is on a distinguished road
Hello Marie,

This answer definitely comes too late for you, but hopefully helps others.

Today I had a similar issue with my case. decomposeParDict issued the following warning:
Code:
--> FOAM FATAL IO ERROR:
Cannot open include file "/home/openfoam/run/myCase/constant/initalConditions" while reading dictionary "/home/openfoam/run/myCase/0/k"

file: /home/openfoam/run/myCase/0/k at line 18.

    From function static bool Foam::functionEntries::includeEntry::execute(Foam::dictionary&, Foam::Istream&)
    in file db/dictionary/functionEntries/includeEntry/includeEntry.C at line 169.

FOAM exiting
After a while I realized that it was only a typo that caused the error. I used
Code:
#include "$FOAM_CASE/constant/initalConditions"
in my 0/k file and did not realize that I had misspelled "initial". Fixing the typo solved the problem for me:
Code:
#include "$FOAM_CASE/constant/initialConditions"
Kind regards,
Harald
Harald is offline   Reply With Quote

Reply

Tags
error, include, openfoam, parallel, simplefoam


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
polynomial BC srv537 OpenFOAM Pre-Processing 4 December 3, 2016 10:07
[swak4Foam] swak4foam building problem GGerber OpenFOAM Community Contributions 54 April 24, 2015 17:02
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 12:32
[swak4Foam] funkySetFields compilation error tayo OpenFOAM Community Contributions 39 December 3, 2012 06:18
ParaView Compilation jakaranda OpenFOAM Installation 3 October 27, 2008 12:46


All times are GMT -4. The time now is 08:21.