离心式压缩机周期性边界问题
-
各位大佬,我在做压缩机并行运算的时候遇到周期性边界条件的问题。
这是我压缩机单流道模型
对于交界面的处理如下:/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 2206 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; arch "LSB;label=32;scalar=64"; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 14 ( PASSAGE-HUB { type wall; inGroups 1(wall); nFaces 10375; startFace 1756179; } PASSAGE-SHROUD { type wall; inGroups 1(wall); nFaces 10375; startFace 1766554; } PASSAGE-INFLOW { type patch; nFaces 1330; startFace 1776929; } PASSAGE-OUTFLOW { type cyclicAMI; nFaces 5005; startFace 1778259; matchTolerance 10; transform noOrdering; neighbourPatch OUTBLOCK-INFLOW; AMIMethod faceAreaWeightAMI; restartUncoveredSourceFace 1; } MAIN-BLADE { type wall; inGroups 1(wall); nFaces 9065; startFace 1783264; } SPLITTER-BLADE { type wall; inGroups 1(wall); nFaces 5880; startFace 1792329; } PASSAGE-PER1 { type cyclicAMI; nFaces 4515; startFace 1798209; matchTolerance 10; transform unknown; rotationAxis (0 0 1); rotationAngle 45; rotationCentre (0 0 0); neighbourPatch PASSAGE-PER2; AMIMethod partialFaceAreaWeightAMI; restartUncoveredSourceFace 1; } PASSAGE-PER2 { type cyclicAMI; nFaces 4515; startFace 1802724; matchTolerance 10; transform unknown; rotationAxis (0 0 1); rotationAngle 45; rotationCentre (0 0 0); neighbourPatch PASSAGE-PER1; AMIMethod partialFaceAreaWeightAMI; restartUncoveredSourceFace 1; } OUTBLOCK-HUB { type wall; inGroups 1(wall); nFaces 6721; startFace 1807239; } OUTBLOCK-SHROUD { type wall; inGroups 1(wall); nFaces 6721; startFace 1813960; } OUTBLOCK-INFLOW { type cyclicAMI; nFaces 5005; startFace 1820681; matchTolerance 10; transform noOrdering; neighbourPatch PASSAGE-OUTFLOW; AMIMethod faceAreaWeightAMI; restartUncoveredSourceFace 1; } OUTBLOCK-OUTFLOW { type patch; nFaces 5005; startFace 1825686; } OUTBLOCK-PER1 { type cyclicAMI; nFaces 1645; startFace 1830691; matchTolerance 10; transform unknown; rotationAxis (0 0 1); rotationAngle 45; rotationCentre (0 0 0); neighbourPatch OUTBLOCK-PER2; AMIMethod faceAreaWeightAMI; restartUncoveredSourceFace 1; } OUTBLOCK-PER2 { type cyclicAMI; nFaces 1645; startFace 1832336; matchTolerance 10; transform unknown; rotationAxis (0 0 1); rotationAngle 45; rotationCentre (0 0 0); neighbourPatch OUTBLOCK-PER1; AMIMethod faceAreaWeightAMI; restartUncoveredSourceFace 1; } ) // ************************************************************************* //
但是在进行并行运行decomposePar命令时,给出如下错误报告
/*------------------------------------------- // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // Create time Decomposing mesh Create mesh Using [v2012] 'partialFaceAreaWeightAMI' instead of 'faceAreaWeightAMI' in selection table: AMIInterpolation This lookup is 18 months old. Using [v2012] 'partialFaceAreaWeightAMI' instead of 'faceAreaWeightAMI' in selection table: AMIInterpolation This lookup is 18 months old. Calculating distribution of cells Decomposition method scotch [32] (region region0) Finished decomposition in 3.32 s Calculating original mesh data Distributing cells to processors Distributing faces to processors Distributing points to processors Constructing processor meshes Processor 0 Number of cells = 18879 Number of points = 21302 Number of faces shared with processor 7 = 772 Number of faces shared with processor 8 = 140 Number of faces shared with processor 10 = 248 Number of faces shared with processor 16 = 757 Number of faces shared with processor 24 = 772 Number of faces shared with processor 26 = 84 Number of processor patches = 6 Number of processor faces = 2773 Number of boundary faces = 1897 Processor 1 Number of cells = 18685 Number of points = 21243 Number of faces shared with processor 3 = 134 Number of faces shared with processor 9 = 391 Number of faces shared with processor 11 = 175 Number of faces shared with processor 13 = 35 Number of faces shared with processor 15 = 16 Number of faces shared with processor 17 = 1002 Number of faces shared with processor 19 = 429 Number of faces shared with processor 21 = 89 Number of faces shared with processor 25 = 10 Number of faces shared with processor 27 = 34 Number of faces shared with processor 29 = 841 Number of processor patches = 11 Number of processor faces = 3156 Number of boundary faces = 1766 Processor 2 Number of cells = 18514 Number of points = 20845 Number of faces shared with processor 10 = 240 Number of faces shared with processor 18 = 912 Number of faces shared with processor 22 = 640 Number of faces shared with processor 26 = 716 Number of processor patches = 4 Number of processor faces = 2508 Number of boundary faces = 1980 Processor 3 Number of cells = 18648 Number of points = 21261 Number of faces shared with processor 1 = 134 Number of faces shared with processor 15 = 388 Number of faces shared with processor 19 = 734 Number of faces shared with processor 27 = 1075 Number of faces shared with processor 29 = 474 Number of processor patches = 5 Number of processor faces = 2805 Number of boundary faces = 2223 Processor 4 Number of cells = 18884 Number of points = 21280 Number of faces shared with processor 20 = 945 Number of faces shared with processor 30 = 897 Number of processor patches = 2 Number of processor faces = 1842 Number of boundary faces = 2778 Processor 5 Number of cells = 18512 Number of points = 21003 Number of faces shared with processor 13 = 1004 Number of faces shared with processor 17 = 115 Number of faces shared with processor 21 = 657 Number of faces shared with processor 25 = 919 Number of processor patches = 4 Number of processor faces = 2695 Number of boundary faces = 2097 Processor 6 Number of cells = 18884 Number of points = 21264 Number of faces shared with processor 14 = 982 Number of faces shared with processor 22 = 912 Number of processor patches = 2 Number of processor faces = 1894 Number of boundary faces = 2692 Processor 7 Number of cells = 18884 Number of points = 21214 Number of faces shared with processor 0 = 772 Number of faces shared with processor 10 = 386 Number of faces shared with processor 23 = 819 Number of processor patches = 3 Number of processor faces = 1977 Number of boundary faces = 2511 Processor 8 Number of cells = 18523 Number of points = 21152 Number of faces shared with processor 0 = 140 Number of faces shared with processor 12 = 940 Number of faces shared with processor 16 = 834 Number of faces shared with processor 24 = 1180 Number of faces shared with processor 28 = 55 Number of processor patches = 5 Number of processor faces = 3149 Number of boundary faces = 1903 Processor 9 Number of cells = 18802 Number of points = 21444 Number of faces shared with processor 1 = 391 Number of faces shared with processor 13 = 790 Number of faces shared with processor 17 = 136 Number of faces shared with processor 25 = 1159 Number of faces shared with processor 29 = 87 Number of processor patches = 5 Number of processor faces = 2563 Number of boundary faces = 2529 Processor 10 Number of cells = 18878 Number of points = 21365 Number of faces shared with processor 0 = 248 Number of faces shared with processor 2 = 240 Number of faces shared with processor 7 = 386 Number of faces shared with processor 18 = 785 Number of faces shared with processor 24 = 93 Number of faces shared with processor 26 = 992 Number of processor patches = 6 Number of processor faces = 2744 Number of boundary faces = 2046 Processor 11 Number of cells = 18512 Number of points = 20961 Number of faces shared with processor 1 = 175 Number of faces shared with processor 15 = 296 Number of faces shared with processor 17 = 322 Number of faces shared with processor 19 = 904 Number of faces shared with processor 27 = 714 Number of processor patches = 5 Number of processor faces = 2411 Number of boundary faces = 2303 Processor 12 Number of cells = 18520 Number of points = 21507 Number of faces shared with processor 8 = 940 Number of faces shared with processor 16 = 217 Number of faces shared with processor 20 = 271 Number of faces shared with processor 28 = 557 Number of processor patches = 4 Number of processor faces = 1985 Number of boundary faces = 3767 Processor 13 Number of cells = 18690 Number of points = 21228 Number of faces shared with processor 1 = 35 Number of faces shared with processor 5 = 1004 Number of faces shared with processor 9 = 790 Number of faces shared with processor 17 = 22 Number of faces shared with processor 21 = 181 Number of faces shared with processor 25 = 194 Number of faces shared with processor 29 = 498 Number of processor patches = 7 Number of processor faces = 2724 Number of boundary faces = 2158 Processor 14 Number of cells = 18884 Number of points = 21287 Number of faces shared with processor 6 = 982 Number of faces shared with processor 30 = 915 Number of processor patches = 2 Number of processor faces = 1897 Number of boundary faces = 2731 Processor 15 Number of cells = 18742 Number of points = 21822 Number of faces shared with processor 1 = 16 Number of faces shared with processor 3 = 388 Number of faces shared with processor 11 = 296 Number of faces shared with processor 17 = 124 Number of faces shared with processor 21 = 463 Number of faces shared with processor 23 = 408 Number of faces shared with processor 27 = 728 Number of faces shared with processor 29 = 173 Number of faces shared with processor 31 = 759 Number of processor patches = 9 Number of processor faces = 3355 Number of boundary faces = 2521 Processor 16 Number of cells = 18820 Number of points = 21189 Number of faces shared with processor 0 = 757 Number of faces shared with processor 8 = 834 Number of faces shared with processor 12 = 217 Number of faces shared with processor 24 = 117 Number of faces shared with processor 28 = 666 Number of processor patches = 5 Number of processor faces = 2591 Number of boundary faces = 1969 Processor 17 Number of cells = 18514 Number of points = 21000 Number of faces shared with processor 1 = 1002 Number of faces shared with processor 5 = 115 Number of faces shared with processor 9 = 136 Number of faces shared with processor 11 = 322 Number of faces shared with processor 13 = 22 Number of faces shared with processor 15 = 124 Number of faces shared with processor 21 = 719 Number of faces shared with processor 25 = 391 Number of processor patches = 8 Number of processor faces = 2831 Number of boundary faces = 1955 Processor 18 Number of cells = 18779 Number of points = 21403 Number of faces shared with processor 2 = 912 Number of faces shared with processor 10 = 785 Number of faces shared with processor 22 = 296 Number of faces shared with processor 26 = 122 Number of processor patches = 4 Number of processor faces = 2115 Number of boundary faces = 2939 Processor 19 Number of cells = 18512 Number of points = 20978 Number of faces shared with processor 1 = 429 Number of faces shared with processor 3 = 734 Number of faces shared with processor 11 = 904 Number of faces shared with processor 27 = 352 Number of processor patches = 4 Number of processor faces = 2419 Number of boundary faces = 2325 Processor 20 Number of cells = 18884 Number of points = 21151 Number of faces shared with processor 4 = 945 Number of faces shared with processor 12 = 271 Number of processor patches = 2 Number of processor faces = 1216 Number of boundary faces = 3150 Processor 21 Number of cells = 18512 Number of points = 21057 Number of faces shared with processor 1 = 89 Number of faces shared with processor 5 = 657 Number of faces shared with processor 13 = 181 Number of faces shared with processor 15 = 463 Number of faces shared with processor 17 = 719 Number of faces shared with processor 29 = 942 Number of processor patches = 6 Number of processor faces = 3051 Number of boundary faces = 1843 Processor 22 Number of cells = 18884 Number of points = 21297 Number of faces shared with processor 2 = 640 Number of faces shared with processor 6 = 912 Number of faces shared with processor 18 = 296 Number of processor patches = 3 Number of processor faces = 1848 Number of boundary faces = 2802 Processor 23 Number of cells = 18884 Number of points = 21260 Number of faces shared with processor 7 = 819 Number of faces shared with processor 15 = 408 Number of faces shared with processor 31 = 328 Number of processor patches = 3 Number of processor faces = 1555 Number of boundary faces = 3019 Processor 24 Number of cells = 18540 Number of points = 21032 Number of faces shared with processor 0 = 772 Number of faces shared with processor 8 = 1180 Number of faces shared with processor 10 = 93 Number of faces shared with processor 16 = 117 Number of faces shared with processor 26 = 765 Number of processor patches = 5 Number of processor faces = 2927 Number of boundary faces = 1869 Processor 25 Number of cells = 18720 Number of points = 21266 Number of faces shared with processor 1 = 10 Number of faces shared with processor 5 = 919 Number of faces shared with processor 9 = 1159 Number of faces shared with processor 13 = 194 Number of faces shared with processor 17 = 391 Number of processor patches = 5 Number of processor faces = 2673 Number of boundary faces = 2219 Processor 26 Number of cells = 18527 Number of points = 20937 Number of faces shared with processor 0 = 84 Number of faces shared with processor 2 = 716 Number of faces shared with processor 10 = 992 Number of faces shared with processor 18 = 122 Number of faces shared with processor 24 = 765 Number of processor patches = 5 Number of processor faces = 2679 Number of boundary faces = 1959 Processor 27 Number of cells = 18537 Number of points = 21158 Number of faces shared with processor 1 = 34 Number of faces shared with processor 3 = 1075 Number of faces shared with processor 11 = 714 Number of faces shared with processor 15 = 728 Number of faces shared with processor 19 = 352 Number of faces shared with processor 29 = 22 Number of processor patches = 6 Number of processor faces = 2925 Number of boundary faces = 2101 Processor 28 Number of cells = 18526 Number of points = 20963 Number of faces shared with processor 8 = 55 Number of faces shared with processor 12 = 557 Number of faces shared with processor 16 = 666 Number of faces shared with processor 31 = 234 Number of processor patches = 4 Number of processor faces = 1512 Number of boundary faces = 3178 Processor 29 Number of cells = 18512 Number of points = 21051 Number of faces shared with processor 1 = 841 Number of faces shared with processor 3 = 474 Number of faces shared with processor 9 = 87 Number of faces shared with processor 13 = 498 Number of faces shared with processor 15 = 173 Number of faces shared with processor 21 = 942 Number of faces shared with processor 27 = 22 Number of processor patches = 7 Number of processor faces = 3037 Number of boundary faces = 1841 Processor 30 Number of cells = 18884 Number of points = 21229 Number of faces shared with processor 4 = 897 Number of faces shared with processor 14 = 915 Number of processor patches = 2 Number of processor faces = 1812 Number of boundary faces = 2706 Processor 31 Number of cells = 18884 Number of points = 21660 Number of faces shared with processor 15 = 759 Number of faces shared with processor 23 = 328 Number of faces shared with processor 28 = 234 Number of processor patches = 3 Number of processor faces = 1321 Number of boundary faces = 4025 Number of processor faces = 38495 Max number of cells = 18884 (0.990708% above average 18698.8) Max number of processor patches = 11 (131.579% above average 4.75) Max number of faces between processors = 3355 (39.4467% above average 2405.94) Time = 0 AMI: Creating addressing and weights between 4515 source faces and 4515 target faces --> FOAM Warning : From void Foam::advancingFrontAMI::checkPatches() const in file AMIInterpolation/AMIInterpolation/advancingFrontAMI/advancingFrontAMI.C at line 71 Source and target patch bounding boxes are not similar source box span : (0.0420091 0.0511361 0.0349999) target box span : (0.0186894 0.064626 0.0349999) source box : (0.0208063 -0.00369368 0) (0.0628154 0.0474424 0.0349999) target box : (0.0099481 0.0127 0) (0.0286375 0.077326 0.0349999) inflated target box : (0.0061564 0.00890831 -0.0037917) (0.0324292 0.0811177 0.0387916) --> FOAM FATAL ERROR: (openfoam-2206) Unable to set target face for source face 4514 From virtual bool Foam::faceAreaWeightAMI::setNextFaces(Foam::label&, Foam::label&, Foam::label&, const Foam::bitSet&, Foam::labelList&, const Foam::DynamicList<int>&, bool) const in file AMIInterpolation/AMIInterpolation/faceAreaWeightAMI/faceAreaWeightAMI.C at line 363. FOAM aborting #0 Foam::error::printStack(Foam::Ostream&) at ??:? #1 Foam::error::simpleExit(int, bool) at ??:? #2 Foam::error::exiting(int, bool) at ??:? #3 Foam::faceAreaWeightAMI::setNextFaces(int&, int&, int&, Foam::bitSet const&, Foam::List<int>&, Foam::DynamicList<int, 16> const&, bool) const at ??:? #4 Foam::faceAreaWeightAMI::calcAddressing(Foam::List<Foam::DynamicList<int, 16> >&, Foam::List<Foam::DynamicList<double, 16> >&, Foam::List<Foam::DynamicList<Foam::Vector<double>, 16> >&, Foam::List<Foam::DynamicList<int, 16> >&, Foam::List<Foam::DynamicList<double, 16> >&, int, int) at ??:? #5 Foam::faceAreaWeightAMI::calculate(Foam::PrimitivePatch<Foam::SubList<Foam::face>, Foam::Field<Foam::Vector<double> > const&> const&, Foam::PrimitivePatch<Foam::SubList<Foam::face>, Foam::Field<Foam::Vector<double> > const&> const&, Foam::autoPtr<Foam::searchableSurface> const&) at ??:? #6 Foam::cyclicAMIPolyPatch::resetAMI(Foam::UList<Foam::Vector<double> > const&) const at ??:? #7 Foam::cyclicAMIPolyPatch::AMI() const at ??:? #8 Foam::cyclicAMIPolyPatch::applyLowWeightCorrection() const at ??:? #9 Foam::cyclicAMIFvPatchField<double>::patchNeighbourField() const at ??:? #10 Foam::coupledFvPatchField<double>::evaluate(Foam::UPstream::commsTypes) at ??:? #11 Foam::cyclicAMIFvPatchField<double>::cyclicAMIFvPatchField(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #12 Foam::fvPatchField<double>::adddictionaryConstructorToTable<Foam::cyclicAMIFvPatchField<double> >::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) at ??:? #13 Foam::fvPatchField<double>::New(Foam::fvPatch const&, Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar #14 Foam::GeometricBoundaryField<double, Foam::fvPatchField, Foam::volMesh>::readField(Foam::DimensionedField<double, Foam::volMesh> const&, Foam::dictionary const&) in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar #15 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields(Foam::dictionary const&) in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar #16 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::readFields() in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar #17 Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh>::GeometricField(Foam::IOobject const&, Foam::fvMesh const&, bool) in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar #18 void Foam::fieldsDistributor::readFields<double, Foam::fvPatchField, Foam::volMesh>(Foam::volMesh::Mesh const&, Foam::IOobjectList const&, Foam::PtrList<Foam::GeometricField<double, Foam::fvPatchField, Foam::volMesh> >&, bool) at ??:? #19 Foam::fvFieldDecomposer::fieldsCache::readAllFields(Foam::fvMesh const&, Foam::IOobjectList const&) at ??:? #20 ? in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar #21 __libc_start_main in /lib/x86_64-linux-gnu/libc.so.6 #22 ? in ~/OpenFOAM/OpenFOAM-v2206/platforms/linux64GccDPInt32Opt/bin/decomposePar
请问各位老师有没有什么解决方案🙏