CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Bugs

ChannelOodles in parallel

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 17, 2007, 05:42
Default if no of cells in the directio
  #1
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 8
maka is on a distinguished road
if no of cells in the direction that we decompose over is not dividable by no of processors. decompose Par works OK but we get the following error when running.

To reproduce the error:
-------------------------
tut; cd channelOodles/channel395
rm -r 0;
cp -r 0.org 0;
modify blockMeshDict to have 63 cell in x direction.
decomposePar with :
method simple;

simpleCoeffs
{
n (2 1 1);
delta 0.000001;
}
nohup mpirun -np 2 channelOodles .. channel395.50 -parallel;

To remove the error:
-----------------------
make no of cell 64 in x dir.

--------------------------------
DECOMPOSEPAR OUTPUT:


Time = 0
Create mesh


Calculating distribution of cells
Selecting decompositionMethod simple

Finished decomposition in 0.27 s

Calculating original mesh data

Distributing cells to processors

Distributing faces to processors

Calculating processor boundary addressing

Distributing points to processors

Constructing processor meshes

Processor 0
Number of cells = 47250
Number of faces shared with processor 1 = 3118
Number of boundary faces = 4996

Processor 1
Number of cells = 47250
Number of faces shared with processor 0 = 3118
Number of boundary faces = 4996

Processor 0: field transfer
Processor 1: field transfer

End.
----------------------------------------------

ERROR MESSAGE:
Create time

Create mesh for time = 0

[0]
[0]
[0] --> FOAM FATAL ERROR : Cannot find patch edge with vertices (11 1630) on patch procBoundary0to1
Can only find edges
4
(
(11 86)
(8 11)
(11 14)
(10 11)
)
connected to first vertex
[0]
[0] From function processorPolyPatch::updateMesh()
[0] in file meshes/polyMesh/polyPatches/derivedPolyPatches/processorPolyPatch/processorPolyP atch.C at line 351.
[0]
FOAM parallel run aborting
[0]
[1]
[1]
[1] --> FOAM FATAL ERROR : Cannot find patch edge with vertices (1608 9) on patch procBoundary1to0
Can only find edges
4
(
(1608 1555)
(1605 1608)
(1608 1611)
(1609 1608)
)
connected to first vertex
[1]
[1] From function processorPolyPatch::updateMesh()
[1] in file meshes/polyMesh/polyPatches/derivedPolyPatches/processorPolyPatch/processorPolyP atch.C at line 351.
[0] Foam::error::printStack(Foam:stream&)
[0] Foam::error::abort()
[0] Foam::processorPolyPatch::updateMesh()
[0] Foam::polyBoundaryMesh::updateMesh()
[0] Foam::polyMesh::polyMesh(Foam::IOobject const&)
[0] Foam::fvMesh::fvMesh(Foam::IOobject const&)
[0] Foam::regIOobject::write(Foam::IOstream::streamFor mat, Foam::IOstream::versionNumber, Foam::IOstream::compressionType) const
[0] __libc_start_main
[0] __gxx_personality_v0
[1]
FOAM parallel run aborting
[1]
-----------------------------------------------------------------------------
One of the processes started by mpirun has exited with a nonzero exit
code. This typically indicates that the process finished in error.
If your process did not finish in error, be sure to include a "return
0" or "exit(0)" in your C code before exiting the application.

PID 7241 failed on node n0 (127.0.0.1) with exit status 1.
-----------------------------------------------------------------------------
maka is offline   Reply With Quote

Old   August 20, 2007, 13:23
Default I followed your steps but cann
  #2
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
I followed your steps but cannot repeat your problem. You are running 1.4.1 I hope?
mattijs is offline   Reply With Quote

Old   August 21, 2007, 04:04
Default no. I'm using V1.3. Was there
  #3
Senior Member
 
Maka Mohu
Join Date: Mar 2009
Posts: 305
Rep Power: 8
maka is on a distinguished road
no. I'm using V1.3. Was there a problem in that version? I do not know if it is too much to ask you what are the files that had the probelm (decompostPar only or others). Sorry, to move to 1.4.1 I need to do lots of testing. I will do it as soon as I can. Thanks Mattijs.

Best regards,
Maka.
maka is offline   Reply With Quote

Old   August 21, 2007, 17:30
Default By heart: check processorPolyP
  #4
Super Moderator
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,416
Rep Power: 15
mattijs is on a distinguished road
By heart: check processorPolyPatch.C and coupledPolyPatch.C for differences between the two.
mattijs is offline   Reply With Quote

Reply

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
ChannelOodles maka OpenFOAM Bugs 12 February 5, 2009 18:17
ChannelOodles with gmsh lofty Open Source Meshers: Gmsh, Netgen, CGNS, ... 7 April 16, 2008 16:44
Parallel postChannel from within channelOodles for DNS and LES maka OpenFOAM Running, Solving & CFD 1 February 18, 2008 13:08
GradP in channeloodles nikos_fb16 OpenFOAM Running, Solving & CFD 0 September 11, 2007 04:28
GradP in channeloodles nikos_fb16 OpenFOAM Running, Solving & CFD 0 September 10, 2007 09:46


All times are GMT -4. The time now is 11:29.