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

Simulation avec interface AMI, maillage SALOME

Register Blogs Community New Posts Updated Threads Search

 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old   October 1, 2021, 11:32
Default Simulation avec interface AMI, maillage SALOME
  #1
New Member
 
Join Date: Jun 2021
Posts: 6
Rep Power: 4
worldsheep is on a distinguished road
Hello everyone,

I am simulating a rotor-stator system using different methods starting from the examples provided in openfoam (ex. mixerVesselAMI2D).

Every time I use an AMI interface I get the following warings:

Code:
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 414    
Invalid normal for source face 0 points 3((0.00193882 0.0019985 -0.00016) (0.00188455 0.00193079 -0.00016) (0.00185038 0.00199937 -0.00016)) target face
41675 points 3((-0.00230661 0.00266591 0.00065) (-0.00225043 0.00274269 0.00065) (-0.00222007 0.00264246 0.00065))
This is independent of the solver. I get the same error for:
  • Stationary MRF simulations using AMI solved with simpleFoam
  • Transient sumulations using AMI solved with pimpleFoam

My mesh is generated using Salome. I mesh the rotor region and the stator region separately with netgen. To make it conformal at time zero, I import the 1D-2D elements from the rotor to mesh the stator and then make a compound with the options below:
  • Processing identical groups -> Unite
  • Create groups from input objects -> unchecked
  • Merge coincident nodes and elements -> unckeked

The mesh is then exported using: https://github.com/nicolasedh/salomeToOpenFOAM

In the boundary file:

Code:
    AMI_in
    {
        type            cyclicAMI;
        inGroups        1(cyclicAMI);
        nFaces          41676;
        startFace       4200354;
        matchTolerance  0.0001;
        transform       noOrdering;
        neighbourPatch  AMI_out;
        AMIMethod       faceAreaWeightAMI;
        restartUncoveredSourceFace 1;
    }
    AMI_out
    {
        type            cyclicAMI;
        inGroups        1(cyclicAMI);
        nFaces          41676;
        startFace       4459504;
        matchTolerance  0.0001;
        transform       noOrdering;
        neighbourPatch  AMI_in;
        AMIMethod       faceAreaWeightAMI;
        restartUncoveredSourceFace 1;
    }
In my velocity boundary conditions:

Code:
    AMI_in
    {
        type            cyclicAMI;
        value           uniform (0 0 0);
    }
    AMI_out
    {
        type            cyclicAMI;
        value           uniform (0 0 0);
    }
In my pressure boundary condition:

Code:
    AMI_in
    {
        type            cyclicAMI;
        value           uniform 0;
    }
    AMI_out
    {
        type            cyclicAMI;
        value           uniform 0;
    }
Has anyone an idea why is this warining generated?
worldsheep is offline   Reply With Quote

 

Tags
ami, mrf, rotor, stator


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
Wind turbine simulation Saturn CFX 58 July 3, 2020 01:13
Turbomachinery Mass imbalance sheaker CFX 12 September 5, 2019 08:09
Radiation in semi-transparent media with surface-to-surface model? mpeppels CFX 11 August 22, 2019 07:30
How to use the CFX periodic interface zhihuawan CFX 61 January 15, 2018 16:20
Convective Heat Transfer - Heat Exchanger Mark CFX 6 November 15, 2004 15:55


All times are GMT -4. The time now is 21:00.