CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Running, Solving & CFD (https://www.cfd-online.com/Forums/openfoam-solving/)
-   -   Mass sink and mass source in eulerTwoPhase application (https://www.cfd-online.com/Forums/openfoam-solving/60122-mass-sink-mass-source-eulertwophase-application.html)

 newbee April 19, 2006 02:08

Hi! Im trying to do a simul

Hi!

Im trying to do a simulation where water is heated to vapor. To do This im planing on using the eulerTwoPhase application with added heat equations. But since the water becomes vapor att the patches difined as heat sources, I need to take away water in the outer most cells i.e. mass sinks and create vapor in the same cells i.e. mass sources.

Does anyone know how to create such sources/sinks

Thanks
/Erik

 vatant April 28, 2006 19:24

Hello erik: Treat the mass

Hello erik:
Treat the mass and sink sources as momentum sources and add/subtract their values from the momentum equations. Its a pseudo approach but kinda throws light on the physicshttp://www.cfd-online.com/OpenFOAM_D...part/happy.gif

Vatant

 newbee May 3, 2006 06:42

Thanks a lot! I would like

Thanks a lot!

I would like to make this phase shift at one of the walls. Do you also know how to edit this so that it looks like vapor is created at the walls and not with a even distribution on the cross section area? i.e. I probably have make these equations on the cells closest to the wall.

best regards
/Erik Arlemark

 newbee July 9, 2006 07:15

Hello again, I got a bit di

Hello again,

I got a bit disoriented when trying to make out the code for twoPhaseEulerFoam. Could you or perhaps someone else help me find the momentum equation (is it the one in Ueqns.H?) and maybe point out where to add resp. subract with mass sources in order to simulate creation of vapor.

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