CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM (
-   -   BC for Lagrangian Particles (

moritzhoefert December 10, 2010 04:36

BC for Lagrangian Particles

I am trying to implement an additional BC ("PatchInteraction") for Lagrangian multiphase Particles. The particles are composed of a liquid and a solid phase. Depending on the fraction of the liquid phase I want them to stick to or to be reflected by the wall.

I think I already identified the file that I need to modify:
OpenFOAM/cfduser7-1.7.x/src/lagrangian/intermediate/lnInclude/StandardWallInteraction.C where the function Foam::StandardWallInteraction<CloudType>::correct( ...) is defined.

Most of the necessary data is passed to correct() except the fraction of the liquid phase which is (probably) available in OpenFOAM/cfduser7-1.7.x/src/lagrangian/intermediate/lnInclude/SingleMixtureFraction.C.

Could anyone give me some advice?
* Am I trying to access the correct variables?
* How can I make the fraction of the liquid phase available in the function Foam::StandardWallInteraction<CloudType>::correct( ...) ?
* Any other hints?

Thanks a lot in advance. Best,

All times are GMT -4. The time now is 16:39.