CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM (https://www.cfd-online.com/Forums/openfoam/)
-   -   Compiler problem? (https://www.cfd-online.com/Forums/openfoam/88831-compiler-problem.html)

Tanay May 27, 2011 04:46

Compiler problem?
 
Hello people,
I think I have a compiler problem when I'm running the tutorials cavity in pisoFoam (ras) and cavityClipped in icoFoam. For example when I use "$ mapFields ../cavity" command in the latter, I get-
--> FOAM FATAL ERROR:
Cannot find file "points" in directory "polyMesh" in times 0.5 down to constant

From function Time::findInstance(const fileName&, const word&, const IOobject::readOption)
in file db/Time/findInstance.C at line 175.

FOAM exiting
My versions of OpenFOAM and Paraview are 1.7.1 & 3.8.1 respectively. What should I do?

nimasam May 27, 2011 09:56

did you use the blockMesh command to create geometry?

Tanay May 27, 2011 12:42

Thanks, yeah, I had. Apparently it hadn't worked due to some reason. I quit the terminal and repeated the "$blockMesh" command. Then, I encountered no glitches. So basically, if OpenFOAM has been installed properly, there shouldn't be any C++ compiler problems while running it, right?
P.S.- This post is quite silly now, I should probably remove it. :p

nimasam May 28, 2011 04:45

Above error said that points has not been found so it mightbe not created yet! ;) so probable mistake could be that you forget to use blockMesh command :)

besides if you in doubt that the openFOAM has been installed properly or not
go to bin directory and use
./foamInstallationTest
and check configuration


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