|
[Sponsors] |
May 26, 2016, 15:43 |
OF ext-3.2 new createPatch cyclics issue
|
#1 |
Member
Jack
Join Date: May 2015
Posts: 98
Rep Power: 11 |
Hi all,
I have a problem when running createPatch to create cyclic boundaries in ext-3.2. When I run the case in OF-3.0.0 everything is fine. My createPatchDict there looks like Code:
patches ( { // Name of new patch name PER11; patchInfo { type cyclic; neighbourPatch PER22; transform rotational; rotationAxis (0 0 1); rotationCentre (0 0 0); } // How to construct: either from 'patches' or 'set' constructFrom patches; // If constructFrom = patches : names of patches. Wildcards allowed. patches (PER1); // If constructFrom = set : name of faceSet set f0; } { // Name of new patch name PER22; patchInfo { type cyclic; neighbourPatch PER11; transform rotational; rotationAxis (0 0 1); rotationCentre (0 0 0); } // How to construct: either from 'patches' or 'set' constructFrom patches; // If constructFrom = patches : names of patches. Wildcards allowed. patches (PER2); // If constructFrom = set : name of faceSet set f0; } ); After some searching I found that the following format runs in ext-3.2, however I now get the all annoying face ordering problem. Code:
patchInfo ( { // Name of new patch name PER11; // Type of new patch dictionary { type cyclic; neighborPatch PER22; transform rotational; rotationAxis (0 0 1); rotationCentre (0 0 0); rotationAngle 27.692307692; } // How to construct: either from 'patches' or 'set' constructFrom patches; // If constructFrom = patches : names of patches. Wildcards allowed. patches (PER1); // If constructFrom = set : name of faceSet set f0; } { // Name of new patch name PER22; // Type of new patch dictionary { type cyclic; neighborPatch PER11; transform rotational; rotationAxis (0 0 1); rotationCentre (0 0 0); rotationAngle 27.692307692; } // How to construct: either from 'patches' or 'set' constructFrom patches; // If constructFrom = patches : names of patches. Wildcards allowed. patches (PER2); // If constructFrom = set : name of faceSet set f0; } ); I need to understand what is different in this version and why I am getting the error Code:
--> FOAM FATAL ERROR: face 671 area does not match neighbour 1343 by 124.364% -- possible face ordering problem. patch:PER11 my area:7.7101e-07 neighbour area:1.79786e-07 matching tolerance:0.001 Mesh face:135814 vertices:4((-0.047228 0.00712133 0.0547229) (-0.0473139 0.00652421 0.0550409) (-0.0462156 0.00621963 0.0550629) (-0.0461318 0.00681568 0.054742)) Neighbour face:136486 vertices:4((-0.0285095 0.00747647 0.0480262) (-0.0283014 0.00742829 0.0480351) (-0.0283067 0.00740811 0.0471949) (-0.0285155 0.00745355 0.0471839)) Other errors also exist, only the largest is reported. Please rerun with cyclic debug flag set for more information. From function cyclicPolyPatch::calcTransforms() in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 293. FOAM aborting |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
There is a bug in createPatch? | feno102 | OpenFOAM Pre-Processing | 6 | November 1, 2017 03:24 |