CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   [FATAL ERROR] patchSummary : size *** is not equal to the given value of *** (https://www.cfd-online.com/Forums/openfoam-pre-processing/185587-fatal-error-patchsummary-size-not-equal-given-value.html)

clemd March 29, 2017 04:28

[FATAL ERROR] patchSummary : size *** is not equal to the given value of ***
 
Hi everyone,
I am trying to run a parallel case with snappyHexMesh and simpleFoam relying on the motorBike tutorial, and I am facing some difficulties. In the system folder, I adapted the blockMeshDict to edit my limit box, the snappyHexMeshDict to refine as I wish and the controlDict. I also adapted the boundary conditions in the 0.org according to the constant/polymesh/boundary file.I have my .stl file in the constant/triSurface/ directory so I follow the steps I found in the Allrun script as below:
Code:

surfaceFeatureExtract
blockMesh
decomposePar
mpirun -np 4 snappyHexMesh -parallel -overwrite
ls -d processor* | xargs -I {} rm -rf ./{}/0
ls -d processor* | xargs -I {} cp -r 0.org ./{}/0

Up to this step, everything seems ok, but when I run
Code:

mpirun -np 4 patchSummary -parallel
I run into a series of errors like this one :
Code:

M FATAL IO ERROR:
[1] size 1651 is not equal to the given value of 853
[1]
[1] file: ***[CASE DIRECTORY]***/processor1/0/thickness.boundaryField.naca_PART_1_FACE from line 56 to line 57.
[1]
[1]    From function Field<Type>::Field(const word& keyword, const dictionary&, const label)
[1]    in file /mnt/home/SW/CFDSupportFOAM4.0/OpenFOAM-3.0.x/src/OpenFOAM/lnInclude/Field.C at line 283.
[1]
FOAM parallel run exiting

and I have the following log :
Code:

--------------------------------------------------------------------------
[[13386,1],2]: A high-performance Open MPI point-to-point messaging module
was unable to find any relevant network interfaces:

Module: OpenFabrics (openib)
  Host: master

Another transport will be used instead, although this may result in
lower performance.
--------------------------------------------------------------------------
/*---------------------------------------------------------------------------*\
| =========                |                                                |
| \\      /  F ield        | OpenFOAM: The Open Source CFD Toolbox          |
|  \\    /  O peration    | Version:  3.0.x                                |
|  \\  /    A nd          | Web:      www.OpenFOAM.org                      |
|    \\/    M anipulation  |                                                |
\*---------------------------------------------------------------------------*/
Build  : 3.0.x-4b5e129783d9
Exec  : patchSummary -parallel
Date  : Mar 29 2017
Time  : 10:11:42
Host  : "master"
PID    : 28391
Case  : ***[CASE DIRECTORY]***
nProcs : 4
Slaves :
3
(
"master.28392"
"master.28393"
"master.28394"
)

Pstream initialized with:
    floatTransfer      : 0
    nProcsSimpleSum    : 0
    commsType          : nonBlocking
    polling iterations : 0
sigFpe : Enabling floating point exception trapping (FOAM_SIGFPE).
fileModificationChecking : Monitoring run-time modified files using timeStampMaster
allowSystemOperations : Allowing user-supplied system call operations

// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
Create time

Create mesh for time = 0

Time = 0

Valid fields:
--------------------------------------------------------------------------
MPI_ABORT was invoked on rank 2 in communicator MPI_COMM_WORLD
with errorcode 1.

NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
--------------------------------------------------------------------------

Hoping that someone can help !
Cheers,
Clément

alixcattermole March 20, 2018 05:50

Hello,

Were you even able to resolve this problem and if so how did you do it? As I am trying something similar and getting the same issues and errors.

Thanks.

Antimony March 21, 2018 01:39

Hi,

Before generating blockMesh, have you made sure to delete all the previous mesh information?

Typically the "size ** not equal to size ***" comes about because it has two different sources of information, often the result of remeshing without completely wiping out the previous mesh....

Hope this helps.

Cheers,
Antimony


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