|
[Sponsors] |
cyclic boundary condition from ansys mesh (3d) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
Yesterday, 23:34 |
cyclic boundary condition from ansys mesh (3d)
|
#1 |
New Member
Zhicheng Kai
Join Date: Oct 2024
Posts: 5
Rep Power: 2 |
Hi Foamers,
Have anyone used ansys generated mesh with fluentMeshToFoam as openFoam mesh input? I have tried updating the boundary in polyMesh folder to cyclic or cyclicAMI, but neither works. My geometry is an extruded shape and the mesh needs to be unstructured. The two faces in the extrusion direction should be periodic and I'm sure their geometry can match up. Thank you all for helping! |
|
Today, 04:52 |
|
#2 |
Senior Member
Join Date: Oct 2017
Posts: 129
Rep Power: 9 |
Yes, I have done that many times.
What exactly did your polyMesh/boundary file look like after you changed it? What does “neither works” mean? Are you getting an error message? You need to provide more information so that we can help you. |
|
Today, 06:56 |
|
#3 |
New Member
Zhicheng Kai
Join Date: Oct 2024
Posts: 5
Rep Power: 2 |
Thank you so much for the reply!
The original boundary file looks like this: Code:
FoamFile { 10 ( wall { type wall; inGroups 1(wall); nFaces 21644; startFace 4767360; } inlet_1 { type patch; nFaces 420; startFace 4789004; } outlet { type patch; nFaces 5516; startFace 4789424; } top { type patch; nFaces 7952; startFace 4794940; } cyclic_front { type patch; nFaces 57684; startFace 4808184; } cyclic_back { type patch; nFaces 57684; startFace 4865868; } ) // ************************************************************************* // Code:
cyclic_front { type cyclic; neighbourPatch cyclic_back; nFaces 57684; startFace 4808184; } cyclic_back { type cyclic; neighbourPatch cyclic_front; nFaces 57684; startFace 4865868; } Code:
face 0 area does not match neighbour by 143.32% -- possible face ordering problem. patch:cyclic_front my area:3.59926e-07 neighbour area:2.18012e-06 matching tolerance:0.0001 Mesh face:4808184 fc:(0.152289 0.0103259 0.03) Neighbour fc:(0.195758 0.0111483 0) 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. Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class dictionary; location "system"; object createPatchDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // pointSync false; patches ( { //- Master side patch name cyclic_front; patchInfo { type cyclicAMI; matchTolerance 0.0001; neighbourPatch cyclic_back; transform translational; } constructFrom patches; patches (cyclic_front); } { //- Slave side patch name cyclic_back; patchInfo { type cyclicAMI; matchTolerance 0.0001; neighbourPatch cyclic_front; transform translational; } constructFrom patches; patches (cyclic_back); } ); // patches (cyclic_front cyclic_back); patchPairs ( frontAndBack { // List of existing patch names master cyclic_front; slave cyclic_back; type cyclic; transform translational; } ); Code:
/*--------------------------------*- C++ -*----------------------------------*\ | ========= | | | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox | | \\ / O peration | Version: v2012 | | \\ / A nd | Website: www.openfoam.com | | \\/ M anipulation | | \*---------------------------------------------------------------------------*/ FoamFile { version 2.0; format ascii; class polyBoundaryMesh; location "constant/polyMesh"; object boundary; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // 10 ( wall { type wall; inGroups 1(wall); nFaces 21644; startFace 4767360; } inlet_1 { type patch; nFaces 420; startFace 4789004; } outlet { type patch; nFaces 5516; startFace 4789424; } top { type patch; nFaces 7952; startFace 4794940; } } cyclic_front { type cyclicAMI; inGroups 1(cyclicAMI); nFaces 57684; startFace 4808184; matchTolerance 0.0001; transform unknown; neighbourPatch cyclic_back; AMIMethod faceAreaWeightAMI; restartUncoveredSourceFace 1; } cyclic_back { type cyclicAMI; inGroups 1(cyclicAMI); nFaces 57684; startFace 4865868; matchTolerance 0.0001; transform unknown; neighbourPatch cyclic_front; AMIMethod faceAreaWeightAMI; restartUncoveredSourceFace 1; } ) // ************************************************************************* // Code:
Unable to set target face for source face 57683 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 347. FOAM aborting |
|
Tags |
cyclic ami, cyclic bc, fluentmeshtofoam, openfoam |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
help!!problem in openfoam when i use icem mesh file with cyclic boundary condition | heheda | OpenFOAM Pre-Processing | 0 | December 3, 2020 23:06 |
Radiation in semi-transparent media with surface-to-surface model? | mpeppels | CFX | 11 | August 22, 2019 08:30 |
Wrong flow in ratating domain problem | Sanyo | CFX | 17 | August 15, 2015 07:20 |
An error has occurred in cfx5solve: | volo87 | CFX | 5 | June 14, 2013 18:44 |
Low Mixing time Problem | Mavier | CFX | 5 | April 29, 2013 01:00 |