CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (http://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Pass a variable from a class to a subequation in the main solver (http://www.cfd-online.com/Forums/openfoam-solving/68026-pass-variable-class-subequation-main-solver.html)

lord_kossity September 3, 2009 12:03

Pass a variable from a class to a subequation in the main solver
 
Hi all!

I'm trying to combine two solvers, namely a VoF solver and a particle tracking solver.

The VoF solver evolved from rasInterFoam, the particle tracking solver from dieselFoam. At the moment I'm stuck at the point where the transfer from lagrangian to eulerian point of view takes place.

The application is a drop impinging on a solid surface. I am able to print out where the deletion of the particle occurs and to manually insert a source term to the VoF-method. Of course this should be automated. Therefore I need to transfer the value "depositionCell" from the wall model in the dieselSpray class to the alphaEqn in the interFoam solver. How is that feasible?

Best,
Andreas


All times are GMT -4. The time now is 12:21.