CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Running, Solving & CFD

Error: "Cannot find file points" related to changing parallelized code to serial?

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   February 12, 2015, 05:31
Default Error: "Cannot find file points" related to changing parallelized code to serial?
New Member
Join Date: Feb 2015
Posts: 1
Rep Power: 0
Suyf is on a distinguished road
I am an OpenFoam newbie using Ubuntu Linux 14.04 and OpenFoam 2.3.1. I am trying to modify code from someone else, but keep getting the following error:

Cannot find file "points" in directory "polyMesh" in times 0 down to constant.
There is discussion of the error in forums, but I don't think I can use it to solve my problem (or maybe I don't understand it). A lot of it is related to the OpenFOAM tutorials and advice seems specific to the tutorials, which I can run no problem.

I think the problem is likely to be related to the fact that I'm running in serial, but the code was made to run in parallel. The reason I think this is that I have two "processor" files in my run directory. Inside each processor file is a "points" file (under constant/polyMesh). In the run directory under 0/polyMesh, there are no files. Here is what I have tried so far:

In the run directory under system, I tried modifying "decomposeParDict" by changing "numberOfSubdomains 2" to "numberOfSubdomains 1" and also deleting the processor files. I got an error:

Cannot open mesh description file
This made sense because there was no blockMeshDict in that location. Next, I copied blockMeshDict there from the "system" directory. I then got an error that file p_rgh was missing from run directory/0/p_rgh. I found that file in each processor directory, so picked one and moved it to /0. Now I'm getting:

Cannot find patchField entry for XXX
file: /0/p_rgh.boundaryField
I think this is related to boundary conditions, but I don't know what to do next. I guess my question is, am I on the right track that my problem is likely to be related to parallel/serial? If I am, is there a simple recipe for changing from parallel to serial?
Suyf is offline   Reply With Quote


openfoam, parallel, serial

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Problem compiling a custom Lagrangian library brbbhatti OpenFOAM Programming & Development 2 July 7, 2014 11:32
Annoying issue of automatic "Rescale to Data Range " with paraFoam/paraview 3.12 keepfit OpenFOAM Paraview & paraFoam 60 September 18, 2013 03:23
OpenFOAM on MinGW crosscompiler hosted on Linux allenzhao OpenFOAM Installation 127 January 30, 2009 20:08
DecomposePar links against liblamso0 with OpenMPI jens_klostermann OpenFOAM Bugs 11 June 28, 2007 17:51
error while compiling the USER Sub routine CFD user CFX 3 November 25, 2002 16:16

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