|
[Sponsors] |
December 2, 2013, 12:29 |
Size of sub-meshes during a parallel run
|
#1 |
New Member
Marcel Vonlanthen
Join Date: Nov 2012
Location: Zurich, Switzerland
Posts: 28
Rep Power: 13 |
Dear Foamer,
During the parallel run of any OpenFOAM solver (pimpleFoam in my case), each processor has its own sub-mesh (stored in case/porcessorX/constant), which is a part of the global mesh. Moreover, each processor has no idea about the sub-meshes stored in the other processor. How can I get the list of the cellCenter or the faceCenter of each sub-meshes? For example, I tried with mesh().C(), but the output size is the same for all sub-meshes, which is not possible (the scotch decomposition never gives sub-meshes with *exactly* the same size...). Here is a piece of code I added after the line #include "createMesh.H": Code:
#include "createMesh.H" Pout << "nb of cell center in processor"<< Pstream::myProcNo() << " = " << mesh.C().size() << endl; Code:
[1] nb of cell center in processor1 = 1011456 [0] nb of cell center in processor0 = 1011456 Cheers, Marcel |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problems in compiling paraview in Suse 10.3 platform | chiven | OpenFOAM Installation | 3 | December 1, 2009 08:21 |
Unable to run OF in parallel on a multiple-node cluster | quartzian | OpenFOAM | 3 | November 24, 2009 14:37 |
[Commercial meshers] ST_Malloc: out of memory.malloc_storage: unable to malloc Velocity SA, | cfdproject | OpenFOAM Meshing & Mesh Conversion | 0 | April 14, 2009 16:45 |
Phase locked average in run time | panara | OpenFOAM | 2 | February 20, 2008 15:37 |
Problem on Parallel Run Setup | Hamidur Rahman | CFX | 0 | September 23, 2007 18:11 |