Skip to content

BUG: DEShybrid yields blending-factor fields different than blendingFactor FO

Summary

Found and explained by @Chiara.

The blending factor fields produced by DESHybrid scheme and other schemes + blendingFactor function object are opposite to each other. e.g.:

image

Example case

The figure was created from the periodicHill tutorial, adding the following to the controlDict:

DebugSwitches
{
    blendedSchemeBase 1;
}

functions
{
    blendingFactorFO
    {
        // Mandatory entries
        type            blendingFactor;
        libs            (fieldFunctionObjects);
        field           U;

        // Optional (inherited) entries
        result          blendingFactorField;
        region          region0;
        enabled         true;
        log             true;
        writeControl    writeTime;
    }

...

}

Environment information

HEAD: ea2bf041

Edited by Kutalmış Berçin