|
[Sponsors] |
[mesh manipulation] local mesh refinement at channel geometries |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 5, 2010, 17:10 |
local mesh refinement at channel geometries
|
#1 |
New Member
Kyungrock Kim
Join Date: Jun 2009
Posts: 20
Rep Power: 17 |
Dear All Formers
I just saw you post for making local mesh refinement in channel geometries I want to refine grid only near wall , say, quarter of channel height at each wall. It looks like cyclic bc prevent mesh generation. Have you any experience to this problem? I specify cellSet name c0; action new; topoSetSources ( boxToCell { box ( 0 0 0 ) ( 4 0.25 2 ); // box ( 0 1.75 0) (4 2 2); } ); and refineMeshDict set c0; coordinateSystem global; globalCoeffs { tan1 ( 1 0 0 ); tan2 ( 0 1 0 ); tan3 ( 0 0 1 ); } directions ( tan1 tan2 tan3); useHexTopology yes; geometricCut no; writeMesh no; But It show a error below. Do you have any idea for this remedy Thanks in advance Kyungrock 3D case; refining all directions --> FOAM Warning : From function syncTools<class T, class CombineOp>::syncEdgeList(const polyMesh&, UList<T>&, const CombineOp&, const T&, const bool) in file /home/dm2/henry/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude/syncToolsTemplates.C at line 1312 There are decomposed cyclics in this mesh with transformations. This is not supported. The result will be incorrect cyclicPolyPatch:rder : Writing half0 faces to OBJ file "sides1_half0_faces.obj" cyclicPolyPatch:rder : Writing half1 faces to OBJ file "sides1_half1_faces.obj" cyclicPolyPatch:rder : Dumping currently found cyclic match as lines between corresponding face centres to file "/storage/kkim/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/channelFoam/channel395/sides1_faceCentres.obj" --> FOAM Serious Error : From function cyclicPolyPatch:rder(const primitivePatch&, labelList&, labelList&) const in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 1547 Patch:sides1 : Cannot match vectors to faces on both sides of patch Perhaps your faces do not match? The obj files written contain the current match. Continuing with incorrect face ordering from now on! cyclicPolyPatch::getGeometricHalves : Writing half0 faces to OBJ file "/storage/kkim/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/channelFoam/channel395/sides2_half0_faces.obj" cyclicPolyPatch::getGeometricHalves : Writing half1 faces to OBJ file "/storage/kkim/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/channelFoam/channel395/sides2_half1_faces.obj" cyclicPolyPatch::getGeometricHalves : Writing half0 face centres to OBJ file "/storage/kkim/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/channelFoam/channel395/sides2_half0.obj" cyclicPolyPatch::getGeometricHalves : Writing half1 face centres to OBJ file "/storage/kkim/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/channelFoam/channel395/sides2_half1.obj" --> FOAM Serious Error : From function cyclicPolyPatch::getGeometricHalves(const primitivePatch&, labelList&, labelList&) const in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 438 Patch sides2 gets decomposed in two zones ofinequal size: 4015 and 3985 This means that the patch is either not two separate regions or one region where the angle between the different regions is not sufficiently sharp. Please adapt the featureCos setting. Continuing with incorrect face ordering from now on! cyclicPolyPatchrder : Writing half0 faces to OBJ file "inout1_half0_faces.obj" cyclicPolyPatchrder : Writing half1 faces to OBJ file "inout1_half1_faces.obj" cyclicPolyPatchrder : Dumping currently found cyclic match as lines between corresponding face centres to file "/storage/kkim/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/channelFoam/channel395/inout1_faceCentres.obj" --> FOAM Serious Error : From function cyclicPolyPatch:rder(const primitivePatch&, labelList&, labelList&) const in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 1547 Patch:inout1 : Cannot match vectors to faces on both sides of patch Perhaps your faces do not match? The obj files written contain the current match. Continuing with incorrect face ordering from now on! cyclicPolyPatchrder : Writing half0 faces to OBJ file "inout2_half0_faces.obj" cyclicPolyPatchrder : Writing half1 faces to OBJ file "inout2_half1_faces.obj" cyclicPolyPatchrder : Dumping currently found cyclic match as lines between corresponding face centres to file "/storage/kkim/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/channelFoam/channel395/inout2_faceCentres.obj" --> FOAM Serious Error : From function cyclicPolyPatchrder(const primitivePatch&, labelList&, labelList&) const in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 1547 Patch:inout2 : Cannot match vectors to faces on both sides of patch Perhaps your faces do not match? The obj files written contain the current match. Continuing with incorrect face ordering from now on! face 0 area does not match neighbour 4000 by 191.079% -- possible face ordering problem. patch:sides1 my area:0.0510945 neighbour area:0.00116558 matching tolerance:0.001 Mesh face:1430800 vertices:4((0 0 0) (4 0.00480001 2) (0.05 0.00480001 0) (0.05 0 0)) Neighbour face:1434800 vertices:4((2.7 0.356633 0) (2.65 0.356633 0) (2.65 0.379945 0) (2.7 0.379945 0)) Rerun with cyclic debug flag set for more information. From function cyclicPolyPatch::calcTransforms() in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 180. FOAM exiting |
|
February 8, 2010, 09:29 |
|
#2 |
New Member
Jiang Lijun
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
Hi, Kyungrock
Just change the boundary type "cyclic" to other one, "wall", for example at first and refineMesh, and then change back to "cyclic" again, hoho. Don't know whether solve your problem in this way, good luck! Lijun |
|
February 8, 2010, 12:18 |
|
#3 |
New Member
Jiang Lijun
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
Hi,
finally, I tried the case channel395 by myself. There is a warning, but no error appear. attach it for u Best wishes, Lijun |
|
February 8, 2010, 14:29 |
|
#4 |
New Member
Kyungrock Kim
Join Date: Jun 2009
Posts: 20
Rep Power: 17 |
Dear Jiang
I so much appreciate for your reply Kyungrock |
|
February 8, 2010, 18:18 |
channel source files
|
#5 |
New Member
Kyungrock Kim
Join Date: Jun 2009
Posts: 20
Rep Power: 17 |
Here is channel source files.
Thanks in advance Kyungrock |
|
February 9, 2010, 09:48 |
|
#6 |
New Member
Jiang Lijun
Join Date: Mar 2009
Posts: 14
Rep Power: 17 |
Hi, Kyungrock
I tried your case this morning, and encounter the same problem. It 's a little strange. If I change the domain refined to {(0.1 0 0) (3.9 0.25 2)}, It works and gives a good result. Maybe the problem comes from the two cyclic boundary interface each other. I am not sure about that. I am sorry for that cann't solve your problem at present, but I will pay attention to this issue. Best wishes, Lijun |
|
February 9, 2010, 15:25 |
|
#7 |
New Member
Kyungrock Kim
Join Date: Jun 2009
Posts: 20
Rep Power: 17 |
Hi Jiang
Dr. Eugene recommended me to use createPatch option after adjusting refineMesh with different boundary patch, not cyclic. I'll do that way. If you succeed in creating local mesh refinement, please let me know. Thanks Kyungrock |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[snappyHexMesh] snappyHexMesh does not create any mesh except one for the reference cell | Arman_N | OpenFOAM Meshing & Mesh Conversion | 1 | May 20, 2019 18:16 |
[snappyHexMesh] Removing further cells after SHM | zonda | OpenFOAM Meshing & Mesh Conversion | 14 | September 15, 2017 08:50 |
[snappyHexMesh] SHM problem : KVLCC2 with appendage mesh | sc.park | OpenFOAM Meshing & Mesh Conversion | 1 | March 13, 2016 14:28 |
[snappyHexMesh] SnappyHexMesh no layers and no decent mesh for complex geometry | pizzaspinate | OpenFOAM Meshing & Mesh Conversion | 1 | February 25, 2015 08:05 |
IcoFoam parallel woes | msrinath80 | OpenFOAM Running, Solving & CFD | 9 | July 22, 2007 03:58 |