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 Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 25, 2023, 04: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: 5
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

Reply

Tags
cyclicami, decomposepar, parallel, snappyhexmesh


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 12:37
[blockMesh] Internal walls of zero thickness anger OpenFOAM Meshing & Mesh Conversion 23 February 6, 2020 18:25
[blockMesh] BlockMesh FOAM warning gaottino OpenFOAM Meshing & Mesh Conversion 7 July 19, 2010 14:11
[blockMesh] BlockMeshmergePatchPairs hjasak OpenFOAM Meshing & Mesh Conversion 11 August 15, 2008 07:36
fluent add additional zones for the mesh file SSL FLUENT 2 January 26, 2008 11:55


All times are GMT -4. The time now is 01:07.