CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Pre-Processing

CyclicAMI unable to set target face for source face

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2023, 05:21
Default CyclicAMI unable to set target face for source face
  #1
Member
 
Vinzenz Götz
Join Date: Mar 2021
Location: Munich, Germany
Posts: 31
Rep Power: 6
Vinzmann is on a distinguished road
Hello everyone,

I am currently trying to save computing power by only simulating one third of my axisymmetric (6-way) case. For this I first tried to add cyclicAMI Boundary conditions in snappyHexMesh.

SnappyHexMesh's output looks something like this when it gets to match the cyclicAMI faces:
Code:
AMI: Creating addressing and weights between 19082 source faces and 27777 target faces
--> FOAM Warning :
    From virtual void Foam::faceAreaWeightAMI::calcInterArea(Foam::label, Foam::label, Foam::scalar&, Foam::vector&) const
    in file AMIInterpolation/AMIInterpolation/faceAreaWeightAMI/faceAreaWeightAMI.C at line 424
    Invalid normal for source face 2374 points 4((0.0027848 -0.005 -0.0025) (0.001760275 -0.005 -0.0025) (0.001760275 -0.00625 -0.0025) (0.0027848 -0.00625 -0.0025)) target face 15319 points 4((-0.000573182015 -0.00730039552 -0.0025) (0.000631515189 -0.00696692192 -0.0025) (0.000358193551 -0.00597952799 -0.0025) (-0.000846503653 -0.0063130016 -0.0025))
This goes on for many times and ends with:

Code:
--> FOAM FATAL ERROR: (openfoam-2212)
Unable to set target face for source face 19081

    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 361.
This happens for snappyHexMesh in parallel and in serial mode.

If I set my cyclicAMI boundaries as walls in snappyHexMesh, it meshes fine. After reconstructing, setting the patches from wall to cyclicAMI with createPatch (this runs fine and gives no errors), decomposePar throws the exact same error, namely:

Code:
AMI: Creating addressing and weights between 19082 source faces and 27777 target faces
--> FOAM FATAL ERROR: (openfoam-2212)
Unable to set target face for source face 19081

    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 361.
When skipping createPatch, decomposing and then changing the processor*/0/* files to cyclicAMI for the two relevant patches, the solver throws the exact same error as decomposePar above.

Can somebody please explain why this is happening and what I am doing wrong? This would be so helpful.

Best regards,
Vinz
Vinzmann is offline   Reply With Quote

Old   January 26, 2025, 11:26
Default
  #2
New Member
 
Giorgia
Join Date: Jan 2025
Posts: 2
Rep Power: 0
gp24 is on a distinguished road
Hello, I have encountered the same issue. Did you find a solution?
gp24 is offline   Reply With Quote

Old   February 12, 2025, 08:47
Default
  #3
Senior Member
 
Sakun
Join Date: Nov 2019
Location: United Kingdom
Posts: 162
Rep Power: 7
Sakun is on a distinguished road
Quote:
Originally Posted by gp24 View Post
Hello, I have encountered the same issue. Did you find a solution?
What is your meshing software ? did you define length between 2 faces in SI units correctly ?
Sakun is offline   Reply With Quote

Old   February 12, 2025, 13:09
Default
  #4
New Member
 
Giorgia
Join Date: Jan 2025
Posts: 2
Rep Power: 0
gp24 is on a distinguished road
Quote:
Originally Posted by Sakun View Post
What is your meshing software ? did you define length between 2 faces in SI units correctly ?
I am using snappyHexMesh, I defined correctly the length between the faces. I usually start by defining in blockMesh the periodic patches as cyclic and then with createPatch I redefine them as cyclicAMI, I have tried defining it directly as cyclicAMI but the issue persists.
gp24 is offline   Reply With Quote

Reply

Tags
cyclicami, decomposepar, parallel, snappyhexmesh

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[snappyHexMesh] snappyHexMesh does not detect highly skewed faces? ptpacheco OpenFOAM Meshing & Mesh Conversion 1 January 4, 2022 13:37
[blockMesh] Internal walls of zero thickness anger OpenFOAM Meshing & Mesh Conversion 23 February 6, 2020 19:25
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 15:11
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 08:36
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 12:55


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