procMesh.write() in decomposePar
Hello everyone,
Does anyone know where I could find the function write()? I know there are a few versions of it, if I understood correctly, I need the one that is used as part of the decomposition of the domain for parallel computing. procMesh.write() is called inside the file domainDecomposition.C I am looking for it because I need to see where the /processor*/constant/polyMesh/ owner and neighbour files are created. Mines are getting messed up with a lot of "-1" so I would like to understand how these files are being created, as I cannot see for now any errors in the lists created before the procMesh is written out. Thank you very much for any help. |
procMesh is of type polyMesh, so you should look at it's write() member function. So, that one you can find here: http://foam.sourceforge.net/docs/cpp...cd904755791076
Are you sure the -1's are not a feature? |
Hi Bernhard,
Thanks for your quick response. My decomposition crashes with the following error: Code:
--> FOAM FATAL ERROR: polyMeshInitMesh.C seem to imply that neighbour[facei] and owner_[facei] cannot be less than 0: Code:
label nCells = -1; |
All times are GMT -4. The time now is 10:48. |