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/)
-   -   (1|A(U)) in twoPhaseEulerFoam (https://www.cfd-online.com/Forums/openfoam-solving/118203-1-u-twophaseeulerfoam.html)

Aurora May 22, 2013 15:53

(1|A(U)) in twoPhaseEulerFoam
 
Dear Foamers,

I have been trying to use the twoPhaseEulerFoam solver, but when I set up my own case, I often encounter the error message "request for volscalarfield (1|A(U)) failed" for no obvious reason.

This is confusing because the velocities used in this solver are Ua and Ub, corresponding to the two phases separately, and there should not be U in this solver...

This is how I specified Ua (Ub is similar):

boundaryField
{
liquidInlet
{
type fixedValue;
value uniform (0 0 0);
}

leftGasInlet
{
type fixedValue;
value uniform (0.191831 -0.0442808 0);
}
rightGasInlet
{
type fixedValue;
value uniform (-0.0862924 0.176956 0);
}
outlet
{
type zeroGradient;
}
walls
{
type fixedValue;
value uniform ( 0 0 0 );
}
}

Any suggestions on how to solve this would be highly appreciated!

Thanks

Aurora May 22, 2013 15:59

Btw, I was able to get the solver to work on a 2D mesh with the same type of boundary conditions, but I'm having problem with a 3D case now with the above-mentioned error.


All times are GMT -4. The time now is 14:20.