请教关于进口条件的设置的问题
-
@cfd-china 好的,我这么设置周期边界没有问题吧,两个面的距离是22mm
| ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 8 ( hub { type wall; nFaces 30748; startFace 5380555; } inlet { type patch; nFaces 5546; startFace 5411303; } outlet { type patch; nFaces 4543; startFace 5416849; } per1 { type cyclicAMI; nFaces 15340; startFace 5421392; neighbourPatch per2; matchTolerance 0.01; transform translational; separationVector (0 0.022 0); } per2 { type cyclicAMI; nFaces 15340; startFace 5436732; neighbourPatch per1; matchTolerance 0.01; transform translational; separationVector (0 -0.022 0); } ps { type wall; nFaces 10266; startFace 5452072; } ss { type wall; nFaces 11151; startFace 5462338; } sym { type symmetryPlane; nFaces 30748; startFace 5473489; } ) // ************************************************************************* //
-
@cfd-china 使用cyclic会有这个问题,因为两侧网格并不完全匹配
/*---------------------------------------------------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: 3.0.1 | | \\ / A nd | Web: www.OpenFOAM.org | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ Build : 3.0.1-119cac7e8750 Exec : simpleFoam Date : Mar 25 2017 Time : 05:33:37 Host : "ubuntu" PID : 48984 Case : /home/cc/OpenFOAM/cc-3.0.1/run/tutorials/incompressible/simpleFoam/cynasa nProcs : 1 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 --> FOAM FATAL ERROR: face 47 area does not match neighbour by 10.4554% -- possible face ordering problem. patch:per1 my area:1.63789e-10 neighbour area:1.47515e-10 matching tolerance:0.1 Mesh face:5421439 fc:(0.0411928 0.00446869 5e-07) Neighbour fc:(0.040347 0.0264296 5e-07) If you are certain your matching is correct you can increase the 'matchTolerance' setting in the patch dictionary in the boundary file. Rerun with cyclic debug flag set for more information. From function cyclicPolyPatch::calcTransforms() in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 221. FOAM exiting