CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

reconstructPar and reconstructParMesh

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 3, 2015, 06:55
Default reconstructPar and reconstructParMesh
  #1
New Member
 
Londo
Join Date: Feb 2015
Posts: 14
Rep Power: 11
Londo is on a distinguished road
Hello all

I am trying to reconstruct a case that I ran in parallel. If I run just "reconstructPar" it runs, but it return rubbish - the reconstructed case produces some weird results, and it can be seen that the reconstruction was not done in a proper way.

So I tried to run "reconstructParMesh" and then "reconstructPar". In this case I am getting the following error when I am trying to run reconstructPar:

Code:
Reconstructing volVectorFields

        U

Reconstructing point fields



--> FOAM FATAL ERROR: 
Incomplete patch point addressing

    From function pointFieldReconstructor::pointFieldReconstructor(
    const pointMesh& mesh,
    const PtrList<pointMesh>& procMeshes,
    const PtrList<labelIOList>& pointProcAddressing,
    const PtrList<labelIOList>& boundaryProcAddressing
)
    in file pointFieldReconstructor.C at line 96.

FOAM aborting

#0  Foam::error::printStack(Foam::Ostream&) at ??:?
#1  Foam::error::abort() at ??:?
#2  Foam::pointFieldReconstructor::pointFieldReconstructor(Foam::pointMesh const&, Foam::PtrList<Foam::pointMesh> const&, Foam::PtrList<Foam::IOList<int> > const&, Foam::PtrList<Foam::IOList<int> > const&) at ??:?
#3  
 at ??:?
#4  __libc_start_main in "/lib/x86_64-linux-gnu/libc.so.6"
#5  
 at ??:?
Aborted (core dumped)
I am somewhat lost. I am using OF2.1.1. Any ideas about how I can reconstruct the case properly?
Londo is offline   Reply With Quote

Old   June 3, 2015, 07:31
Default
  #2
Senior Member
 
Alex
Join Date: Oct 2013
Posts: 337
Rep Power: 22
zfaraday will become famous soon enough
Can you please let us know how you decomposed the case? If you ran an Allrun script, can you post it here so that we can have a better knowledge about your case?
__________________
Web site where I present my Master's Thesis: foamingtime.wordpress.com

The case I talk about in this site was solved with chtMultiRegionSimpleFoam solver and involves radiation. Some basic tutorials are also resolved step by step in the web. If you are interested in these matters, you are invited to come in!
zfaraday is offline   Reply With Quote

Old   June 3, 2015, 11:00
Default
  #3
New Member
 
Londo
Join Date: Feb 2015
Posts: 14
Rep Power: 11
Londo is on a distinguished road
First I run decomposePar. I run it with 4 subdomains, hierarchical method, n (4 1 1). Then I run renumberMesh. After that I run the solver using mpi run and 4 processors.
Londo is offline   Reply With Quote

Old   December 6, 2015, 21:24
Default
  #4
Member
 
Fengjiao Bian
Join Date: Nov 2013
Location: beijing
Posts: 30
Rep Power: 12
jiaojiao is on a distinguished road
Hi,Londo! I meet the same problem,the provious processes seems to be ok with no error and warning.Did you solver this problem?
Quote:
Originally Posted by Londo View Post
First I run decomposePar. I run it with 4 subdomains, hierarchical method, n (4 1 1). Then I run renumberMesh. After that I run the solver using mpi run and 4 processors.
jiaojiao is offline   Reply With Quote

Old   March 20, 2018, 08:23
Default Same Error
  #5
Member
 
Shafik Walakaka
Join Date: Oct 2017
Posts: 38
Rep Power: 9
walakaka is on a distinguished road
Anyone solved this issue yet?

I am receiving the same error and my blockmeshDict and my decomposeParDict is attached below.

BlockMeshDict
************************************************** *********************************

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 4.1 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
object blockMeshDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

convertToMeters 0.001;

vertices
(
(0 0 0) //point 0
(20000 0 0) //point 1
(20000 39.8101 0) //point 2
(0 39.8101 0) //point 3
(0 0 39.8101) //point 4
(20000 0 39.8101) //point 5
(20000 39.8101 39.8101) //point 6
(0 39.8101 39.8101) //point 7

(0 11.066 11.066) //point 8
(20000 11.066 11.066) //point 9
(20000 28.744 11.066) //point 10
(0 28.744 11.066) //point 11
(0 11.066 28.744) //point 12
(20000 11.066 28.744) //point 13
(20000 28.744 28.744) //point 14
(0 28.744 28.744) //point 15

(0 2.82843 2.82843) //point 16
(20000 2.82843 2.82843) //point 17
(20000 36.9817 2.82843) //point 18
(0 36.9817 2.82843) //point 19
(0 2.82843 36.9817) //point 20
(20000 2.82843 36.9817) //point 21
(20000 36.9817 36.9817) //point 22
(0 36.9817 36.9817) //point 23
);

blocks
(
hex (20 21 22 23 4 5 6 7) (700 15 1) simpleGrading (
(
(0.2 0.65 1) //20% xdir 65%cells expansion=1
(0.8 0.35 10) //80% xdir 35cells expansion=10
)
1 1) //block 0 (top, outside)
hex (16 17 21 20 0 1 5 4) (700 15 1) simpleGrading (
(
(0.2 0.65 1) //20% xdir 65%cells expansion=1
(0.8 0.35 10) //80% xdir 35cells expansion=10
)
1 1) //block 1 (right, outside)
hex (23 22 18 19 7 6 2 3) (700 15 1) simpleGrading (
(
(0.2 0.65 1) //20% xdir 65%cells expansion=1
(0.8 0.35 10) //80% xdir 35cells expansion=10
)
1 1) //block 2 (left, outside)
hex (19 18 17 16 3 2 1 0) (700 15 1) simpleGrading (
(
(0.2 0.65 1) //20% xdir 65%cells expansion=1
(0.8 0.35 10) //80% xdir 35cells expansion=10
)
1 1) //block 3 (bottom, outside)
hex (8 9 10 11 12 13 14 15) (700 15 15) simpleGrading (
(
(0.2 0.65 1) //20% xdir 65%cells expansion=1
(0.8 0.35 10) //80% xdir 35cells expansion=10
)
1 1) //block 4 (middle)
hex (12 13 14 15 20 21 22 23) (700 15 15) simpleGrading (
(
(0.2 0.65 1) //20% xdir 65%cells expansion=1
(0.8 0.35 10) //80% xdir 35cells expansion=10
)
1 1) //block 5 (top,inside)
hex (8 9 13 12 16 17 21 20) (700 15 15) simpleGrading (
(
(0.2 0.65 1) //20% xdir 65%cells expansion=1
(0.8 0.35 10) //80% xdir 35cells expansion=10
)
1 1) //block 6 (right, inside)
hex (15 14 10 11 23 22 18 19) (700 15 15) simpleGrading (
(
(0.2 0.65 1) //20% xdir 65%cells expansion=1
(0.8 0.35 10) //80% xdir 35cells expansion=10
)
1 1) //block 7 (left, inside)
hex (11 10 9 8 19 18 17 16) (700 15 15) simpleGrading (
(
(0.2 0.65 1) //20% xdir 65%cells expansion=1
(0.8 0.35 10) //80% xdir 35cells expansion=10
)
1 1) //block 8 (bottom inside)
);

edges
(
arc 0 4 (0 -8.245 19.905)
arc 3 7 (0 48.055 19.905)
arc 0 3 (0 19.905 -8.245)
arc 4 7 (0 19.905 48.055)

arc 1 5 (20000 -8.245 19.905)
arc 2 6 (20000 48.055 19.905)
arc 1 2 (20000 19.905 -8.245)
arc 5 6 (20000 19.905 48.055)

arc 16 20 (0 -4.245 19.905)
arc 19 23 (0 44.055 19.905)
arc 16 19 (0 19.905 -4.245)
arc 20 23 (0 19.905 44.055)
arc 17 21 (20000 -4.245 19.905)
arc 18 22 (20000 44.055 19.905)
arc 17 18 (20000 19.905 -4.245)
arc 21 22 (20000 19.905 44.055)
);

boundary
(
inlet //patch name
{
type patch; //patch 0
faces
(
(8 12 15 11) //inlet middle block face
(12 20 23 15) //top block face, inner
(20 4 7 23) //top outer block face
(16 20 12 8) // right block face, innter
(0 4 20 16) // right block face, outer
(11 15 23 19) // left block face, inner
(19 23 7 3) // left block face, outer
(16 8 11 19) // bottom block face, inner
(0 16 19 3) // bottom block face, outer
);
}
outlet
{
type patch;
faces
(
(10 14 13 9) //outlet block face, middle
(14 22 21 13) //top block face, inner
(22 6 5 21) //top block face outer
(9 13 21 17) //right block face inner
(17 21 5 1) //right block face outer
(18 22 14 10) // left block face inner
(2 6 22 18) // left block face outer
(10 9 17 18) //bottom block face, inner
(18 17 1 2) // bottom face, outer
);
}
walls
{
type wall;
faces
(
(0 3 2 1)
(0 1 5 4)
(3 7 6 2)
(4 5 6 7)
);
}
);

// ************************************************** *********************** //

DecomposeParDict
************************************************** *****************************************

/*--------------------------------*- C++ -*----------------------------------*\
| ========= | |
| \\ / F ield | OpenFOAM: The Open Source CFD Toolbox |
| \\ / O peration | Version: 3.0.0 |
| \\ / A nd | Web: www.OpenFOAM.org |
| \\/ M anipulation | |
\*---------------------------------------------------------------------------*/
FoamFile
{
version 2.0;
format ascii;
class dictionary;
location "system";
object decomposeParDict;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

numberOfSubdomains 16;

method simple;

simpleCoeffs
{
n (4 2 2);
delta 0.001;
}

hierarchicalCoeffs
{
n (1 1 1);
delta 0.001;
order xyz;
}

manualCoeffs
{
dataFile "";
}

distributed no;

roots ( );


// ************************************************** *********************** //


Regards
Shafik
walakaka is offline   Reply With Quote

Reply


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
reconstructPar Fails - Not implemented From function slicedFvPatchField carowjp OpenFOAM Post-Processing 3 March 12, 2016 16:25
Problems with reconstructParMesh and reconstructPar in 15 eberberovic OpenFOAM Post-Processing 27 August 31, 2013 13:55
reconstructPar for time in dynamic mesh kedarj14 OpenFOAM 3 June 21, 2011 08:32
reconstructParMesh not working with an axisymetric case francesco OpenFOAM Bugs 4 May 8, 2009 06:49
reconstructpar -region borrbyper OpenFOAM Bugs 2 April 23, 2009 14:52


All times are GMT -4. The time now is 08:54.