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/)
-   -   OF looks for system folder inside processor* folders (https://www.cfd-online.com/Forums/openfoam-solving/127087-looks-system-folder-inside-processor-folders.html)

Pj. December 3, 2013 05:12

OF looks for system folder inside processor* folders
 
I have a decomposed case that i'm trying to solve with pisoFoam, but i receive this error:
Code:

[41] --> FOAM FATAL IO ERROR:
[41] keyword PISO is undefined in dictionary "/gpfs/scratch/userexternal/lamerio0/testPrestazioni/hangar_pisoGAMG/processor41/system/fvSolution"
[41]
[41] file: [13] /gpfs/scratch/userexternal/lamerio0/testPrestazioni/hangar_pisoGAMG/processor41/system/fvSolution from line 0 to line 0.
[41]

FOAM parallel run exiting
[41]    From function dictionary::subDict(const word& keyword) const
[41]    in file db/dictionary/dictionary.C at line 608.
[41]
FOAM parallel run exiting

I don't understand why it looks for the fvSolution file inside the processor folder. I have the fvSolution file in the root/system/ folder and there is the PISO keyword correctly defined.

The strange thing is that i'm running two more case. A second one equal to this one but solved with pimpleFoam that gives me the same error (can't find the PIMPLE keyword there); and a third one with a different fvSolution file solved with pisoFoam that is running fine.

Any tip?

Thank you

Bernhard December 3, 2013 07:00

Are you running it with "pimpleFoam -parallel"?

Pj. December 3, 2013 07:02

Hi Bernhard. Yes i am.

Now, after 2h looking into the code i saw there was maybe an error in the brackets.

If this is the error, excuse me for the stupid question.

Pj. December 3, 2013 08:17

I'm sorry, in the fvSolution file the PISO keyword had to be on the same "level" of the solver keyword, while I putted it inside that sub-dict.

This caused OF not to find it where it was expecting it to be.

Thank you very much and sorry


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