CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Bugs (
-   -   TwoPhaseEulerFoam and slip BC (

hemph January 29, 2007 06:07

Problem: If the slip-boundary
Problem: If the slip-boundary condition is applied to one of the phases at a patch, the flux may still be different from zero. In my particluar case, where settling particles are simulated, the slip B.C applied at the bottom of the domain causes particles to exit.

Possible solution: I added a simple test to phaseModel.C,

isType<fixedvaluefvpatchvectorfield>(U_.boundaryFi eld()[i]) ||
(U_.boundaryField()[i].type() == "slip") )
phiTypes[i] = fixedValueFvPatchScalarField::typeName;

setting the flux to fixedValue for a slip B.C, which helped the result. This might have other implications which I am not aware of at the moment. This issue was discussed in the thread:


All times are GMT -4. The time now is 13:46.