CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Meshing & Mesh Conversion

[Other] Cyclic patch problem!

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By utkarsh855

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 20, 2012, 12:20
Default Cyclic patch problem!
  #1
New Member
 
Stefano
Join Date: Sep 2012
Location: Modena
Posts: 1
Rep Power: 0
SMartella is on a distinguished road
Hi foamers,

I have a problem with cyclic patches. I imported a mesh of a circular segment of a ventilated brake from gambit in OpenFoam (2.1.x) with fluent3DMeshToFoam (checkMesh is ok!). I have a periodic patch "p" (in gambit and fluent) that was divided in two patches (in openFoam): p and p_shadow. These zones in file costant/polymesh/boundary are of the "patch" type.

Code:
p_shadow
    {
        type            patch;
        nFaces          5909;
        startFace       1364963;
    }
    p
    {
        type            patch;
        nFaces          5909;
        startFace       1370872;
I want to convert these patches to cyclic. I tried to manually change the boundary file following the file boundary of mixer tutorial, then I run SRFSimpleFoam but there was a problem:

Code:
--> FOAM FATAL ERROR: 
face 607 area does not match neighbour by 0.0105585% -- possible face ordering problem.
patch:p_shadow my area:5.21282e-07 neighbour area:5.21337e-07 matching tolerance:0.0001
Mesh face:1365570 fc:(0.0397671 0.198428 1.98036e-08)
Neighbour fc:(0.0397671 0.160532 0.116633)
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 220.

FOAM exiting
I did a checkMesh and it failed.

Code:
**Error in coupled point location: 3 faces have their 0th vertex not opposite their coupled equivalent. Average mismatch 1.34794937061e-05.
  <<Writing 3 faces with incorrectly matched 0th vertex to set coupledFaces
I understand that the problem is in manually changing boundary file and I read that the correct way to create a cyclic is to use createPatch, but i don't understand how to use it!

Can you help me? Thank you a lot.

Stefano
SMartella is offline   Reply With Quote

Old   October 5, 2012, 08:36
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings Stefano and welcome to the forum!

I hope it's not too late... but even if it is, a similar question and answer are available here: http://www.cfd-online.com/Forums/ope...patchdict.html

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   October 24, 2012, 11:23
Default
  #3
Member
 
Dejan Morar
Join Date: Nov 2010
Posts: 78
Rep Power: 16
morard is on a distinguished road
Hi,

I've used one geometry with some cyclic patches in OF 1.7.1 and everything worked fine. Now, when I want to use the same geometry in OF 2.1.x, it's not working. I run blockMesh and somehow geometry is created but when I run checkMesh I have the same error as SMartella

**Error in coupled point location: 1150 faces have their 0th vertex not opposite their coupled equivalent. Average mismatch 0.0166011.
<<Writing 1150 faces with incorrectly matched 0th vertex to set coupledFaces

then when I run paraFoam, it crashes with the following error:

--> FOAM FATAL ERROR:
More than one patch accessing the same transform but not of the same sign.
patch:fluid3_half0 transform:0 sign:-1 current transforms-1 0 0)

I didn't face anything similar in OF 1.7.1 so I can't imagine what's wrong here.

Problem is somewhere in the following patches:

boundary
(
fluid1_half0
{
type cyclic;
neighbourPatch fluid1_half1;
transform rotational;
rotationAxis (0 0 1);
rotationCentre (0 -50. 0);
faces
(
(17 21 43 39)
(21 0 22 43)
);
}

fluid1_half1
{
type cyclic;
neighbourPatch fluid1_half0;
transform rotational;
rotationAxis (0 0 1);
rotationCentre (0 -50. 0);
faces
(
(19 15 37 41)
(19 14 36 41)
);
}
..............

Any idea, suggestion...?

Regards,
Dejan
morard is offline   Reply With Quote

Old   November 14, 2012, 04:23
Default
  #4
New Member
 
James Davies
Join Date: Aug 2012
Posts: 7
Rep Power: 13
james80 is on a distinguished road
--> FOAM FATAL ERROR:
More than one patch accessing the same transform but not of the same sign.
patch:fluid3_half0 transform:0 sign:-1 current transforms-1 0 0)

I didn't face anything similar in OF 1.7.1 so I can't imagine what's wrong here.

Problem is somewhere in the following patches:

boundary
(
fluid1_half0
{
type cyclic;
neighbourPatch fluid1_half1;
transform rotational;
rotationAxis (0 0 1);
rotationCentre (0 -50. 0);
faces
(
(17 21 43 39)
(21 0 22 43)
);
}

fluid1_half1
{
type cyclic;
neighbourPatch fluid1_half0;
transform rotational;
rotationAxis (0 0 1);
rotationCentre (0 -50. 0);
faces
(
(19 15 37 41)
(19 14 36 41)
);
}
..............

Any idea, suggestion...?

[/QUOTE]

Hi Dejan, i apreciate this post is from a while back but i am also having this problem (http://www.cfd-online.com/Forums/ope...esh-error.html) Did you ever figure out a way around it?

Thanks a lot

James
james80 is offline   Reply With Quote

Old   November 14, 2012, 04:42
Default
  #5
Member
 
Dejan Morar
Join Date: Nov 2010
Posts: 78
Rep Power: 16
morard is on a distinguished road
Hi James,

and thanks for the replay. Yes, I've found a way around, I'm not using the blockMesh any more!
No, I have no idea what is wrong there, maybe something with mesh numbering, but until now I didn't find how to do it on the right way. In order to understand it, one has to dive deeply into the code, but I am busy with some other things at the moment. If you find any solution to this problem, please let me know.

Regards,
Dejan
morard is offline   Reply With Quote

Old   June 6, 2019, 13:09
Default
  #6
New Member
 
Utkarsh Mishra
Join Date: Jun 2019
Posts: 1
Rep Power: 0
utkarsh855 is on a distinguished road
Hey hello
Actually I am using block mesh for creating the mesh.
I am having the same problem don't know what to do?
It would be great if anyone could help me out
nskelly likes this.
utkarsh855 is offline   Reply With Quote

Old   July 26, 2023, 16:00
Default
  #7
Member
 
Join Date: Aug 2012
Posts: 40
Rep Power: 13
cesarjets is on a distinguished road
How did you solve this problem? I'm having the same issue. Thanks
cesarjets is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
openfoam ext4.0 and problem in cyclic condition Hgholami OpenFOAM Pre-Processing 2 February 19, 2019 10:53
[mesh manipulation] Importing Multiple Meshes thomasnwalshiii OpenFOAM Meshing & Mesh Conversion 18 December 19, 2015 18:57
[blockMesh] Cyclic BC's: Possible face ordering problem? (Channel flow) sega OpenFOAM Meshing & Mesh Conversion 3 September 28, 2010 12:46
chtMultiRegionFoam Tutorial m.nichols19 OpenFOAM 12 September 9, 2010 11:56
Multicomponent fluid Andrea CFX 2 October 11, 2004 05:12


All times are GMT -4. The time now is 15:54.