CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   BC for Lagrangian Particles (http://www.cfd-online.com/Forums/openfoam/82967-bc-lagrangian-particles.html)

moritzhoefert December 10, 2010 04:36

BC for Lagrangian Particles
 
Hello,

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,
Moritz


All times are GMT -4. The time now is 02:10.