CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   How to specify mixingPlane averaging scheme for a field (https://www.cfd-online.com/Forums/openfoam-solving/223952-how-specify-mixingplane-averaging-scheme-field.html)

.bastian February 3, 2020 04:16

How to specify mixingPlane averaging scheme for a field
 
Hello.

For a mixing plane in my actual casre, I would like to set each averaging scheme separately.
So I commented out the default option and try to set each point separately.
However, I have problems setting the scheme for rho*U.


Starting from the error message:
Code:

--> FOAM FATAL IO ERROR:
Cannot find mixing type for field (rho*U)
Please specify in fvSchemes in mixingPlane, under field name
Available types are
6
(
fluxAveraging
uniformValue
unknown
uniformGradient
zeroGradient
areaAveraging
)

Accordingly in fvSchemes i've tried the following notations specifying the field rhoU, but nothing of these worked:
Code:

rho*U              fluxAveraging;
rhoU              fluxAveraging;
(rho,U)            fluxAveraging;
field(rho*U)      fluxAveraging;
field(rhoU)        fluxAveraging;
field(rho,U)      fluxAveraging;

For other Values it looks like:
Code:

mixingPlane
{
    //default  unknown;
    p        areaAveraging;
    U        fluxAveraging;
    rho      fluxAveraging;
    T        fluxAveraging;
    k        fluxAveraging;
    episilon fluxAveraging;
 }

Has anyone an idea how to specify the field rho*U in this context?


All times are GMT -4. The time now is 06:45.