View Issue Details

IDProjectCategoryView StatusLast Update
0001388OpenFOAMBugpublic2022-05-18 11:09
Reporteruser863Assigned Towill  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformlinuxOSredhatOS Version6.4
Fixed in Versiondev 
Summary0001388: mass flow of AMI1 and AMI2 do not match in pimpleDyMFoam/propeller tutorial
DescriptionTake the tutorial
incompressible/pimpleDyMFoam/propeller
and inspect the mass flow of AMI1 and AMI2

sum(AMI1) for phi = -1.79746e-09

sum(AMI2) for phi = 4.01012e-05

there are not the same. What is the reason of the difference? Why the 2 massflow are not identical?
Steps To Reproduce1) open the tutorial incompressible/pimpleDyMFoam/propeller/
and in controlDict add the two following blocks to get the massFlow of AMI1 and AMI2

functions
{
    #include "readFields"
    #include "Q"
    #include "surfaces"
    #include "forces"
    massFlow_AMI1
    {
        type faceSource;
        functionObjectLibs ("libfieldFunctionObjects.so");
        outputControl timeStep;
        log true;
        // Output field values as well
        valueOutput true; // false;
        source patch;
        sourceName AMI1;
        operation sum;
        surfaceFormat vtk;
        fields
        (
            phi
        );
     }
    massFlow_AMI2
    {
        type faceSource;
        functionObjectLibs ("libfieldFunctionObjects.so");
        outputControl timeStep;
        log true;
        // Output field values as well
        valueOutput true; // false;
        source patch;
        sourceName AMI2;
        operation sum;
        surfaceFormat vtk;
        fields
        (
            phi
        );
     }
}


2) launch the Allrun and inspect the log.pimpleDyMFoam file, you will see that the AMI1 and AMI2 massFlow do not match.
TagsAMI

Activities

will

2022-05-18 11:09

manager   ~0012590

Numerical issues with AMI-based patch couplings have been resolved by the new Non-Conformal Coupled (NCC) development. See the following commit for explanation, and instructions for how to use NCC and convert cases from AMI.

https://github.com/OpenFOAM/OpenFOAM-dev/commit/569fa31d09f98e29d1aaf84d40bb16043f104ec6

Issue History

Date Modified Username Field Change
2014-09-01 06:03 user863 New Issue
2014-12-29 18:41 wyldckat Tag Attached: AMI
2022-05-18 11:09 will Assigned To => will
2022-05-18 11:09 will Status new => resolved
2022-05-18 11:09 will Resolution open => fixed
2022-05-18 11:09 will Fixed in Version => dev
2022-05-18 11:09 will Note Added: 0012590