CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Pre-Processing (https://www.cfd-online.com/Forums/openfoam-pre-processing/)
-   -   Boundary Condition: target mass in system? (https://www.cfd-online.com/Forums/openfoam-pre-processing/175908-boundary-condition-target-mass-system.html)

sepponen August 8, 2016 07:49

Boundary Condition: target mass in system?
 
Hello,

I would like to implement a boundary condition in a two phase simulation (gas and Eulerian particle phase) to conserve the mass of particle phase in the system. The mass flow of solid phase (or the volume fraction of solid phase) at the inlet should be based on a target mass in the system like following:

Inlet mass flow = target mass in the system - mass in the system at the current time step.

Has anyone done a similar boundary condition? I guess this can't be done with groovyBC so if anyone has done something similar, it would be helpful.

Thank you for your attention,
Simo


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