Fluids

Fluids

Topics related to Fluent, CFX, Turbogrid and more.

Mass Source Term in the Continuity Equation

    • Dubey92
      Subscriber

      Hi everyone,
      I want to add a mass source term in the continuity equation for a two phase VOF problem. One phase is solid and the other phase is a gas. The mass source added is same as the solid phase. Can someone please tell which macro to use, DEFINE_SOURCE or DEFINE_DPM_SOURCE? I have read in a paper that it is an injection proper using DPM. But how to add a mass source in the continuity equation for a two phase problem?

      I have tried DEFINE_DPM_SOURCE when using interaction with continuous phase but if I use DEFINE_SOURCE, I don't understand where to add the UDF?
      Any help is much appreciated. Thanks 

    • Rob
      Forum Moderator

      The DPM_source is for when you want to add material into cells from the DPM trajectories. To "magically" add fluid mass you're wanting DEFINE_SOURCE. However, with VOF there are typically two or more fluids, not a solid. If you're using the solidification/melting model the frozen fluid is still a fluid: adding an amount of the frozen fluid may cause problems though. 

Viewing 1 reply thread
  • The topic ‘Mass Source Term in the Continuity Equation’ is closed to new replies.