CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Running, Solving & CFD

Error while using cyclic boundaries and dynamicMesh

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By torjo

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   November 29, 2022, 08:03
Default Error while using cyclic boundaries and dynamicMesh
  #1
Member
 
Al
Join Date: May 2019
Posts: 37
Rep Power: 7
aliyah. is on a distinguished road
Hello

I get the following error when I use cyclic boundaries with dynamic mesh.

Code:
Selected 2080 cells for refinement out of 100000. 
Cannot find point in pts1 matching point 3 coord:(0.0229922953 7.4724959725e-05 5.748073825e-05) in pts0 when using tolerance 5.776742700227062e-09
Searching started from:0 in pts1
Compared coord: (0.0229922953 1.149614765e-05 0.0001149614765) at index 0 with difference to point 8.545126064711205e-05   
Compared coord: (0.0229922953 3.448844295e-05 0.0001149614765) at index 1 with difference to point 7.016418282820567e-05  

 --> FOAM Serious Error :  
     From virtual bool Foam::cyclicPolyPatch::order(Foam::PstreamBuffers&, const primitivePatch&, Foam::labelList&, Foam::labelList&) const
     in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 
     Patch:wallRight : 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 2 area does not match neighbour by 199.2015984000016% -- possible face ordering problem.
 patch:wallLeft my area:2.643233502263156e-06 neighbour area:5.286456431624018e-09 matching tolerance:0.0001 
Mesh face:241456 fc:(0.007434964041583073 6.268107273923273e-05 0.0001149614765) 
Neighbour fc:(0.0229922953 5.748073824999999e-05 0.0001149614765)
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 void Foam::cyclicPolyPatch::calcTransforms(const primitivePatch&, const pointField&, const vectorField&, const pointField&, const vectorField&)
   in file meshes/polyMesh/polyPatches/constraint/cyclic/cyclicPolyPatch.C at line 215.
Any ideas on how to fix this?
aliyah. is offline   Reply With Quote

Old   November 29, 2022, 09:58
Default cyclicAMI
  #2
New Member
 
Join Date: Apr 2018
Posts: 8
Rep Power: 8
torjo is on a distinguished road
Hi aliyah,

I have run into the same problem. Using cyclicAMI seems to work with dynamic mesh refinement, but not cyclic.
It seems the cyclic 1-1 coupling is not possible with dynamic mesh refinement (yet).

I think the foundation version has a new cyclic boundary condition that might work with dynamic mesh refinement.

br.
torjo
aliyah. likes this.
torjo is offline   Reply With Quote

Old   November 29, 2022, 10:13
Default
  #3
Member
 
Al
Join Date: May 2019
Posts: 37
Rep Power: 7
aliyah. is on a distinguished road
Hi torjo

yes, when I change it to the cyclicAMI it is working. Thanks

Best,
aliyah. 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
cyclic and cyclicGgi in foam-extend-3.0 allenfieldin OpenFOAM Programming & Development 5 November 8, 2014 06:28
dynamicMesh, dynamicFvMesh and meshPhi mturcios777 OpenFOAM Programming & Development 0 May 28, 2012 21:01


All times are GMT -4. The time now is 04:57.