View Issue Details

IDProjectCategoryView StatusLast Update
0002989OpenFOAMBugpublic2018-06-22 13:55
ReportermaHein Assigned Tohenry  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionnot fixable 
PlatformLinuxOSUbuntuOS Version17.10
Summary0002989: scalarFIxedValueConstraint for phase fraction
DescriptionUsing the scalarFixedValueConstraint in fvOptions for the phase fraction alpha in multiphase flows does limit alpha in any way.
Steps To Reproduce1) Copy dambreak tutorial case for interFoam
2) Create fvOptions with scalarFixedValueConstraint (see attached file)
3) Run case
Additional InformationChanging the field name from alpha to alpha1 or alpha.water does not help.
TagsNo tags attached.

Activities

maHein

2018-06-22 13:41

reporter  

fvOptions (1,073 bytes)   
/*--------------------------------*- C++ -*----------------------------------*\
| =========                 |                                                 |
| \\      /  F ield         | OpenFOAM: The Open Source CFD Toolbox           |
|  \\    /   O peration     | Version:  5                                     |
|   \\  /    A nd           | Web:      www.OpenFOAM.org                      |
|    \\/     M anipulation  |                                                 |
\*---------------------------------------------------------------------------*/
FoamFile
{
    version     2.0;
    format      ascii;
    class       dictionary;
    location    "constant";
    object      fvOptions;
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

    noPhaseFraction
    {
        type            scalarFixedValueConstraint;
        active          yes;

        selectionMode   all;

        fieldValues
        {
            alpha       0;
        }
    }

// ************************************************************************* //
fvOptions (1,073 bytes)   

henry

2018-06-22 13:55

manager   ~0009812

> Using the scalarFixedValueConstraint in fvOptions for the phase fraction alpha in multiphase flows does limit alpha in any way.

Correct, it is not currently possible to constrain the phase-fraction in this manner as it has serious implications for conservation and boundedness.

Issue History

Date Modified Username Field Change
2018-06-22 13:41 maHein New Issue
2018-06-22 13:41 maHein File Added: fvOptions
2018-06-22 13:55 henry Assigned To => henry
2018-06-22 13:55 henry Status new => closed
2018-06-22 13:55 henry Resolution open => not fixable
2018-06-22 13:55 henry Note Added: 0009812