I am trying to solve a multi-phase model with evaporation happening. I have already developed a theoretical model for the evaporation (different from Lee's Evaporation-Condensation model). How to hook the volume fraction equation source term in fluent?

# Source term in volume fraction equation

- 21 Views
- Last Post 4 weeks ago
- Topic Is Solved

Hi,

The VoF equation is a continuity equation for volume fraction and contains mass transfer terms in the RHS. The source term you are developing through a UDF has to be a mass source term. To include the effect of these terms, you have to hook the term to the Phase Interaction dialog box.

Please have a look at the following sections in the Fluent Theory Guide (FTG) and Fluent User's Guide (FUG).

- Section 26.2.10 - Including Mass Transfer Effects (FUG).
- Section 18.3.4 Volume Fraction Equation (FTG).
- Section 18.7 Modeling Mass Transfer in Multiphase Flows (FTG).

I hope this answers your question.

Thanks.

Best,

Karthik

Thanks for the help though I used a different approach while solving the problem. I used a source terms for both my phases in cell zone conditions. It is working but is that the correct approach?

And one more thing I wanted to ask was that, I want to initialize a flow as an inverted annular film flow, while doing that I am able to initialize the volume fraction correctly but wasn't able to link the temperature and velocity profile. Even though I have used a DEFINE_INIT function, the GUI for the initialization shows the default values. So which values is the solution using?

please check function hook. here you may need to hook your udf for initialization.

I have hooked the function already and yet it initializes the flow with different values than the given function in UDF. Is there something to do with patching?

Define Init overrides any field initialization. If temperature is defined in an Init UDF than it would take precedence.

Best regards,

Amine

##### Search

##### Change Language

##### Categories

##### This Weeks High Earners

- peteroznewman 68
- abenhadj 65
- jj77 38
- FrankD 26
- Georgiro 25
- jcallery 24
- vamsikrishnachowduru 20
- roshnatk 20
- raul.raghav 19
- vganore 18

##### Hot Topics

- 1 Hi, I have a problem to install the license and see my problem, I am sure you can help me. Thanks
- 2 Could not connect to license server: 54529@localhost The handle is invalid. .
- 3 Problem with the Student Version
- 4 Convergence of adaptive mesh refinement tool
- 5 Structural-Thermal analysis error : element type