-
-
July 5, 2024 at 4:55 pm
Dubey92
SubscriberHi 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 -
July 9, 2024 at 12:46 pm
Rob
Forum ModeratorThe 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.Â
-
- The topic ‘Mass Source Term in the Continuity Equation’ is closed to new replies.
-
3241
-
1031
-
969
-
859
-
798
© 2025 Copyright ANSYS, Inc. All rights reserved.