CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   potentialFoam fatal error (https://www.cfd-online.com/Forums/openfoam-solving/127702-potentialfoam-fatal-error.html)

shantanukale December 18, 2013 03:30

potentialFoam fatal error
 
I am continuously getting the following error..
Kindly help.
Foam Fatal Error:

Create time
Create mesh for time = 0
reading field p

------> FOAM FATAL IO ERROR
cannot find file

file: /home/shantanu/Desktop/tutorials/basic/potentialFoam/cylinder/0/p at line 0.

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

FOAM exiting

Thangam December 18, 2013 03:46

OF is not able to locate your 'p' file in the zero time folder. Your case should have 3 folders. 1) Folder '0' that contains your fields (p,U,k etc). 2) Folder 'constant' that has your mesh details and 3) The 'system' folder which contains the solver/solution information. Check if you have all the files in the respective folders and then run your commands from the terminal where these folders are located.

shantanukale December 18, 2013 04:02

Thanks a lot... the time directory was 0.org I changed it to 0. Now I am getting error in paraFoam. AtSpi Adaptor error it is.. Problem with child ids..
Kindly help..

Thangam December 18, 2013 04:20

could you post the detailed error message please?

shantanukale December 18, 2013 05:23

Segmentation fault (core dumped) is the error while running the specific cases for cylinder., say streamlines.

Another error is like:
fileName::stripInvalid() called for invalid fileName UbuntuOne
For debug level (= 2) > 1 this is considered fatal
Aborted
This error occurs when paraFoam is run without any case.

Thangam December 18, 2013 22:12

for the fileName::stripInvalid() error, Im guessing that you might be having a folder or file with the name 'UbuntuOne' within the case directory with blank spaces in the file/folder name(i.e Ubuntu(space)One.try renaming it without spaces or with a underscore like Ubuntu_one or UbuntuOne..if I were you, I wouldnt keep anything irrelevant apart from the files related to the case within the case directory). And also take care in defining file names since most of the *nix systems do not like spaces in file/folder names.

About the paraFoam error, I have no idea why this is happening. I could give a try if you could send me across your files.

cheers.

shantanukale December 19, 2013 02:02

Thanks a lot...... It worked. There was a space in the file name. Once I removed that, it worked. Perfectly.


May I know your e-mail / linkedin details please? I searched you on linkedin, but could not find.
Thank you.


All times are GMT -4. The time now is 09:10.