CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   reconstructPar Error (https://www.cfd-online.com/Forums/openfoam-solving/213188-reconstructpar-error.html)

biggie December 18, 2018 03:50

reconstructPar Error
 
hi FOAMers.

I'm trying to analyze the flow of turbine vane in parallel.
The mesh of the case used cyclicAMI. And the solution occurred the error at the time i use reconstructPar command.

Can somebody help me what I need to do to avoid the error?
Below is the error line.

let me apologize for my poor English.



//////////////////////////////////////////////////////////////////
Reconstructing fields for mesh region0

Time = 0.0098

Reconstructing FV fields

Reconstructing volScalarFields

alphat
AMI: Creating addressing and weights between 180 source faces and 171 target faces
--> FOAM Warning :
From function void Foam::AMIMethod<SourcePatch, TargetPatch>::checkPatches() const [with SourcePatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>; TargetPatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>]
in file lnInclude/AMIMethod.C at line 57
Source and target patch bounding boxes are not similar
source box span : (0.0471854 0.00134268 0.01)
target box span : (0.0448478 0.000999288 0.01)
source box : (-0.0596628 -0.0539496 -3.99699e-18) (-0.0124774 -0.052607 0.01)
target box : (-0.0596628 -0.0536063 -3.99699e-18) (-0.014815 -0.052607 0.01)
inflated target box : (-0.0619608 -0.0559043 -0.002298) (-0.012517 -0.050309 0.012298)
AMI: Patch source sum(weights) min/max/average = 0, 1, 0.95
AMI: Patch target sum(weights) min/max/average = 1, 1, 1
AMI: Creating addressing and weights between 693 source faces and 99 target faces
--> FOAM Warning :
From function void Foam::AMIMethod<SourcePatch, TargetPatch>::checkPatches() const [with SourcePatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>; TargetPatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>]
in file lnInclude/AMIMethod.C at line 57
Source and target patch bounding boxes are not similar
source box span : (0.0589942 0.171457 0.01)
target box span : (0.00534201 0.0254308 0.01)
source box : (0.0419138 -0.277678 -3.92838e-18) (0.100908 -0.106221 0.01)
target box : (0.095566 -0.277678 -1.61799e-18) (0.100908 -0.252247 0.01)
inflated target box : (0.0941738 -0.27907 -0.00139218) (0.1023 -0.250855 0.0113922)


--> FOAM FATAL ERROR:
Unable to set source and target faces

From function void Foam::faceAreaWeightAMI<SourcePatch, TargetPatch>::setNextFaces(Foam::label&, Foam::label&, Foam::label&, const boolList&, Foam::labelList&, const Foam::DynamicList<int>&, bool) const [with SourcePatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>; TargetPatch = Foam::PrimitivePatch<Foam::face, Foam::SubList, const Foam::Field<Foam::Vector<double> >&>; Foam::label = int; Foam::boolList = Foam::List<bool>; Foam::labelList = Foam::List<int>]
in file lnInclude/faceAreaWeightAMI.C at line 287.

FOAM aborting

#0 Foam::error::printStack(Foam::Ostream&) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so"
#1 Foam::error::abort() in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libOpenFOAM.so"
#2 Foam::faceAreaWeightAMI<Foam::PrimitivePatch<Foam: :face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::calcAddressing(Foam::List<Foam::DynamicList<int , 0u, 2u, 1u> >&, Foam::List<Foam::DynamicList<double, 0u, 2u, 1u> >&, Foam::List<Foam::DynamicList<int, 0u, 2u, 1u> >&, Foam::List<Foam::DynamicList<double, 0u, 2u, 1u> >&, int, int) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so"
#3 Foam::faceAreaWeightAMI<Foam::PrimitivePatch<Foam: :face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::calculate(Foam::List<Foam::List<int> >&, Foam::List<Foam::List<double> >&, Foam::List<Foam::List<int> >&, Foam::List<Foam::List<double> >&, int, int) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so"
#4 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam:: face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::update(Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so"
#5 Foam::AMIInterpolation<Foam::PrimitivePatch<Foam:: face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::constructFromSurface(Foam::PrimitivePatch<Foam: :face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > const&, Foam::autoPtr<Foam::searchableSurface> const&) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so"
#6 Foam::cyclicAMIPolyPatch::resetAMI(Foam::AMIInterp olation<Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> >, Foam::PrimitivePatch<Foam::face, Foam::SubList, Foam::Field<Foam::Vector<double> > const&, Foam::Vector<double> > >::interpolationMethod const&) const in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so"
#7 Foam::cyclicAMIPolyPatch::AMI() const in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so"
#8 Foam::cyclicAMIPolyPatch::applyLowWeightCorrection () const in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libmeshTools.so"
#9 Foam::cyclicAMIFvPatch::makeWeights(Foam::Field<do uble>&) const in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so"
#10 Foam::surfaceInterpolation::makeWeights() const in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so"
#11 Foam::surfaceInterpolation::weights() const in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so"
#12 Foam::fvPatch::weights() const in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so"
#13 Foam::coupledFvPatchField<double>::evaluate(Foam:: UPstream::commsTypes) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so"
#14 Foam::cyclicFvPatchField<double>::cyclicFvPatchFie ld(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so"
#15 Foam::fvPatchField<double>::adddictionaryConstruct orToTable<Foam::cyclicFvPatchField<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/lib/libfiniteVolume.so"
#16 Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/reconstructPar"
#17 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::Boundary::readField(Foam::Dimensio nedField<double, Foam::volMesh> const&, Foam::dictionary const&) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/reconstructPar"
#18 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields(Foam::dictionary const&) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/reconstructPar"
#19 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields() in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/reconstructPar"
#20 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&) in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/reconstructPar"
#21 ? in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/reconstructPar"
#22 ? in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/reconstructPar"
#23 ? in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/reconstructPar"
#24 __libc_start_main in "/lib64/libc.so.6"
#25 ? in "/opt/OpenFOAM/4.1/OpenFOAM-4.1/platforms/linux64GccDPInt32Opt/bin/reconstructPar"
アボートしました (コアダンプ)

allenjohngeorge December 18, 2018 10:03

I have faced the same error for parallel computing with cyclicAMI boundary condition on Openfoam 4.1. I couldnt figure out how to solve it in OpenFoam 4.1 . I think the error is with the decomposePar in Openfoam 4.1


So, currently I am decomposing the case in Openfoam v1606 and running the case in Openfoam 4.1. The reconstructPar command works in OpenFoam 4.1 with the case decomposed in v1606.



If you have access to later versions of OpenFoam, then try using it.

biggie December 19, 2018 03:40

thank you, mr.Allen.
If i can use past version, i'll try it.

It would be greatly appreciated.


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